Screen projection method and electronic device

By enabling screen mirroring requests and file transfers between cloud PCs and cloud mobile devices, the problem of low flexibility in screen mirroring technology in remote work scenarios has been solved, thus meeting the needs of remote collaboration and office work.

CN115942020BActive Publication Date: 2026-04-14CHINA MOBILE INTERNET CO LTD +1
View PDF 3 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-12-08
Publication Date
2026-04-14

AI Technical Summary

Technical Problem

Existing screen mirroring technologies are not flexible enough for remote work scenarios, cannot meet users' work needs, and are limited by the limited storage space of devices.

Method used

By enabling screen mirroring and file transfer requests between cloud PCs and cloud mobile devices, remote transmission of video feeds and files can be achieved, utilizing the storage space of cloud PCs to meet office needs.

Benefits of technology

It enables remote screen projection, providing a collaborative method for users who are not working in the same area, reducing dependence on a single device and improving the flexibility of screen projection.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115942020B_ABST
    Figure CN115942020B_ABST
Patent Text Reader

Abstract

Embodiments of the present application provide a screen projection method and an electronic device, the method comprising: receiving a screen projection request initiated by a cloud mobile phone end; in response to the screen projection request, displaying a video picture corresponding to the screen projection request through a screen projection page of the cloud computer end, and maintaining a connection with the cloud mobile phone end; receiving a first input of a user on the screen projection page; in response to the first input, initiating a first file transmission request to the cloud mobile phone end; and in the case that the cloud mobile phone end responds to the first file transmission request, transmitting a second target file corresponding to the first file transmission request to the cloud mobile phone end.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of Internet technology, and in particular to a screen mirroring method and electronic device. Background Technology

[0002] Screen mirroring refers to the process where, when a mobile phone and the device to be mirrored are on the same local area network, data is transmitted to the device to be mirrored through a corresponding data transmission protocol. Then, the mobile phone screen is projected through data decoding and imaging, and the user can switch the screen by operating on the mobile phone.

[0003] In some scenarios, the rise of cloud phones has made it possible to mirror content without requiring the device and phone to be on the same local network. A common method is to use a set-top box to achieve screen mirroring with the cloud phone. However, this method is often used in home entertainment, typically mirroring the cloud phone's video stream to a screen connected to the set-top box. Given the increasing demand for remote work, which extends beyond video streaming and is limited by the set-top box's storage space, this method is insufficient for most users' work needs, offering significant limitations and low flexibility. Summary of the Invention

[0004] The purpose of this application is to provide a screen projection method and electronic device to solve the problems of large limitations and low flexibility in screen projection.

[0005] To solve the above-mentioned technical problems, the embodiments of this application are implemented as follows:

[0006] In a first aspect, embodiments of this application provide a screen mirroring method applied to a cloud computer, comprising: receiving a screen mirroring request initiated by a cloud mobile terminal; responding to the screen mirroring request, displaying a video screen corresponding to the screen mirroring request through a screen mirroring page on the cloud computer, and maintaining a connection with the cloud mobile terminal; receiving a first input from a user on the screen mirroring page; responding to the first input, initiating a first file transfer request to the cloud mobile terminal; and, if the cloud mobile terminal responds to the first file transfer request, transferring a second target file corresponding to the first file transfer request to the cloud mobile terminal.

[0007] Secondly, embodiments of this application provide a screen mirroring method applied to a cloud mobile terminal, comprising: initiating a screen mirroring request to a cloud computer terminal, the screen mirroring request instructing the cloud computer terminal to maintain a connection with the cloud mobile terminal, and displaying a video screen corresponding to the screen mirroring request on the screen mirroring page of the cloud computer terminal; receiving a first file transfer request initiated by the cloud computer terminal, the first file transfer request being initiated by the user after making a first input on the screen mirroring page; and responding to the first file transfer request by receiving a second target file corresponding to the first file transfer request sent by the cloud computer terminal.

[0008] Thirdly, embodiments of this application provide a screen mirroring device, comprising: a receiving module for receiving a screen mirroring request initiated by a cloud mobile terminal; a screen mirroring module for responding to the screen mirroring request by displaying a video screen corresponding to the screen mirroring request through a screen mirroring page on the cloud computer terminal, and maintaining a connection with the cloud mobile terminal; receiving a first input from a user on the screen mirroring page; an initiating module for responding to the first input by initiating a first file transfer request to the cloud mobile terminal; and a transmission module for transmitting a second target file corresponding to the first file transfer request to the cloud mobile terminal when the cloud mobile terminal responds to the first file transfer request.

