CN113329247A - Screen projection method and system - Google Patents

Screen projection method and system Download PDF

Info

Publication number
CN113329247A
CN113329247A CN202110496307.5A CN202110496307A CN113329247A CN 113329247 A CN113329247 A CN 113329247A CN 202110496307 A CN202110496307 A CN 202110496307A CN 113329247 A CN113329247 A CN 113329247A
Authority
CN
China
Prior art keywords
screen projection
target
receiving module
screen
module
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110496307.5A
Other languages
Chinese (zh)
Inventor
王知明
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xian Wanxiang Electronics Technology Co Ltd
Original Assignee
Xian Wanxiang Electronics Technology Co Ltd
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 Xian Wanxiang Electronics Technology Co Ltd filed Critical Xian Wanxiang Electronics Technology Co Ltd
Priority to CN202110496307.5A priority Critical patent/CN113329247A/en
Publication of CN113329247A publication Critical patent/CN113329247A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/41Structure of client; Structure of client peripherals
    • H04N21/414Specialised client platforms, e.g. receiver in car or embedded in a mobile appliance
    • H04N21/41407Specialised client platforms, e.g. receiver in car or embedded in a mobile appliance embedded in a portable device, e.g. video client on a mobile phone, PDA, laptop
    • 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 stream to a specific local network, e.g. a Bluetooth® network
    • H04N21/43637Adapting the video stream to a specific local network, e.g. a Bluetooth® network involving a wireless protocol, e.g. Bluetooth, RF or wireless LAN [IEEE 802.11]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • General Engineering & Computer Science (AREA)
  • User Interface Of Digital Computer (AREA)
  • Controls And Circuits For Display Device (AREA)
  • Transforming Electric Information Into Light Information (AREA)

Abstract

The invention provides a screen projection method and a screen projection system, which relate to the technical field of screen projection, wherein the method comprises the steps that a receiving module acquires a first operation instruction; the receiving module sends the first operating instruction to the virtual machine, so that the virtual machine sends a mirror image screen projection instruction to the receiving module when the first operating instruction is determined to be a mirror image screen projection request; the receiving module responds to the mirror image screen projection instruction to obtain target screen projection equipment; the receiving module receives a target coding image sent by the virtual machine; and the receiving module sends the target coded image to the target screen projection equipment, so that the target screen projection equipment decodes and displays the target coded image. The screen projection function can be realized based on the basic architecture of the cloud terminal equipment.

Description

Screen projection method and system
Technical Field
The disclosure relates to the technical field of screen projection, in particular to a screen projection method and system.
Background
In the existing smart phone, screen projection is a very common function, and is divided into two modes according to different contents of projection, wherein one mode is push-type screen projection, and the other mode is mirror-image screen projection. The screen pushing and throwing means that after the smart phone is connected with the screen throwing equipment, the address of the screen throwing content is sent to the screen throwing equipment, and the screen throwing equipment continuously acquires the screen throwing content from the address to realize screen throwing; the mirror image screen projection refers to that the screen picture of the smart phone is directly pushed to screen projection equipment to be displayed.
In the related art, when the mirror image screen projection is realized, the screen is continuously recorded on the smart phone, and then the recorded video is sent to the screen projection equipment for display.
However, the screen recording method in the above technology is applied to the existing smart phone, and the working mode of the cloud phone is completely different from that of the existing smart phone, so the screen recording method is not suitable for the cloud phone scene.
Disclosure of Invention
The embodiment of the disclosure provides a screen projection method and a screen projection system, which can solve the problem that a screen recording method in the prior art is not suitable for a cloud mobile phone scene. The technical scheme is as follows:
according to a first aspect of the embodiments of the present disclosure, there is provided a screen projection method applied to a cloud terminal device, where the cloud terminal device includes a receiving module, and the receiving module is connected to a virtual machine in a cloud server, and the method includes:
the receiving module acquires a first operation instruction;
the receiving module sends the first operating instruction to the virtual machine, so that the virtual machine sends a mirror image screen projection instruction to the receiving module when the first operating instruction is determined to be a mirror image screen projection request;
the receiving module responds to the mirror image screen projection instruction to obtain target screen projection equipment;
the receiving module receives a target coding image sent by the virtual machine;
and the receiving module sends the target coded image to the target screen projection equipment, so that the target screen projection equipment decodes and displays the target coded image.
The receiving module sends the acquired first operating instruction to the virtual machine, the virtual machine sends a mirror image screen projection instruction to the receiving module when determining that the first operating instruction is a mirror image screen projection request, and the receiving module obtains target screen projection equipment when receiving the mirror image screen projection instruction and sends a target coded image received from the virtual machine to the target screen projection equipment, so that the target screen projection equipment decodes and displays the target coded image. It can be known that the screen projection function can be realized based on the basic architecture of the cloud terminal equipment.
In one embodiment, the cloud terminal device further includes a communication module and a first display module, and the acquiring a target screen projection device includes:
the receiving module sends a screen projection device search request to the communication module, so that the communication module sends the searched device information of at least one screen projection device to the receiving module;
the receiving module sends the device information of the at least one screen-projectable device to the virtual machine, so that the virtual machine generates a screen-projectable device list according to the device information of the at least one screen-projectable device and sends the screen-projectable device list to the receiving module;
the receiving module sends the screen-projectable equipment list to a first display module, so that the first display module displays the screen-projectable equipment list;
and the receiving module acquires the target screen projection equipment according to the screen projection equipment list.
In one embodiment, the obtaining, by the receiving module, the target screen-casting device according to the list of screen-casting devices includes:
the receiving module acquires a second operation instruction; the second operation instruction is a device selection instruction based on the screen-projectable device list;
the receiving module sends the second operation instruction to the virtual machine, so that when the virtual machine identifies the equipment information of the target screen projection equipment in the second operation instruction, the equipment information of the target screen projection equipment is sent to the receiving module;
and the receiving module determines the target screen projection equipment according to the equipment information of the target screen projection equipment.
In one embodiment, the sending the target encoded image to the target screen projection device comprises:
the receiving module sends the equipment information of the target screen projection equipment to the communication module, so that the communication module sends a pairing request to the target screen projection equipment according to the equipment information, establishes connection with the target screen projection equipment when receiving a pairing permission instruction sent by the target screen projection equipment, and sends a connection success message to the receiving module;
and when the receiving module receives the connection success message, the target coding image is sent to the target screen projection equipment through the communication module.
In one embodiment, the receiving the target encoded image sent by the virtual machine includes:
the receiving module acquires a target operation request;
the receiving module sends the target operation request to the virtual machine, so that the virtual machine processes the target operation request to obtain a target image, and sends a target coded image obtained by coding the target image to the receiving module;
the receiving module receives the target encoded image.
According to a second aspect of the embodiments of the present disclosure, a screen projection system is provided, where the system includes a cloud server, a screen projection device, and the cloud terminal device according to any of the embodiments; the virtual machine is positioned on the cloud server, the cloud terminal equipment is connected with the virtual machine, and the screen projection equipment is connected with the cloud terminal equipment;
the cloud terminal equipment is used for acquiring a first operation instruction and sending the first operation instruction to the virtual machine;
the virtual machine is used for sending a mirror image screen projection instruction to the cloud terminal equipment when the first operation instruction is determined to be a mirror image screen projection request;
the cloud terminal equipment is also used for responding to the mirror image screen projection instruction and acquiring target screen projection equipment;
the cloud terminal equipment is also used for receiving a target coding image sent by the virtual machine and sending the target coding image to the target screen projection equipment;
and the target screen projection equipment is used for decoding and displaying the target coding image.
The utility model provides a screen projecting system, cloud terminal equipment sends the first operating instruction who obtains to the virtual machine, and the virtual machine sends the mirror image to the cloud terminal equipment when confirming that first operating instruction is the mirror image and throws the screen request, and the cloud terminal equipment obtains target screen projecting equipment when receiving the mirror image and throws the screen instruction to send the target code image that receives from the virtual machine to target screen projecting equipment, make target screen projecting equipment decode the target code image and show. It can be known that the screen projection function can be realized based on the basic architecture of the cloud terminal equipment.
In one embodiment, the cloud terminal device comprises a receiving module, a communication module and a first display module, wherein the communication module and the first display module are connected with the receiving module;
the receiving module is used for sending the first operating instruction to the virtual machine;
the receiving module is further configured to send a screen projection device search request to the communication module when receiving the mirror image screen projection instruction sent by the virtual machine;
the communication module is used for receiving the screen projection equipment search request, searching equipment information of at least one screen projection equipment and sending the equipment information of the at least one screen projection equipment to the receiving module;
the receiving module is further configured to receive device information of the at least one screen-projectable device, and send the device information of the at least one screen-projectable device to the virtual machine;
the virtual machine is further configured to generate a screen-projectable device list according to the device information of the at least one screen-projectable device, and send the screen-projectable device list to the receiving module;
the receiving module is further configured to receive the screen-projectable device list and send the screen-projectable device list to the first display module;
the first display module is used for displaying the screen-projectable equipment list;
the receiving module is further configured to obtain the target screen-projecting device according to the screen-projectable device list.
In one embodiment, the receiving module is specifically configured to obtain a second operation instruction, and send the second operation instruction to the virtual machine;
the virtual machine is further configured to send the device information of the target screen projection device to the receiving module when the device information of the target screen projection device is identified in the second operation instruction;
the receiving module is specifically configured to determine the target screen projection device according to the device information of the target screen projection device.
In one embodiment, the receiving module is further configured to send device information of the target screen projection device to the communication module;
the communication module is further configured to send a pairing request to the target screen projection device according to the device information, establish connection with the target screen projection device when a pairing permission instruction sent by the target screen projection device is received, and send a connection success message to the receiving module;
the receiving module is further configured to send the target encoded image to the target screen projection device through the communication module when the connection success message is received.
In one embodiment, the screen projection device comprises a screen projection module, a decoding module and a second display module, wherein the screen projection module and the second display module are connected with the decoding module;
the screen projection module is used for receiving the pairing request sent by the communication module, determining whether pairing is allowed according to the pairing request, and sending a pairing allowing instruction to the communication module when pairing is allowed;
the communication module is further used for establishing connection with the target screen projection equipment when the pairing permission instruction is received, and sending a connection success message to the receiving module;
the receiving module is further configured to send the target encoded image to the screen projection module through the communication module when the connection success message is received;
the screen projection module is also used for sending the target coding image to the decoding module;
the decoding module is used for decoding the target coding image and then sending the decoded target coding image to the second display module;
and the second display module is used for displaying the decoded target coding image.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
Fig. 1 is a flowchart of a screen projection method provided by an embodiment of the present disclosure;
fig. 2 is a schematic structural diagram of a screen projection system provided by an embodiment of the present disclosure;
fig. 3 is a schematic structural diagram of a cloud terminal device according to an embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of a cloud terminal device provided in an embodiment of the present disclosure;
fig. 5 is a schematic structural diagram of a screen projection device provided by an embodiment of the present disclosure;
fig. 6 is a schematic structural diagram of a screen projection device provided in an embodiment of the present disclosure.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
The disclosed embodiment provides a screen projection method, as shown in fig. 1, which is applied to a cloud terminal device, the cloud terminal device includes a receiving module, the receiving module is connected with a virtual machine in a cloud server, and the method includes the following steps:
step 101, the receiving module obtains a first operation instruction.
For example, when a user needs to use a screen projection function, a first operation instruction can be generated through touch operation on a screen of the cloud terminal device; the method can also be used for generating a first operation instruction by pressing a button which is arranged on the cloud terminal equipment and used for initiating mirror image screen projection, so that a receiving module of the cloud terminal equipment obtains the first operation instruction.
102, the receiving module sends the first operating instruction to the virtual machine, so that the virtual machine sends a mirror image screen projection instruction to the receiving module when determining that the first operating instruction is a mirror image screen projection request.
In an example, when the receiving module obtains the first operation instruction, the first operation instruction is sent to a virtual machine connected with the receiving module in the cloud server, when the virtual machine receives the first operation instruction, the virtual machine analyzes the first operation instruction, when the first operation instruction is determined to be a mirror image screen projection request, a mirror image screen projection instruction is generated, and the mirror image screen projection instruction is returned to the receiving module.
And 103, the receiving module responds to the mirror image screen projection instruction to acquire target screen projection equipment.
Optionally, the cloud terminal device further includes a communication module and a first display module, and the receiving module sends a screen projection device search request to the communication module, so that the communication module sends device information of at least one searched screen projection device to the receiving module; the receiving module sends the device information of the at least one screen-projectable device to the virtual machine, so that the virtual machine generates a screen-projectable device list according to the device information of the at least one screen-projectable device and sends the screen-projectable device list to the receiving module; the receiving module sends the screen-projectable equipment list to a first display module, so that the first display module displays the screen-projectable equipment list; and the receiving module acquires the target screen projection equipment according to the screen projection equipment list.
Illustratively, when receiving a mirror image screen projection instruction, a receiving module sends a screen projection device search request to a communication module to trigger the communication module to search for the screen projection device, and when the communication module searches for at least one screen projection device, returns device information of the at least one screen projection device to the receiving module; when receiving the device information of at least one screen projection device, the receiving module sends the device information of the at least one screen projection device to a virtual machine which is correspondingly connected, the virtual machine generates a screen projection device list according to the device information of each screen projection device, and returns a coded image of the generated screen projection device list to the receiving module in the cloud terminal device, when receiving the coded image of the screen projection device list, the receiving module decodes the coded image of the screen projection device list and sends the decoded coded image to a first display module in the cloud terminal device, and the first display module displays the decoded screen projection device list. In addition, the device information of the screen-projectable device may be identification information, a name, and the like of the screen-projectable device, which is not limited in this disclosure.
Further, the receiving module may obtain the target screen-projecting device according to the screen-projectable device list in the following manner:
the receiving module acquires a second operation instruction; the receiving module sends the second operation instruction to the virtual machine, so that when the virtual machine identifies the equipment information of the target screen projection equipment in the second operation instruction, the equipment information of the target screen projection equipment is sent to the receiving module; and the receiving module determines the target screen projection equipment according to the equipment information of the target screen projection equipment.
Wherein the second operation instruction is an equipment selection instruction based on the screen-projectable equipment list.
For example, after the first display module displays the screen-projection device list, a user of the cloud terminal device may select a target screen-projection device to be projected according to device information in the displayed screen-projection device list, that is, click a position corresponding to the target screen-projection device, so that the receiving module obtains a second operation instruction for the target screen-projection device and sends the obtained second operation instruction to the virtual machine, the virtual machine identifies the second operation instruction when receiving the second operation instruction, and returns the device information of the target screen-projection device to the receiving module when identifying the device information of the target screen-projection device, so that the receiving module determines the target screen-projection device when receiving the device information of the target screen-projection device.
And 104, receiving the target coding image sent by the virtual machine by the receiving module.
Optionally, the receiving module obtains a target operation request; the receiving module sends the target operation request to the virtual machine, so that the virtual machine processes the target operation request to obtain a target image, and sends a target coded image obtained by coding the target image to the receiving module; the receiving module receives the target encoded image.
For example, a user may operate an application program, for example, a video application program, of the cloud terminal device, so that the receiving module obtains a target operation request (for example, a video playing operation) corresponding to the user operation, sends the obtained target operation request to the virtual machine, the virtual machine performs corresponding processing based on the target operation request to obtain a target image, encodes the target image to obtain a target encoded image, and finally returns the target encoded image to the receiving module, so that the receiving module receives the target encoded image based on the target operation request sent by the virtual machine.
And 105, the receiving module sends the target coded image to the target screen projection equipment, so that the target screen projection equipment decodes and displays the target coded image.
Optionally, the receiving module sends device information of the target screen projection device to the communication module, so that the communication module sends a pairing request to the target screen projection device according to the device information, establishes a connection with the target screen projection device when receiving a pairing permission instruction sent by the target screen projection device, and sends a connection success message to the receiving module; and when the receiving module receives the connection success message, the target coding image is sent to the target screen projection equipment through the communication module.
The screen projection equipment refers to a television with a screen projection function, large-screen equipment and the like.
Illustratively, when a receiving module determines a target screen projection device, device information of the target screen projection device is sent to a communication module, the communication module sends a pairing request to the target screen projection device according to the device information of the target screen projection device and waits for a pairing permission instruction of the target screen projection device, when the pairing permission instruction sent by the target screen projection device is received, connection is established with the target screen projection device, after the connection is established, a target coded image received from a virtual machine is sent to the communication module, the communication module sends the target coded image to the target screen projection device, and the target screen projection device decodes and displays the target coded image, so that screen projection is achieved.
It should be noted that the receiving module in the cloud terminal device is used for receiving the target encoded image sent by the corresponding virtual machine in the cloud server, decoding the received target encoded image, and sending the decoded target encoded image to the first display module for display, so that the desktop image of the cloud terminal device is displayed; when the screen is projected, the receiving module receives the target coded images, the target coded images are required to be directly sent to the communication module besides normal decoding display, the target coded images are used as screen projection contents and sent to target screen projection equipment through the communication module, and the target screen projection equipment decodes the target coded images and displays the decoded target coded images, so that screen projection is achieved.
The receiving module sends the acquired first operating instruction to the virtual machine, the virtual machine sends a mirror image screen projection instruction to the receiving module when determining that the first operating instruction is a mirror image screen projection request, and the receiving module obtains target screen projection equipment when receiving the mirror image screen projection instruction and sends a target coded image received from the virtual machine to the target screen projection equipment, so that the target screen projection equipment decodes and displays the target coded image. It can be known that the screen projection function can be realized based on the basic architecture of the cloud terminal equipment.
Fig. 2 is a frame diagram of a screen projection system provided in an embodiment of the present disclosure, where the screen projection system shown in fig. 2 includes a cloud server 201, a screen projection device 202, and a cloud terminal device 203 described in any of the above embodiments; the virtual machine 2011 is located on the cloud server 201, the cloud terminal device 203 is connected with the virtual machine 2011, and the screen projection device 202 is connected with the cloud terminal device 203.
The cloud terminal device 203 is configured to obtain a first operation instruction, and send the first operation instruction to the virtual machine 2011.
The virtual machine 2011 is configured to send a mirror image screen projection instruction to the cloud terminal device 203 when it is determined that the first operation instruction is a mirror image screen projection request.
The cloud terminal device 203 is further configured to respond to the mirror image screen projection instruction and obtain a target screen projection device.
The cloud terminal device 203 is further configured to receive the target encoded image sent by the virtual machine 2011, and send the target encoded image to the target screen projection device.
And the target screen projection equipment is used for decoding and displaying the target coding image.
Illustratively, the system comprises a screen projection device 202, a cloud server 201 and at least one cloud terminal device 203, wherein at least one virtual machine 2011 runs on the cloud server 201, the cloud server 201 allocates one virtual machine 2011 to each cloud terminal device 203, and the cloud terminal device 203 acquires corresponding application services by connecting the corresponding virtual machine 2011. Specifically, after the cloud terminal device 203 acquires the desktop image of the corresponding virtual 2011, the user generates a reverse control instruction by operating the desktop image, the cloud terminal device 203 sends the reverse control instruction to the corresponding virtual machine 2011, the virtual machine 2011 executes corresponding processing according to the reverse control instruction, and finally, the image corresponding to the processing result is sent to the cloud terminal device 203, and for the user, the same operation is performed locally on the cloud terminal device 203.
It should be noted that the cloud terminal device 203 may be a cloud mobile phone, a cloud computer, or the like, or may also be an intelligent terminal device equipped with a receiving module (R-side module), such as a mobile phone, a tablet computer, a PC, or the like, which is not limited in this disclosure.
Optionally, as shown in fig. 3, the cloud terminal device 203 includes a receiving module 2031, a communication module 2032, and a first display module 2033, where the communication module 2032 and the first display module 2033 are both connected to the receiving module 2031.
The communication module 2032 includes at least one of a WiFi (Wireless Fidelity ) module, a bluetooth module, and a ZigBee (ZigBee) communication module.
The receiving module 2031 is configured to send the first operation instruction to the virtual machine 2011.
The receiving module 2031 is further configured to send a screen projection device search request to the communication module 2032 when receiving the image screen projection instruction sent by the virtual machine 2011.
The communication module 2032 is configured to receive the screen-projection device search request, search for device information of at least one screen-projectable device, and send the device information of the at least one screen-projectable device to the receiving module 2031.
The receiving module 2031 is further configured to receive device information of the at least one screen-projectable device, and send the device information of the at least one screen-projectable device to the virtual machine 2011.
The virtual machine 2011 is further configured to generate a screen-projectable device list according to the device information of the at least one screen-projectable device, and send the screen-projectable device list to the receiving module 2031.
The receiving module 2031 is further configured to receive the screen-projable device list and send the screen-projable device list to the first display module 2033.
The first display module 2033 is configured to display the list of screen-projectable devices.
The receiving module 2031 is further configured to acquire the target screen-projecting device according to the screen-projectable device list.
Optionally, the receiving module 2031 is specifically configured to acquire a second operation instruction, and send the second operation instruction to the virtual machine 2011.
The virtual machine 2011 is further configured to, when the device information of the target screen projection device is identified in the second operation instruction, send the device information of the target screen projection device to the receiving module 2031.
The receiving module 2031 is specifically configured to determine the target screen projection device according to the device information of the target screen projection device.
Optionally, the receiving module 2031 is further configured to send device information of the target screen projection device to the communication module 2032.
The communication module 2032 is further configured to send a pairing request to the target screen projection device according to the device information, establish a connection with the target screen projection device when receiving a pairing permission instruction sent by the target screen projection device, and send a connection success message to the receiving module 2031.
The receiving module 2031 is further configured to send the target encoded image to the target screen projection device through the communication module 2032 when the connection success message is received.
Further, as shown in fig. 4, the cloud terminal device 203 further includes a first power module 2034, the receiving module 2031, the communication module 2032, and the first display module 2033 are all connected to the first power module 2034, and the first power module 2034 is configured to supply power to the receiving module 2031, the communication module 2032, and the first display module 2033.
Optionally, as shown in fig. 5, the screen projecting apparatus 202 includes a screen projecting module 2021, a decoding module 2022, and a second display module 2023, and both the screen projecting module 2021 and the second display module 2023 are connected to the decoding module 2022.
The screen projection module 2021 is configured to receive the pairing request sent by the communication module 2032, determine whether pairing is allowed according to the pairing request, and send a pairing allowing instruction to the communication module 2032 when pairing is allowed.
The communication module 2032 is further configured to establish a connection with the target screen projection device when receiving the pairing permission instruction, and send a connection success message to the receiving module 2031.
The receiving module 2031 is further configured to send the target encoded image to the screen projection module 2021 through the communication module 2032 when the connection success message is received.
The screen projection module 2021 is further configured to send the target encoded image to the decoding module 2022.
The decoding module 2022 is configured to decode the target encoded image and send the decoded target encoded image to the second display module 2023.
The second display module 2023 is configured to display the decoded target encoded image.
For example, when the user needs to use the screen projection function, a first operation instruction may be generated by a touch operation on the screen of the cloud terminal device 203; the user may also generate a first operation instruction by pressing a button for initiating mirror image screen projection, which is set on the cloud terminal device 203, so that the receiving module 2031 of the cloud terminal device 203 acquires the first operation instruction; when acquiring the first operation instruction, the receiving module 2031 sends the first operation instruction to the virtual machine 2011 connected to the receiving module 2031 in the cloud server 201, and when receiving the first operation instruction, the virtual machine 2011 parses the first operation instruction, and when determining that the first operation instruction is a mirror image screen projection request, generates a mirror image screen projection instruction and returns the mirror image screen projection instruction to the receiving module 2031; when receiving the mirror image screen projection instruction, the receiving module 2031 sends a screen projectable device search request to the communication module 2032 to trigger the communication module 2032 to perform screen projectable device search, and when the communication module 2032 searches for at least one screen projectable device, returns device information of the at least one screen projectable device to the receiving module 2031; when receiving the device information of at least one screen-projectable device, the receiving module 2031 sends the device information of the at least one screen-projectable device to the virtual machine 2011 correspondingly connected to the virtual machine 2011, the virtual machine 2011 generates a screen-projectable device list according to the device information of each screen-projectable device, and returns a coded image of the generated screen-projectable device list to the receiving module 2031 in the cloud terminal device 203, when receiving the coded image of the screen-projectable device list, the receiving module 2031 decodes the coded image of the screen-projectable device list and sends the decoded coded image to the first display module 2033 in the cloud terminal device 203, and the first display module 2033 displays the decoded screen-projectable device list; then, a user of the cloud terminal device 203 may select a target screen projection device to be projected according to device information in the displayed screen projection device list, that is, click a position corresponding to the target screen projection device, so that the receiving module 2031 obtains a second operation instruction for the target screen projection device and sends the obtained second operation instruction to the virtual machine 2011, the virtual machine 2011 identifies the second operation instruction when receiving the second operation instruction, and returns device information of the target screen projection device to the receiving module 2031 when identifying the device information of the target screen projection device, so that the receiving module 2031 determines the target screen projection device when receiving the device information of the target screen projection device; then, the device information of the target screen projection device is sent to the communication module 2032, the communication module 2032 sends a pairing request to the target screen projection device according to the device information of the target screen projection device, waits for a pairing permission instruction of the target screen projection device, establishes connection with the target screen projection device when receiving the pairing permission instruction sent by the target screen projection device, sends the target code image received from the virtual machine 2011 to the communication module 2032 after establishing connection, sends the target code image to the target screen projection device by the communication module 2032, and decodes and displays the target code image by the target screen projection device, thereby realizing screen projection.
Further, as shown in fig. 6, the screen projection device 202 further includes a second power module 2024, the decoding module 2022, the screen projection module 2021, and the second display module 2023 are all connected to the second power module 2024, and the first power module 2024 is used to supply power to the decoding module 2022, the screen projection module 2021, and the second display module 2023.
The disclosed embodiment provides a screen projecting system, wherein a cloud terminal device 203 sends an acquired first operation instruction to a virtual machine 2011, the virtual machine 2011 sends a mirror screen projecting instruction to the cloud terminal device 203 when determining that the first operation instruction is a mirror screen projecting request, the cloud terminal device 203 acquires a target screen projecting device when receiving the mirror screen projecting instruction, and sends a target coded image received from the virtual machine 2011 to the target screen projecting device, so that the target screen projecting device decodes the target coded image and displays the target coded image. It can be known that the screen projection function can be realized based on the basic architecture of the cloud terminal device 203.
Based on the screen projection method described in the embodiment corresponding to fig. 1, an embodiment of the present disclosure further provides a computer-readable storage medium, for example, the non-transitory computer-readable storage medium may be a Read Only Memory (ROM), a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like. The storage medium stores computer instructions for executing the screen projection method described in the embodiment corresponding to fig. 1, which is not described herein again.
All or part of the steps of the embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the storage medium may be a read-only memory, a magnetic disk, an optical disk, or the like.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.