[0009] Fourthly, this application provides a screen mirroring device, comprising: an initiating module for initiating a screen mirroring request to a cloud computer, the screen mirroring request instructing the cloud computer to maintain a connection with the cloud mobile phone; a screen mirroring module for displaying a video frame corresponding to the screen mirroring request on the screen mirroring page of the cloud computer; a receiving module for receiving a first file transfer request initiated by the cloud computer, the first file transfer request being initiated by the user after making a first input on the screen mirroring page; the receiving module is further configured to respond to the first file transfer request by receiving a second target file corresponding to the first file transfer request sent by the cloud computer.

[0010] Fifthly, embodiments of this application provide an electronic device, including a processor, a communication interface, a memory, and a communication bus; wherein the processor, the communication interface, and the memory communicate with each other via the bus; the memory is used to store computer programs; and the processor is used to execute the programs stored in the memory to implement the steps described in the first or second aspect.

[0011] In a sixth aspect, embodiments of this application provide a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the steps of the method described in the first or second aspect.

[0012] In a seventh aspect, embodiments of this application provide a chip, the chip including a processor and a communication interface, the communication interface being coupled to the processor, the processor being used to run programs or instructions to implement the steps of the method as described in the first or second aspect.

[0013] As can be seen from the technical solutions provided in the embodiments of this application above, by receiving a screen projection request initiated by a cloud mobile terminal; responding to the screen projection request, displaying a video screen corresponding to the screen projection request on the screen projection page of the cloud computer terminal, and maintaining a connection with the cloud mobile terminal; receiving a first input from the user on the screen projection page; responding to the first input, initiating a first file transfer request to the cloud mobile terminal; and, upon the cloud mobile terminal responding to the first file transfer request, transferring a second target file corresponding to the first file transfer request to the cloud mobile terminal, screen projection can be achieved through the cloud mobile terminal on the cloud computer, realizing remote screen projection functionality and providing a collaborative method for users who are not working in the same area. By transferring files between the cloud mobile terminal and the cloud computer, office needs are met, while reducing the number of devices users need to carry for remote work. Users can start working simply by logging into the cloud computer under network conditions, reducing dependence on a single device, minimizing screen projection limitations, and improving screen projection flexibility. Attached Figure Description

[0014] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in this invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0015] Figure 1 This is a schematic diagram of a first type of screen projection method provided in an embodiment of this application;

[0016] Figure 2 This is a second flowchart illustrating the screen projection method provided in the embodiments of this application;

[0017] Figure 3 This is a schematic diagram illustrating the specific thread of the screen mirroring method provided in the embodiments of this application;

[0018] Figure 4 This is a schematic diagram of a first functional module of the screen projection device provided in the embodiments of this application;

[0019] Figure 5 This is a schematic diagram of a second functional module of the screen projection device provided in the embodiments of this application;

[0020] Figure 6 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Detailed Implementation

[0021] The purpose of this application is to provide a screen projection method and electronic device that solves the problems of large limitations and low flexibility in screen projection.

[0022] To enable those skilled in the art to better understand the technical solutions of this invention, the technical solutions in the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this invention, and not all embodiments. Based on the embodiments of this invention, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of this invention.

[0023] like Figure 1 As shown, this application embodiment provides a screen mirroring method. The execution subject of this method can be a cloud computer terminal, wherein the cloud computer terminal corresponds to a server or an electronic device installed on a physical device. The server can be an independent server, and the electronic device can be a PC, such as a laptop or desktop computer. The screen mirroring method specifically includes the following steps S101-S109:

[0024] In step S101, a screen mirroring request initiated by the cloud mobile client is received.

[0025] Specifically, a cloud phone client refers to a cloud phone instance connected to a cloud phone APP installed on a physical phone. When a cloud phone client initiates a screen mirroring request, it can do so by scanning the QR code of the screen mirroring client on the cloud computer client or by entering the cloud computer account information to be mirrored on the cloud phone client.

[0026] In step S103, in response to the screen mirroring request, the video screen corresponding to the screen mirroring request is displayed on the screen mirroring page of the cloud computer, and the connection with the cloud mobile phone is maintained.

[0027] Specifically, after receiving the screen mirroring request, the cloud PC verifies the account, device, and command information of the cloud mobile phone. If the verification is successful, the screen mirroring command is sent to the cloud mobile phone. In other words, the cloud PC responds to the screen mirroring request and displays the video screen of the cloud mobile phone on the screen mirroring page of the cloud PC. It also maintains a communication connection with the cloud mobile phone, meaning that the cloud mobile phone and the cloud PC can continuously transmit data, and the cloud PC can send a screen mirroring success message to the cloud mobile phone.

[0028] In step S105, the user's first input on the screen mirroring page is received.

[0029] Specifically, after establishing a screen mirroring connection between the cloud phone and the cloud computer, files can be transferred between them. The first input can be either the user dragging and dropping the file to be transferred onto the screen mirroring page of the cloud phone, or the user clicking the file transfer button on the screen mirroring page of the cloud phone to initiate the file transfer.

[0030] In step S107, in response to the first input, a first file transfer request is initiated to the cloud mobile terminal.

[0031] Specifically, when the cloud computer recognizes that the file to be transferred is within the area of ​​the screen projection page, it initiates the first file transfer request to the cloud mobile device.

[0032] In step S109, when the cloud mobile terminal responds to the first file transfer request, the second target file corresponding to the first file transfer request is transferred to the cloud mobile terminal.

[0033] Specifically, when the cloud mobile client responds to the first file transfer request, it can transfer the file corresponding to the first file transfer request from the cloud computer to the cloud mobile client.

[0034] In some cases, the file size transferred from the cloud PC is too large, and the remaining storage space on the cloud mobile device is insufficient to meet the file size requirement. To avoid invalid transmissions due to file transfer failures and wasting user time, the file size corresponding to the first file transfer request and the available storage space on the cloud mobile device can be determined before transferring the second target file. If the available storage space is not less than the file size, the file information corresponding to the second target file is determined, and the file information is sent to the cloud mobile device along with the file transfer notification. When the cloud mobile device responds to the first file transfer request, the second target file corresponding to the first file transfer request is transferred to the cloud mobile device, including: the cloud mobile device responds to the first file transfer request according to the file transfer notification and transfers the second target file corresponding to the file information to the cloud mobile device.

[0035] Specifically, the available storage space on the cloud mobile client refers to the unused storage resources available on the cloud mobile client. File information includes, but is not limited to, file size, file name, the account that sent the file, and the time the file was sent. When the available storage resources on the cloud mobile client are not less than the size of the file to be transferred, the file information of the file to be transferred is included in the file transfer notification, informing the cloud mobile client and cloud computer of the file information to be transferred. After receiving the notification, the cloud mobile client responds to the file transfer request, and the cloud computer transfers the file corresponding to that file information to the cloud mobile client.

[0036] The technical solution disclosed in this application enables remote screen mirroring via a cloud phone to a cloud computer, providing a collaborative method for users who are not working in the same location. By transferring files between the cloud phone and the cloud computer, office needs are met, while reducing the number of devices users need to carry for remote work. Users can start working simply by logging into the cloud computer as long as there is a network connection, reducing dependence on a single device, minimizing limitations of screen mirroring, and increasing screen mirroring flexibility.

[0037] In one possible implementation, after responding to the screen mirroring request, displaying the video screen corresponding to the screen mirroring request through the screen mirroring page on the cloud computer, and maintaining a connection with the cloud mobile phone, the method further includes: responding to the second file transfer request initiated by the cloud mobile phone, and receiving the first target file corresponding to the second file transfer request transmitted by the cloud mobile phone.

[0038] Specifically, after establishing a screen mirroring connection between the cloud phone and the cloud PC, files can be transferred from the cloud phone to the cloud PC. This second file transfer request can be initiated by the user selecting a file in a folder and clicking the share button. Upon receiving this request on the cloud PC, the user can choose to accept or reject it. If the user chooses to accept, the cloud phone will then transfer the file to the cloud PC.

[0039] In some cases, the file size transmitted from the cloud PC is too large, and the remaining storage space on the cloud mobile device is insufficient to meet the needs of the file to be transmitted. To avoid invalid transmissions due to file transmission failures and wasting user time, a second file transmission request can be received before transmitting the first target file. The file size of the first target file corresponding to the second file transmission request and the available storage space on the cloud PC are determined. If the available storage space is not less than the file size, the file information corresponding to the first target file is determined. In response to the second file transmission request initiated by the cloud mobile device, the first target file corresponding to the second file transmission request is received from the cloud mobile device, including: in response to the second file transmission request initiated by the cloud mobile device, the first target file is received according to the file information.