Claims (10)

1. A screen projection method is applied to cloud terminal equipment, the cloud terminal equipment comprises a receiving module, the receiving module is connected with a virtual machine in a cloud server, and the method comprises the following steps:
the receiving module acquires a first operation instruction;
the receiving module sends the first operating instruction to the virtual machine, so that the virtual machine sends a mirror image screen projection instruction to the receiving module when the first operating instruction is determined to be a mirror image screen projection request;
the receiving module responds to the mirror image screen projection instruction to obtain target screen projection equipment;
the receiving module receives a target coding image sent by the virtual machine;
and the receiving module sends the target coded image to the target screen projection equipment, so that the target screen projection equipment decodes and displays the target coded image.
2. The method according to claim 1, wherein the cloud terminal device further comprises a communication module and a first display module, and the acquiring the target screen projection device comprises:
the receiving module sends a screen projection device search request to the communication module, so that the communication module sends the searched device information of at least one screen projection device to the receiving module;
the receiving module sends the device information of the at least one screen-projectable device to the virtual machine, so that the virtual machine generates a screen-projectable device list according to the device information of the at least one screen-projectable device and sends the screen-projectable device list to the receiving module;
the receiving module sends the screen-projectable equipment list to a first display module, so that the first display module displays the screen-projectable equipment list;
and the receiving module acquires the target screen projection equipment according to the screen projection equipment list.
3. The method of claim 2, wherein the receiving module obtaining the target screen-casting device according to the list of screen-casting devices comprises:
the receiving module acquires a second operation instruction; the second operation instruction is a device selection instruction based on the screen-projectable device list;
the receiving module sends the second operation instruction to the virtual machine, so that when the virtual machine identifies the equipment information of the target screen projection equipment in the second operation instruction, the equipment information of the target screen projection equipment is sent to the receiving module;
and the receiving module determines the target screen projection equipment according to the equipment information of the target screen projection equipment.
4. The method of claim 3, wherein sending the target encoded image to the target screen projection device comprises:
the receiving module sends the equipment information of the target screen projection equipment to the communication module, so that the communication module sends a pairing request to the target screen projection equipment according to the equipment information, establishes connection with the target screen projection equipment when receiving a pairing permission instruction sent by the target screen projection equipment, and sends a connection success message to the receiving module;
and when the receiving module receives the connection success message, the target coding image is sent to the target screen projection equipment through the communication module.
5. The method of claim 1, wherein receiving the target encoded image sent by the virtual machine comprises:
the receiving module acquires a target operation request;
the receiving module sends the target operation request to the virtual machine, so that the virtual machine processes the target operation request to obtain a target image, and sends a target coded image obtained by coding the target image to the receiving module;
the receiving module receives the target encoded image.
6. A screen projection system is characterized by comprising a cloud server, a screen projection device and the cloud terminal device of any one of claims 1-5; the virtual machine is positioned on the cloud server, the cloud terminal equipment is connected with the virtual machine, and the screen projection equipment is connected with the cloud terminal equipment;
the cloud terminal equipment is used for acquiring a first operation instruction and sending the first operation instruction to the virtual machine;
the virtual machine is used for sending a mirror image screen projection instruction to the cloud terminal equipment when the first operation instruction is determined to be a mirror image screen projection request;
the cloud terminal equipment is also used for responding to the mirror image screen projection instruction and acquiring target screen projection equipment;
the cloud terminal equipment is also used for receiving a target coding image sent by the virtual machine and sending the target coding image to the target screen projection equipment;
and the target screen projection equipment is used for decoding and displaying the target coding image.
7. The system according to claim 6, wherein the cloud terminal device comprises a receiving module, a communication module and a first display module, and the communication module and the first display module are connected with the receiving module;
the receiving module is used for sending the first operating instruction to the virtual machine;
the receiving module is further configured to send a screen projection device search request to the communication module when receiving the mirror image screen projection instruction sent by the virtual machine;
the communication module is used for receiving the screen projection equipment search request, searching equipment information of at least one screen projection equipment and sending the equipment information of the at least one screen projection equipment to the receiving module;
the receiving module is further configured to receive device information of the at least one screen-projectable device, and send the device information of the at least one screen-projectable device to the virtual machine;
the virtual machine is further configured to generate a screen-projectable device list according to the device information of the at least one screen-projectable device, and send the screen-projectable device list to the receiving module;
the receiving module is further configured to receive the screen-projectable device list and send the screen-projectable device list to the first display module;
the first display module is used for displaying the screen-projectable equipment list;
the receiving module is further configured to obtain the target screen-projecting device according to the screen-projectable device list.
8. The system of claim 7,
the receiving module is specifically configured to obtain a second operation instruction and send the second operation instruction to the virtual machine;
the virtual machine is further configured to send the device information of the target screen projection device to the receiving module when the device information of the target screen projection device is identified in the second operation instruction;
the receiving module is specifically configured to determine the target screen projection device according to the device information of the target screen projection device.
9. The system of claim 8,
the receiving module is further used for sending the device information of the target screen projection device to the communication module;
the communication module is further configured to send a pairing request to the target screen projection device according to the device information, establish connection with the target screen projection device when a pairing permission instruction sent by the target screen projection device is received, and send a connection success message to the receiving module;
the receiving module is further configured to send the target encoded image to the target screen projection device through the communication module when the connection success message is received.
10. The system of claim 9, wherein the screen projection device comprises a screen projection module, a decoding module, and a second display module, both of which are connected to the decoding module;
the screen projection module is used for receiving the pairing request sent by the communication module, determining whether pairing is allowed according to the pairing request, and sending a pairing allowing instruction to the communication module when pairing is allowed;
the communication module is further used for establishing connection with the target screen projection equipment when the pairing permission instruction is received, and sending a connection success message to the receiving module;
the receiving module is further configured to send the target encoded image to the screen projection module through the communication module when the connection success message is received;
the screen projection module is also used for sending the target coding image to the decoding module;
the decoding module is used for decoding the target coding image and then sending the decoded target coding image to the second display module;
and the second display module is used for displaying the decoded target coding image.
CN202110496307.5A 2021-05-07 2021-05-07 Screen projection method and system Pending CN113329247A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110496307.5A CN113329247A (en) 2021-05-07 2021-05-07 Screen projection method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110496307.5A CN113329247A (en) 2021-05-07 2021-05-07 Screen projection method and system