[0040] Specifically, available storage space on the cloud PC refers to the unused storage resources available on the cloud PC. File information includes, but is not limited to, file size, file name, the account that sent the file, and the time the file was sent. When the available storage resources on the cloud PC are not less than the size of the file to be transferred, the file information of the file to be transferred is included in the file transfer notification, informing both the cloud PC and the cloud mobile client of the file information to be transferred. After receiving the notification, the cloud PC responds to the file transfer request, and the cloud mobile client transfers the file corresponding to that file information to the cloud PC.

[0041] In one possible implementation, after the cloud mobile client responds to the first file transfer request and transmits the second target file corresponding to the first file transfer request to the cloud mobile client, the method further includes: in response to the user's second input, initiating a screen mirroring termination request; in response to the screen mirroring termination request, sending a screen mirroring termination instruction to the cloud mobile client, the screen mirroring termination instruction instructing the cloud mobile client to terminate screen mirroring.

[0042] Users can proactively initiate a request to end screen mirroring on the cloud PC and directly close the screen mirroring page. The second input can be the user's input of the end screen mirroring button on the cloud PC. At this time, the cloud PC screen mirroring control module sends the screen mirroring end command to the authentication module, which then sends the end screen mirroring end command to the cloud mobile phone. At this time, the cloud mobile phone stops sending screen video data information, the screen mirroring page closes, and screen mirroring ends.

[0043] Alternatively, users can proactively initiate a request to end screen mirroring on the cloud phone. In this case, the authentication module will send an end command to the cloud computer screen mirroring control module. At this point, the cloud phone will stop sending screen video data, the screen mirroring page will close, and screen mirroring will end.

[0044] like Figure 2 As shown, this application embodiment provides a screen mirroring method. The execution subject of this method can be a cloud mobile terminal, wherein the cloud mobile terminal corresponds to a server or an electronic device installed on a physical device. The server can be an independent server, and the electronic device can be a mobile phone. The screen mirroring method specifically includes the following steps S201-S205:

[0045] Step S201: Initiate a screen mirroring request to the cloud computer.

[0046] The screen mirroring request instructs the cloud PC client and the cloud mobile client to maintain a connection, and displays the video screen corresponding to the screen mirroring request on the screen mirroring page of the cloud PC client.

[0047] Specifically, you can initiate a screen mirroring request to the cloud PC by scanning the cloud PC's QR code or by entering your cloud PC account information.

[0048] Step S203: Receive the first file transfer request initiated by the cloud computer.

[0049] The first file transfer request is initiated by the user after making the first input on the screen mirroring page.

[0050] Step S205: In response to the first file transfer request, receive the second target file corresponding to the first file transfer request sent by the cloud computer.

[0051] The technical solutions disclosed in this application enable screen mirroring from a cloud phone to a cloud computer, achieving remote screen mirroring and providing a collaborative method for users who are not working in the same location. By transferring files between the cloud phone and the cloud computer, office needs are met, while reducing the number of devices users need to carry for remote work. Users can start working simply by logging into the cloud computer as long as there is a network connection, reducing dependence on a single device, minimizing screen mirroring limitations, and improving screen mirroring flexibility.

[0052] In one possible implementation, after responding to the first file transfer request and receiving the second target file corresponding to the first file transfer request sent by the cloud computer, the method further includes: receiving a screen mirroring termination request initiated by the cloud computer; and terminating screen mirroring in response to the screen mirroring termination request.

[0053] In one possible implementation, after initiating a screen mirroring request to the cloud computer, instructing the cloud computer to maintain a connection with the cloud mobile phone, and displaying the video screen corresponding to the screen mirroring request on the screen mirroring page of the cloud computer, the method further includes: initiating a second file transfer request to the cloud computer; and receiving a first target file corresponding to the second file transfer request transmitted by the cloud mobile phone.

[0054] It is worth noting that the screen casting method provided in this application embodiment is the same as or similar to the screen casting method mentioned in the above embodiments, and can be referred to each other. The embodiments of this application will not be repeated here.

[0055] The following is combined Figure 3 The screen mirroring method provided in this application embodiment will be further described in detail. This includes a cloud mobile terminal and a cloud computer terminal. For the cloud computer terminal, it includes, but is not limited to, an authentication module, a cloud computer screen mirroring control module, a message notification module, and a file transfer module.

[0056] The authentication module is primarily responsible for identifying and verifying account information, device codes, and IP access addresses carried in command messages sent from cloud mobile devices or cloud computers. It also manages the reception, decryption, anti-tampering, and execution order of commands. The cloud computer screen mirroring control module is responsible for invoking the screen mirroring page on the cloud computer after receiving a screen mirroring request from the cloud mobile device, decoding and transmitting the video stream to be mirrored, and identifying the area coordinates of the screen mirroring page when sharing files. The message notification module is responsible for receiving and sending system and file notifications, user file acceptance / rejection, and file transfer status information for the cloud mobile device and cloud computer. The file transfer module is responsible for preprocessing files to be received and sent, including reading the account information, file name, size, time, and remaining storage space on the cloud device. It supports transferring a single file up to 1GB; if the file size exceeds the preset range, the system will issue a prompt.

[0057] like Figure 3 The process, as shown, includes the following steps:

[0058] Users can initiate a screen mirroring request on their cloud phone by scanning the QR code of the screen mirroring client on the cloud computer or by entering the cloud computer account information to be mirrored.

[0059] The authentication module will verify the account, device, and command information of the cloud phone. After successful verification, the screen casting command will be sent to the cloud computer screen casting control module.

[0060] After parsing the screen mirroring command, the cloud PC screen mirroring control module allows the user to choose to accept or reject the screen mirroring request. Assuming the user accepts the screen mirroring request from the cloud mobile client, the cloud PC will launch the video page of the screen mirroring client to decode and transmit the video stream from the cloud mobile client's screen mirroring page. Simultaneously, a successful screen mirroring status message will be sent to the message notification module.

[0061] The message notification module pushes this status message to the cloud phone client. If the user rejects the screen mirroring request on the cloud computer, they also send a rejection status message to the message notification module, which then returns the rejection status message to the cloud phone client.

[0062] After successful screen mirroring, users can zoom in, zoom out, or drag the mirrored page on the cloud PC as needed.

[0063] When a cloud phone initiates a screen mirroring request to a cloud computer, the specific steps include:

[0064] When a user selects a file to be sent from the cloud phone to the cloud computer, the cloud phone sends a file transfer request (file transfer request) to the authentication module.

[0065] The authentication module determines the file size and the available storage space on the cloud computer. Once the file size and available storage space on the cloud computer meet the requirements, the authentication module sends a transmission command to the file transfer module.

[0066] After receiving the transmission instruction, the file transfer module returns information such as file name, file size, account that sent the file, and time to the message notification module.

[0067] The message notification module sends a file transfer notification to the cloud computer screen mirroring control module. After receiving the file transfer notification, the user can choose to accept or reject the file through the cloud computer screen mirroring control module.

[0068] The file transfer module sends the transmission result information, indicating whether the user chooses to accept or reject the file, to the file transfer module. The file transfer module then transmits the information to the message notification module, which finally sends the transmission result information to the cloud phone client.

[0069] Initiating a screen mirroring request from a cloud PC to a cloud mobile device includes the following steps:

[0070] When sharing files from the cloud PC to the cloud phone, the user needs to drag and drop the file to be transferred onto the cloud phone's projection page. When the cloud PC projection control module recognizes that the file is within the projection page area, it will send a file transfer request to the authentication module.

[0071] The authentication module will send a file transfer command to the file transfer module.

[0072] The file transfer module obtains information such as file name, size, sending account, and sending time, as well as available storage information on the cloud phone. Once the receiving conditions are met, it sends a file transfer notification to the message notification module and returns information such as file name, size, sending account, and sending time to the message notification module.

[0073] Users can choose to accept or reject files on the cloud phone, and the authentication module will send a file transfer notification to the file transfer module. After receiving the file transfer notification, the file transfer module will return the transfer result information to the message notification module.

[0074] The message notification module then returns the transmission result information to the cloud computer screen projection control module.

[0075] To end screen mirroring, you can use the following methods:

[0076] Users can initiate a request to end screen mirroring on the cloud phone. At this time, the authentication module will send the end command to the cloud computer screen mirroring control module. The cloud phone will then stop sending screen video data information, the screen mirroring page will close, and screen mirroring will end.

[0077] Users can also proactively initiate a screen mirroring termination request on the cloud PC side and directly close the screen mirroring page. At this time, the cloud PC screen mirroring control module sends the screen mirroring termination command to the authentication module, which then sends the screen mirroring termination command to the cloud mobile phone. The cloud mobile phone then stops sending screen video data information, the screen mirroring page closes, and the screen mirroring ends.

[0078] The technical solution provided in this application enables remote screen mirroring via a cloud phone to a cloud computer, providing a collaborative method for users who are not working in the same location. By transferring files between the cloud phone and the cloud computer, office needs are met, while reducing the number of devices users need to carry for remote work. Users can start working simply by logging into the cloud computer with an internet connection, reducing dependence on a single device, minimizing limitations of screen mirroring, and increasing screen mirroring flexibility.

[0079] Corresponding to the screen projection method provided in the above embodiments, based on the same technical concept, this application also provides a screen projection device. Figure 4 This is a schematic diagram of the module composition of the screen projection device provided in the embodiments of this application. The screen projection device is used to execute the screen projection method described in the above embodiments, such as... Figure 4As shown, the screen mirroring device 400 includes: a receiving module 401 for receiving a screen mirroring request initiated by a cloud mobile terminal; a screen mirroring module 402 for responding to the screen mirroring request by displaying a video screen corresponding to the screen mirroring request through a screen mirroring page on a cloud computer terminal, and maintaining a connection with the cloud mobile terminal; the receiving module 401 is also used to receive a first input from the user on the screen mirroring page; an initiating module 403 for responding to the first input by initiating a first file transfer request to the cloud mobile terminal; and a transmission module 404 for transmitting a second target file corresponding to the first file transfer request to the cloud mobile terminal when the cloud mobile terminal responds to the first file transfer request.

[0080] The technical solutions disclosed in this application enable screen mirroring from a cloud phone to a cloud computer, achieving remote screen mirroring and providing a collaborative method for users who are not working in the same location. By transferring files between the cloud phone and the cloud computer, office needs are met, while reducing the number of devices users need to carry for remote work. Users can start working simply by logging into the cloud computer as long as there is a network connection, reducing dependence on a single device, minimizing screen mirroring limitations, and improving screen mirroring flexibility.

[0081] In one possible implementation, the receiving module 401 is further configured to respond to a second file transfer request initiated by the cloud mobile terminal and receive a first target file corresponding to the second file transfer request transmitted by the cloud mobile terminal.

[0082] In one possible implementation, the module further includes: a determining module, used to determine the file size corresponding to the first file transfer request and the available storage space of the cloud mobile terminal; if the available storage space is not less than the file size, determining the file information corresponding to the second target file, and sending the file information along with the file transfer notification to the cloud mobile terminal; the transmission module 404 is further used for the cloud mobile terminal to respond to the first file transfer request according to the file transfer notification, and to transmit the second target file corresponding to the file information to the cloud mobile terminal.

[0083] In one possible implementation, the receiving module 401 is further configured to receive a second file transfer request; the determining module is further configured to, in one possible implementation, determine the file size of the first target file corresponding to the second file transfer request and the available storage space on the cloud computer; if the available storage space is not less than the file size, determine the file information corresponding to the first target file; the receiving module 401 is further configured to, in response to the second file transfer request initiated by the cloud mobile terminal, receive the first target file according to the file information.

[0084] In one possible implementation, the initiating module 403 is further configured to initiate a screen mirroring termination request in response to the user's second input; and in response to the screen mirroring termination request, send a screen mirroring termination instruction to the cloud mobile terminal, the screen mirroring termination instruction instructing the cloud mobile terminal to terminate screen mirroring.

[0085] It should be noted that the screen projection device and the screen projection method provided in this application are based on the same inventive concept and have the same technical effect. Therefore, the specific implementation of this embodiment can refer to the implementation of the aforementioned screen projection method, and the repeated parts will not be described again.

[0086] Corresponding to the screen projection method provided in the above embodiments, based on the same technical concept, this application also provides a screen projection device. Figure 5 This is a schematic diagram of the module composition of the screen projection device provided in the embodiments of this application. The screen projection device is used to execute the screen projection method described in the above embodiments, such as... Figure 5 As shown, the screen projection device includes: an initiating module 501, used to initiate a screen projection request to the cloud computer, the screen projection request instructing the cloud computer to maintain a connection with the cloud mobile phone; a screen projection module 502, used to display the video screen corresponding to the screen projection request on the screen projection page of the cloud computer; a receiving module 503, used to receive a first file transfer request initiated by the cloud computer, the first file transfer request being initiated by the user after making a first input on the screen projection page; the receiving module 503 is also used to respond to the first file transfer request by receiving a second target file corresponding to the first file transfer request sent by the cloud computer.

[0087] The technical solutions disclosed in this application enable screen mirroring from a cloud phone to a cloud computer, achieving remote screen mirroring and providing a collaborative method for users who are not working in the same location. By transferring files between the cloud phone and the cloud computer, office needs are met, while reducing the number of devices users need to carry for remote work. Users can start working simply by logging into the cloud computer as long as there is a network connection, reducing dependence on a single device, minimizing screen mirroring limitations, and improving screen mirroring flexibility.

[0088] In one possible implementation, the initiating module 501 is also used to scan the QR code on the cloud computer to initiate a screen mirroring request; or to enter the account information on the cloud computer to initiate a screen mirroring request.

[0089] In one possible implementation, the initiating module 501 is also used to initiate a second file transfer request to the cloud computer and receive the first target file corresponding to the second file transfer request transmitted by the cloud mobile terminal.

[0090] Corresponding to the screen mirroring method provided in the above embodiments, based on the same technical concept, this application also provides an electronic device for executing the above screen mirroring method. Figure 6 To illustrate the structure of an electronic device according to various embodiments of the present invention, as shown in the schematic diagram... Figure 6As shown. Electronic devices can vary considerably due to differences in configuration or performance, and may include one or more processors 601 and memory 602. Memory 602 may store one or more application programs or data. Memory 602 may be temporary or persistent storage. The application programs stored in memory 602 may include one or more modules (not shown), each module may include a series of computer-executable instructions for the electronic device. Furthermore, processor 601 may be configured to communicate with memory 602 and execute the series of computer-executable instructions in memory 602 on the electronic device. The electronic device may also include one or more power supplies 603, one or more wired or wireless network interfaces 504, one or more input / output interfaces 605, and one or more keyboards 606.

[0091] In this embodiment, the electronic device includes a processor, a communication interface, a memory, and a communication bus; wherein, the processor, the communication interface, and the memory communicate with each other through the bus; the memory is used to store computer programs; the processor is used to execute the programs stored in the memory to implement the steps described in the above method embodiment.

[0092] It should be noted that the electronic device provided in this application embodiment and the screen projection method provided in this application embodiment are based on the same inventive concept and have the same technical effect. Therefore, the specific implementation of this embodiment can refer to the implementation of the aforementioned screen projection method, and the repeated parts will not be described again.

[0093] This application provides a computer-readable storage medium storing a computer program. When the computer program is executed by a processor, it implements the steps described in the above method embodiments.

[0094] It should be noted that the computer-readable storage medium provided in this application embodiment and the screen projection method provided in this application embodiment are based on the same inventive concept and have the same technical effect. Therefore, the specific implementation of this embodiment can refer to the implementation of the aforementioned screen projection method, and the repeated parts will not be described again.

[0095] In a specific embodiment, this application provides a chip, which includes a processor and a communication interface. The communication interface and the processor are coupled, and the processor is used to run programs or instructions to implement the steps described in the above method embodiments.

[0096] It should be noted that the chip provided in this application embodiment and the screen projection method provided in this application embodiment are based on the same inventive concept and have the same technical effect. Therefore, the specific implementation of this embodiment can refer to the implementation of the aforementioned screen projection method, and the repeated parts will not be described again.

[0097] Those skilled in the art will understand that embodiments of the present invention can be provided as methods, apparatus, or computer program products. Therefore, the present invention can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention can take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0098] This invention is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this application. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart illustrations and / or block diagrams. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.

[0099] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.

[0100] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.

[0101] In a typical configuration, an electronic device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0102] Memory may include non-persistent storage in computer-readable media, such as random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM. Memory is an example of computer-readable media.

[0103] Computer-readable media include both permanent and non-permanent, removable and non-removable media that can store information by any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, magnetic magnetic disk storage or other magnetic storage devices, or any other non-transferable medium that can be used to store information accessible by a computing device. As defined herein, computer-readable media does not include transient computer-readable media, such as modulated data signals and carrier waves.

[0104] It should also be noted that the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such process, method, article, or apparatus. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element.

[0105] Those skilled in the art will understand that embodiments of this application can be provided as methods, apparatus, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0106] The above are merely embodiments of this application and are not intended to limit the scope of this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the scope of the claims of this application.

Claims

1. A screen projection method, characterized in that, Applied to cloud computers, the screen projection method includes: Receive screen mirroring requests initiated by the cloud mobile client; In response to the screen mirroring request, the video screen corresponding to the screen mirroring request is displayed on the screen mirroring page of the cloud computer, and a connection is maintained with the cloud mobile phone. Receive the user's first input on the screen mirroring page; In response to the first input, a first file transfer request is initiated to the cloud mobile client; When the cloud mobile client responds to the first file transfer request, the second target file corresponding to the first file transfer request is transferred to the cloud mobile client; Before transmitting the second target file corresponding to the first file transfer request to the cloud mobile terminal when the cloud mobile terminal responds to the first file transfer request, the method further includes: Determine the file size corresponding to the first file transfer request and the available storage space of the cloud mobile terminal; If the available storage space is not less than the file size, determine the file information corresponding to the second target file, and send the file information along with a file transfer notification to the cloud mobile client; the second target file is transferred by the cloud mobile client in response to the first file transfer request based on the file transfer notification; The method further includes: In response to the second file transfer request initiated by the cloud mobile client, the first target file corresponding to the second file transfer request is received from the cloud mobile client.

2. The screen projection method according to claim 1, characterized in that, Before receiving the first target file corresponding to the second file transfer request transmitted by the cloud mobile terminal in response to the second file transfer request initiated by the cloud mobile terminal, the method further includes: Receive the second file transfer request; Determine the file size of the first target file corresponding to the second file transfer request and the available storage space on the cloud computer. If the available storage space is not less than the file size, determine the file information corresponding to the first target file; The first target file corresponding to the second file transfer request, received from the cloud mobile terminal in response to the second file transfer request, includes: In response to the second file transfer request initiated by the cloud mobile client, the first target file is received according to the file information.

3. The screen projection method according to any one of claims 1-2, characterized in that, After the cloud mobile client responds to the first file transfer request and transmits the second target file corresponding to the first file transfer request to the cloud mobile client, the method further includes: In response to the user's second input, initiate a request to end screen mirroring; In response to the request to end screen mirroring, an end screen mirroring command is sent to the cloud mobile client, which instructs the cloud mobile client to end screen mirroring.

4. A screen projection method, characterized in that, Applied to cloud mobile terminals, the screen projection method includes: A screen mirroring request is initiated to the cloud computer client, the screen mirroring request instructing the cloud computer client to maintain a connection with the cloud mobile client, and the video screen corresponding to the screen mirroring request is displayed on the screen mirroring page of the cloud computer client; Receive the first file transfer request initiated by the cloud computer client, the first file transfer request being initiated by the user after making the first input on the screen projection page; In response to the first file transfer request, receive the second target file corresponding to the first file transfer request sent by the cloud computer terminal; The method further includes: The system receives a file transfer notification sent by the cloud computer client. The file transfer notification carries file information corresponding to the second target file. The file information is determined by the cloud computer client before initiating the first file transfer request, based on the file size corresponding to the first file transfer request and the available storage space of the cloud mobile client, provided that the available storage space is not less than the file size. The response to the first file transfer request includes: Respond to the first file transfer request according to the file transfer notification; The method further includes: Initiate a second file transfer request to the cloud computer client; Receive the first target file corresponding to the second file transfer request transmitted by the cloud mobile terminal.

5. The screen projection method according to claim 4, characterized in that, The request to cast the screen to the cloud computer includes one of the following: Scan the QR code on the cloud computer to initiate the screen mirroring request; Enter the account information on the cloud computer to initiate the screen mirroring request.

6. The screen projection method according to claim 4, characterized in that, After responding to the first file transfer request and receiving the second target file corresponding to the first file transfer request sent by the cloud computer, the method further includes: Receive a request from the cloud PC client to end screen mirroring; In response to the request to end screen mirroring, screen mirroring is terminated.

7. An electronic device, characterized in that, include: processor; Memory used to store the processor's executable instructions; The processor is configured to execute the instructions to implement the screen projection method as described in any one of claims 1 to 6.

Citation Information

Patent Citations

  • Method for realizing content screen projection through client, screen projection device and system

    CN108282677A

  • File transmission method and electronic equipment

    CN110618970A

  • Cross-terminal multi-file transmission method

    CN112469030A