Publications (1)

Publication Number Publication Date
CN113329247A true CN113329247A (en) 2021-08-31

Family

ID=77414218

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110496307.5A Pending CN113329247A (en) 2021-05-07 2021-05-07 Screen projection method and system

Country Status (1)

Country Link
CN (1) CN113329247A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113726794A (en) * 2021-09-01 2021-11-30 湖南智领通信科技有限公司 Confidential screen projection system and method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113726794A (en) * 2021-09-01 2021-11-30 湖南智领通信科技有限公司 Confidential screen projection system and method

Similar Documents

Publication Publication Date Title
US11962858B2 (en) Video playback method, video playback terminal, and non-volatile computer-readable storage medium
CN111897507B (en) Screen projection method and device, second terminal and storage medium
CN108769795B (en) Video signal realizing system and method
US10728583B2 (en) Multimedia information playing method and system, standardized server and live broadcast terminal
CN113329240A (en) Screen projection method and device
TW201518952A (en) Multi-screen interaction method, apparatus and system
CN112073664B (en) Video call method and display device
KR101745895B1 (en) System and method for content extension, presentation device and computer program for the same
CN111431734A (en) Network distribution method of intelligent equipment and related device
CN113365153B (en) Data sharing method and device, storage medium and electronic equipment
CN112148245B (en) Method and device for monitoring, adjusting and projecting screen, computer equipment, readable storage medium and monitoring, adjusting and projecting screen interaction system
CN105530283A (en) Point-to-point multimedia data sharing method, electronic device and nonvolatile readable computer medium
CN111601121A (en) Equipment connection method and system in wireless video transmission system
CN113329247A (en) Screen projection method and system
CN112055234A (en) Television equipment screen projection processing method, equipment and storage medium
CN104239842A (en) Visual sense identification realization method, device and system
US20110285862A1 (en) Method and apparatus for providing web camera service in a portable terminal
CN112738621A (en) Wireless screen projection method, device and system for non-smart television
US9762859B2 (en) Shared communication terminal, communication system, and communication method
CN110519634B (en) Screen projection system and screen projection method
CN111475240B (en) Data processing method and system
CN115480720A (en) Screen projection method, storage medium and communication device
CN112732212A (en) Display method, electronic device, and storage medium
CN115599326A (en) Information co-screen method, sending end, receiving end and computer readable storage medium
CN111491210A (en) Data processing method, device and system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination