A screen mirroring method and an electronic device
Patent Information
- Application Number
- CN202310484616.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-04-28
- Publication Date
- 2026-09-01
- Estimated Expiration
- 2043-04-28
AI Technical Summary
[0003]传统的投屏方式是有线连接,对连接距离有一定的限制,并且功能不够丰富,主要以屏幕复制、扩展为主
[0019]本公开实施例的有益效果在于:通过对作为发送端的第一设备和作为接收端的第二设备同时进行改进,以实现在投屏过程中对目标内容的呈现效果进行优化以及可操作性上的拓展,从而提升投屏过程中使用者的使用体验。
Smart Images

Figure CN116456137B_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of electronic communication technology, and in particular to a screen projection method and an electronic device. Background Technology
[0002] With the widespread use of the internet and various electronic devices, screen mirroring technology is increasingly being used in meeting scenarios, teaching scenarios, and even home scenarios. For example, screen mirroring can project content displayed on a small screen onto a large screen, or project content from a single device onto the screens of multiple other devices. By sending screen content between different devices, content sharing is achieved, making it easier for users to have a better experience when viewing the displayed content.
[0003] Traditional screen sharing methods rely on wired connections, which limit the connection distance and offer limited functionality, primarily focusing on screen copying and extension. While wireless screen sharing, now commonly used, allows content to be sent without cable constraints, making it particularly suitable for meetings, the recording of meeting content during sharing requires manual note-taking by participants, potentially leading to missing information. Furthermore, in poor network conditions, the quality of the sent content is low, resulting in inefficient transmission and severely impacting meeting effectiveness. Summary of the Invention
[0004] The purpose of this disclosure is to provide a screen projection method and an electronic device to solve the above-mentioned problems existing in the prior art.
[0005] The embodiments of this disclosure adopt the following technical solution: a screen projection method applied to a first device, comprising: accessing a first network; and projecting target content to at least one second device through the first network in a preset screen projection mode, wherein the second device is accessed by the first network.
[0006] In some embodiments, the preset screen casting method includes at least one of mirroring and file casting.
[0007] In some embodiments, when the preset projection method is mirror projection, the step of projecting target content to at least one second device via the first network in the preset projection method includes: detecting whether the content currently displayed on the first device is a document file and / or an image file; if the current displayed content is a document file and / or an image file, generating a first data stream in real time based on the current displayed content of the first device, wherein the first data stream includes at least a first marker, so that when the second device receives the first data stream including the first marker, it performs noise reduction and / or sharpening processing on the first display screen formed by parsing the first data stream; if the current displayed content is not a document file and / or an image file, generating a second data stream in real time based on the current displayed content of the first device; and sending the real-time generated first data stream or the second data stream to the second device via the first network.
[0008] In some embodiments, after the first data stream or the second data stream generated in real time is sent to the second device through the first network, the method further includes: detecting the network status of the first network; and if the first network is in a congested state, reducing the resolution of the first data stream or the second data stream generated in real time from a first resolution to a second resolution.
[0009] In some embodiments, after sending the first data stream generated in real time to the second device through the first network, the method further includes: upon receiving network congestion information from the second device, reducing the resolution of the first data stream or the second data stream generated in real time from a first resolution to a second resolution.
[0010] In some embodiments, the step of sending target content to at least one second device via the first network in a preset projection method includes: placing at least one target content in a projection list and projecting the target content to the second device in the order of the projection list.
[0011] In some embodiments, after placing at least one of the target contents in the delivery list and delivering the target contents to the second device in the order of the delivery list, the method further includes: upon receiving a switching instruction, delivering the next target content of the current target content in the delivery list to the second device; wherein the switching instruction is generated based on a user's switching operation on the first device, or the switching instruction is sent from the second device to the first device.
[0012] This disclosure also provides a screen mirroring method applied to a second device, comprising: accessing a first network; receiving and displaying target content sent by the first device through the first network in a preset screen mirroring mode, wherein the first device accesses the first network.
[0013] In some embodiments, after receiving and displaying the target content projected by the first device through the first network in a preset projection mode, the method further includes: upon receiving an extraction instruction, extracting text or images from the currently displayed target content; and performing a preset operation on the extracted text or images, wherein the preset operation includes at least one of copying, pasting, and saving.
[0014] In some embodiments, when the preset projection method is mirror projection, receiving and displaying the target content projected by the first device through the first network in the preset projection method includes: receiving a data stream sent by the first device; detecting whether the data stream includes a first marker; if the data stream does not include the first marker, the data stream is a second data stream, and parsing the second data stream to form a second display screen; if the data stream includes the first marker, the data stream is a first data stream, and parsing the first data stream to form a first display screen, and performing noise reduction and / or sharpening processing on the first display screen upon receiving an enhancement command.
[0015] In some embodiments, after receiving the data stream sent by the first device, the method further includes: detecting the network status of the first network; and, if the first network is in a congested state, feeding back network congestion information to the first device.
[0016] In some embodiments, after feeding back network congestion information to the first device, the method further includes: receiving a data stream with a second resolution sent by the first device; detecting whether the data stream includes a first marker; if the data stream does not include the first marker, the data stream is a second data stream, and the second data stream is parsed to form a second display screen; if the data stream includes the first marker, the data stream is a first data stream, and the first data stream is parsed to form a first display screen, and the first display screen is subjected to noise reduction processing and / or sharpening processing.
[0017] In some embodiments, after receiving and displaying target content projected by the first device via the first network in a preset projection mode, the method further includes: generating a switching instruction based on a user's switching operation on the second device; sending the switching instruction to the first device; and receiving the next target content in the projection list projected by the first device according to the switching instruction, which is the next target content of the current target content.
[0018] This disclosure also provides an electronic device, including at least a memory and a processor, wherein the memory stores a computer program, and the processor, when executing the computer program in the memory, implements the steps of the screen projection method described in the preceding claims.
[0019] The beneficial effects of this disclosure are as follows: by simultaneously improving the first device as the sending end and the second device as the receiving end, the presentation effect of the target content during the screen projection process is optimized and the operability is expanded, thereby improving the user experience during the screen projection process. Attached Figure Description
[0020] To more clearly illustrate the technical solutions in the embodiments of this disclosure 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 disclosure. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0021] Figure 1 This is a flowchart of the screen projection method in the first embodiment of this disclosure;
[0022] Figure 2 This is a flowchart illustrating the execution steps of step S12 in the first embodiment of this disclosure;
[0023] Figure 3 This is another flowchart of the screen projection method in the first embodiment of this disclosure;
[0024] Figure 4 This is a flowchart of the screen projection method in the second embodiment of this disclosure;
[0025] Figure 5 This is another flowchart of the screen projection method in the second embodiment of this disclosure;
[0026] Figure 6 This is a flowchart illustrating the execution steps of step S42 in the second embodiment of this disclosure;
[0027] Figure 7 This is another flowchart of the screen projection method in the second embodiment of this disclosure;
[0028] Figure 8 This is a schematic diagram of the structure of the electronic device in the third embodiment of this disclosure. Detailed Implementation
[0029] Various embodiments and features of this disclosure are described herein with reference to the accompanying drawings.
[0030] It should be understood that various modifications can be made to the embodiments described herein. Therefore, the above description should not be considered as limiting, but merely as an example of embodiments. Other modifications within the scope and spirit of this disclosure will be apparent to those skilled in the art.
[0031] The accompanying drawings, which are included in and form part of this specification, illustrate embodiments of the present disclosure and, together with the general description of the disclosure given above and the detailed description of the embodiments given below, serve to explain the principles of the disclosure.
[0032] These and other features of this disclosure will become apparent from the following description of preferred forms of embodiments given as non-limiting examples, with reference to the accompanying drawings.
[0033] It should also be understood that although this disclosure has been described with reference to some specific examples, many other equivalent forms of this disclosure can be definitively implemented by those skilled in the art, which have the features of the claims and are therefore within the scope of protection defined herein.
[0034] The above and other aspects, features and advantages of this disclosure will become more apparent when taken in conjunction with the accompanying drawings and in view of the following detailed description.
[0035] Specific embodiments of this disclosure are described thereafter with reference to the accompanying drawings; however, it should be understood that the claimed embodiments are merely examples of this disclosure, which may be implemented in various ways. Well-known and / or repeated functions and structures are not described in detail to avoid unnecessary or redundant details that could obscure this disclosure. Therefore, the specific structural and functional details claimed herein are not intended to be limiting, but merely to serve as the basis and representative basis for the claims to teach those skilled in the art to use this disclosure in a variety of substantially any suitable detailed structures.
[0036] This specification may use the phrases “in one embodiment,” “in another embodiment,” “in yet another embodiment,” or “in still another embodiment,” all of which may refer to one or more of the same or different embodiments according to this disclosure.
[0037] To address the problems existing in the prior art, the first embodiment of this disclosure provides a screen projection method applied to a first device. The first device mainly refers to a device that sends target content, generally a small device such as a mobile phone, tablet, or laptop, or a device used by a meeting host. The flowchart of the screen projection method is shown below. Figure 1 As shown, it mainly includes steps S11 and S12:
[0038] S11, connect to the first network;
[0039] S12, the target content is delivered to at least one second device via the first network in a preset projection method.
[0040] In this embodiment, the first network is primarily a wireless network. After the first device connects to the wireless network, it can project target content to at least one second device belonging to the same network. The second device is the receiving device, which can be a device with a large screen such as a television or projector, or various electronic devices held by participants in a meeting, as long as they can connect to the first network. In actual screen projection, the first device can project one-to-one or simultaneously to multiple second devices. When there are multiple second devices, the screen displayed on each second device is synchronized with the first device, but other operations performed on each second device do not affect the screen display of other second devices.
[0041] Currently, the preset screen mirroring methods mainly include mirroring and file mirroring. Mirroring mirroring refers to mirroring the content currently displayed on the first device's screen to the second device's screen. This means that whatever content is displayed on the first device will be displayed on the second device's screen in real time. Therefore, sharing can be achieved by opening documents, images, or audio / video files on the first device. File mirroring, on the other hand, involves sending the content to be mirrored separately. The second device only displays the target content, which can be at least one of document files, image files, or audio / video files. Specifically, if the target content is a document file, the first device can usually send the document file directly to the second device for display. If the target content is an image file and / or an audio / video file, a playback address (URL) can be generated using the DLNA protocol. The HTTP server is used to obtain the specific data of the image file and / or audio / video file, and the playback address is sent to the second device over the network, allowing the second device to download and play the corresponding data, achieving a simultaneous download and playback effect.
[0042] Specifically, corresponding to the screen mirroring method, the first device mainly performs the following steps when executing step S12: Figure 2 The steps shown are as follows:
[0043] S21, Detect whether the current displayed content of the first device is a document file and / or an image file; if the current displayed content is a document file and / or an image file, proceed to step S22; otherwise, proceed to step S23.
[0044] S22, a first data stream is generated in real time based on the current display content of the first device, and the first data stream includes at least a first marker;
[0045] S23, generate a second data stream in real time based on the content currently displayed on the first device;
[0046] S24, the first or second data stream generated in real time is sent to the second device through the first network.
[0047] Corresponding to the implementation principle of screen mirroring, it is essentially equivalent to sending the content currently displayed on the first device as a data stream, similar to sending a video or audio data stream to the second device. After receiving the data stream, the second device parses or reassembles it to form a video-like image, which is then played on the screen. The target content to be mirrored by the first device (i.e., the content opened on the first device) is generally a document file, image file, or audio / video file. Of course, other content displayed on the screen while operating the first device will also be sent. In typical conference scenarios, document files and image files are frequently displayed, requiring good projection performance on the second device. This embodiment detects and identifies the content currently displayed on the first device during data stream generation. When primarily projecting document files and / or image files, a first marker is added to the first data stream to differentiate it from the second data stream generated when projecting audio and video files. This facilitates rapid content type determination by the second device upon receiving the data stream, enabling it to perform additional processing on the document files and / or image files. For example, it can extract, copy, and paste text or image content, or optimize the presentation by performing noise reduction or sharpening on the text and image content parsed from the first data stream.
[0048] In practical use, the resolution of the data stream generated by the first device may vary due to the network conditions of the first network. If the network is smooth, the first or second data stream generated by the first device will have a higher first resolution; if the network is congested, the first or second data stream generated by the first device will have a lower second resolution. Reducing the resolution ensures stable data stream transmission. In some embodiments, the first device adjusts the resolution of the data stream according to network conditions during the transmission of the first or second data stream, such as... Figure 3As shown, in step S31, the first device can perform real-time network status detection of the first network. If it detects that the network is in a congested state, then step S32 is executed to reduce the resolution from the first resolution to the second resolution when generating the first data stream or the second data stream in real time. If it detects that the first network is not in a congested state, then step S33 is executed to continuously generate the first data stream or the second data stream in real time according to the first resolution. In fact, step S31 is executed continuously to detect the network status in real time. In some embodiments, if the network status of the first network recovers from a congested state to a non-congested state, the resolution of the first data stream or the second data stream can be increased from the second resolution to the first resolution accordingly. In addition, the specific determination conditions for the network congestion state or non-congestion state of the first network can be set independently according to actual needs. At the same time, the values of the first resolution and the second resolution can also be adjusted as needed, as long as the second resolution is lower than the first resolution. Preferably, the first resolution can be limited to 1080 PPI and the second resolution can be limited to 480 PPI. Of course, the above settings are only examples and should not limit this disclosure.
[0049] In some embodiments, any device in the first network should have the function of detecting network status, and there should also be a feedback mechanism between devices for information exchange. Therefore, the second device also has the function of detecting network status. When it detects that the network status of the first network is congested, it can feed back the network congestion information to the first device. When the first device receives the network congestion information, it can know that the first network is in a congested state. At this time, when generating the first data stream or the second data stream in real time, it can reduce its resolution from the first resolution to the second resolution.
[0050] In real-world meeting scenarios, there are often multiple presenters, and materials need to be sent to each presenter. Currently, common methods include the meeting organizer manually compiling all presenters' materials into a single submission file, or switching between submission files via multiple operations on the first device during the presentation. Both methods are time-consuming and require significant effort from the meeting organizer, and may even disrupt the meeting. This embodiment, however, creates a submission list when the first device is projecting files. At least one target content to be projected is placed in the submission list, and the target content is projected according to the order in the list. During the projection process using the submission list, the first device can also detect in real-time whether a switching command has been received. If a switching command is received, it indicates that a switch of target content is needed, and the next target content in the submission list can be projected to the second device for display. In this embodiment, the switching instruction can be generated when the user performs a switching operation on the first device, that is, when the user clicks a switching button (such as a page turn, next, or other button) on the first device; the switching instruction can also be fed back to the first device by the second device. In this case, the user can directly perform the switching operation on the second device, such as clicking a switching button on the second device. When the second device receives the user's switching operation, it generates a switching instruction and feeds it back to the first device to inform the first device of the user's current switching intention.
[0051] This embodiment achieves target content switching control by detecting switching commands through a first device. These switching commands can originate from a second device, enabling the second device to also perform target content switching. During the meeting, the presenter can directly operate the large-screen device (receiving end) without frequently switching between the small-screen device (sending end) and the target content, resulting in a better user experience.
[0052] This embodiment improves the first device, which acts as the sending end, by making different improvements to the first device according to different screen projection methods. This optimizes the presentation effect of the target content and expands the operability during the screen projection process, thereby enhancing the user experience during screen projection.
[0053] The second embodiment of this disclosure provides a screen projection method applied to a second device. The second device is mainly used as a receiving end and mainly refers to devices with large screens such as televisions and projectors. It can also be various electronic devices held by participants in the meeting. The number of second devices in the same network is not limited. Under network conditions, all the devices held by all participants in a meeting can be used as second devices, so that each participant can watch the meeting content through their own device, which is more conducive to improving the meeting experience. Figure 4The flowchart of the screen projection method in this embodiment is shown, which mainly includes steps S41 and S42:
[0054] S41, connect to the first network;
[0055] S42, receive and display the target content sent by the first device through the first network in a preset projection method via the first network.
[0056] In this embodiment, the first network is primarily a wireless network. After the second device connects to the wireless network, it can receive target content sent by the first device within the same network and display it on its own screen. During actual screen casting, the first device can perform one-to-one casting or simultaneously cast target content to multiple second devices. When multiple second devices are present, the display of each second device is synchronized with the first device, but other operations performed by each second device on its own device do not affect the display of other second devices.
[0057] Corresponding to the currently preset screen casting methods, including mirroring and file casting, the second device receives the data stream sent by the first device in mirroring mode, parses and reassembles it, and then presents the target content in a video-like manner. In file casting mode, it receives the document file and displays the corresponding document locally, or downloads and plays the image or audio / video file while receiving the playback address.
[0058] Furthermore, Figure 5 The diagram illustrates another implementation flowchart of the screen projection method in this embodiment, which can perform the following operations after receiving the target content sent by the first device:
[0059] S51, upon receiving an extraction instruction, extract text or images from the currently displayed target content;
[0060] S52 performs preset operations on the extracted text or images.
[0061] During the presentation of target content on a second device, especially in meeting or teaching scenarios, users of the second device can only view the target content or perform simple playback and pause operations. They cannot directly use the specific text or image information contained in the target content. Therefore, manual note-taking or one-to-one transmission of the target content through other means is required before editing, resulting in low meeting or teaching efficiency and low participant engagement. In this embodiment, during the presentation of target content on the second device, the user of the second device can send an extraction command to the second device. Upon receiving the extraction command, the second device can extract the text or images from the currently displayed target content and perform preset operations such as copying, pasting, and saving the extracted text or images.
[0062] Specifically, the second device, as a controllable device, typically has external control devices such as remote controls, mice, and styluses, or the second device itself is a touch-enabled device, allowing users to control it via these devices or by tapping the screen. The extraction command is a command generated by the user during screen projection when they wish to extract text or images from the currently displayed content, through the control device or tapping operation. Upon receiving the extraction command, the second device can extract the corresponding text or image from the currently displayed target content and perform operations such as copying, pasting, and saving the extracted text according to the user's actual needs. In some embodiments, when extracting text, all currently displayed text can be extracted first, and then, based on the user's selection of certain text, preset operations can be executed on the selected text. If the currently displayed content includes an image that the user wishes to extract, the image can be separated from the entire currently displayed screen for further processing.
[0063] Specifically, corresponding to the screen mirroring method, the second device mainly performs the following actions during step S42: Figure 6 The steps shown are as follows:
[0064] S61, Receive the data stream sent by the first device;
[0065] S62, detect whether the data stream includes the first marker. If the first marker is not included, proceed to step S63. If the first marker is included, proceed to step S64.
[0066] S63, the data stream is a second data stream, and the second data stream is parsed to form a second display screen;
[0067] S64, the data stream is the first data stream, and the first data stream is parsed to form the first display screen;
[0068] S65 performs noise reduction and / or sharpening processing on the first display screen upon receiving an enhancement command.
[0069] The first device generates a first data stream with a first marker and a second data stream without the first marker based on the currently displayed content. This is mainly used to distinguish between document files and image files. Corresponding to the first data stream with the first marker, the main content presented is in the form of text or images, which is usually the main content of the meeting. During the screen projection process, due to the poor clarity of the original text or images on the first device, the reduction in image quality during transmission, or the difference in resolution between the first and second devices, the text or images presented on the second device are often blurry, making it difficult for users to clearly understand the content. In this embodiment, upon receiving the first data stream, it can also detect in real time whether an enhancement command issued by the user has been received. If an enhancement command is received, the first display screen formed by parsing the first data stream can be subjected to noise reduction and / or sharpening processing to enhance the image clarity, thereby improving the clarity of text or images and providing users with a better viewing experience.
[0070] It should be noted that this embodiment only enhances text and image content, and does not enhance all types of received data streams. The main reason is that in user scenarios, not all screen-projected content needs to be enhanced. Global enhancement would introduce more latency, while selective enhancement is faster, has lower latency, and is more effective for documents and images, which have slower refresh rates.
[0071] In practical use, when the first device simultaneously projects content to multiple second devices, any one of the second devices can perform the aforementioned content extraction and enhancement operations without affecting the subsequent content projection by the first device or the display on other second devices. Furthermore, regarding potential screen delays or desynchronization caused by content extraction or enhancement by the second device, the display on that second device can quickly synchronize with other devices after the extraction or enhancement process is complete, ensuring optimal projection performance.
[0072] In actual use of screen mirroring, the resolution of the data stream generated by the first device may vary due to the network status of the first network. If the network is smooth, the first or second data stream generated by the first device will have a higher first resolution; if the network is congested, the first or second data stream generated by the first device will have a lower second resolution. Reducing the resolution ensures stable data stream transmission. In some embodiments, the second device can detect the network status of the first network in real time and, when the network is congested, provide network congestion information to the first device to inform it to adjust the resolution of the data stream to ensure smooth transmission.
[0073] Furthermore, distinct from Figure 6 The second device shown in the diagram only performs corresponding processing under the control of enhanced instructions. Figure 7 The flowchart shown illustrates the automatic enhancement process performed on the received data stream when the second device determines that the first network is congested. Specifically, Figure 7 The methods shown mainly include:
[0074] S71, receive a data stream with a second resolution sent by the first device;
[0075] S72, Detect whether the data stream includes the first marker; if the data stream does not include the first marker, execute step S73; if the data stream includes the first marker, execute step S74.
[0076] S73, the data stream is a second data stream, and the second data stream is parsed to form a second display screen;
[0077] S74, the data stream is the first data stream, the first data stream is parsed to form the first display screen, and the first display screen is subjected to noise reduction and / or sharpening processing.
[0078] The data stream received by the second device after reporting network congestion information to the first device is the data stream after resolution reduction. Then, it checks whether it includes the first marker, that is, to determine whether it is a data stream that displays text or images. The data stream with the first marker can be identified as the first data stream. At this time, due to network conditions, the clarity of text, images and other content will be more affected when displayed on the second device after resolution reduction. Therefore, in this case, the second device can automatically start enhancement processing without user control to improve the display effect of text and images.
[0079] In some embodiments, the second device, acting as the receiving end, may be equipped with a switching button. When a user performs a switching operation on the second device, the second device generates a corresponding switching command. Alternatively, the user can express their intention to switch the target content through preset gestures, voice commands, or actions. After generating the switching command, the second device can feed it back to the first device via the first network to inform the first device of the user's switching intention. When the first device receives the switching command, it indicates that a switch of target content is required. At this time, the first device sends the next target content from the currently being sent target content list to the second device, which then displays the corresponding target content. This embodiment achieves target content switching control by having the second device feed back a switching command to the first device, enabling the second device to also have the function of switching target content. During the meeting, the presenter can directly operate the large-screen device acting as the receiving end, without having to frequently switch between the small-screen device acting as the sending end, resulting in a better user experience.
[0080] This embodiment improves the second device, which acts as the receiving end, by making different improvements to the second device according to different screen projection methods. This optimizes the presentation effect of the target content and expands the operability during the screen projection process, thereby enhancing the user experience during screen projection.
[0081] The third embodiment of this disclosure provides an electronic device, which can be any device for sending or receiving target content for screen projection, as shown in the schematic diagram below. Figure 8 As shown, it includes at least a memory 100 and a processor 200. The memory 100 stores a computer program, and when the processor 200 executes the computer program in the memory 100, it implements the method provided in the first embodiment or the second embodiment of this disclosure according to its different purposes.
[0082] The foregoing has provided a detailed description of several embodiments of this disclosure. However, this disclosure is not limited to these specific embodiments. Those skilled in the art can make various variations and modifications based on the concept of this disclosure, and all such variations and modifications should fall within the scope of protection claimed by this disclosure.
Claims
1. A screen projection method, applied to a first device, characterized in that, include: Access to the first network; The target content is projected to at least one second device via the first network in a preset projection method, and the second device is connected to the first network. The preset screen casting methods include at least one of: screen mirroring and file casting. When the preset projection method is mirror projection, the step of projecting the target content to at least one second device via the first network using the preset projection method includes: Detect whether the content currently displayed on the first device is a document file and / or an image file; When the currently displayed content is a document file and / or an image file, a first data stream is generated in real time based on the current displayed content of the first device. The first data stream includes at least a first marker, so that when the second device receives the first data stream including the first marker, it can perform noise reduction and / or sharpening processing on the first display screen formed by parsing the first data stream. If the currently displayed content is not a document file and / or an image file, a second data stream is generated in real time based on the currently displayed content of the first device. The first data stream or the second data stream generated in real time is sent to the second device through the first network.
2. The screen projection method according to claim 1, characterized in that, After sending the first data stream or the second data stream generated in real time to the second device through the first network, the method further includes: Detect the network status of the first network; If the first network is in a state of network congestion, the resolution of the first data stream or the second data stream generated in real time will be reduced from the first resolution to the second resolution.
3. The screen projection method according to claim 1, characterized in that, After sending the first data stream generated in real time to the second device through the first network, the method further includes: Upon receiving network congestion information from the second device, the resolution of the first or second data stream generated in real time is reduced from the first resolution to the second resolution.
4. The screen projection method according to any one of claims 1 to 3, characterized in that, The step of sending target content to at least one second device via the first network in a preset projection method includes: At least one of the target contents is placed in the delivery list, and the target contents are delivered to the second device in the order of the delivery list.
5. The screen projection method according to claim 4, characterized in that, After placing at least one of the target contents in the delivery list and delivering the target contents to the second device in the order of the delivery list, the method further includes: Upon receiving a switching instruction, the next target content of the current target content in the delivery list is delivered to the second device; wherein, the switching instruction is generated based on the user's switching operation on the first device, or the switching instruction is sent from the second device to the first device.
6. A screen projection method, applied to a second device, characterized in that, include: Access to the first network; The first device receives and displays target content projected by the first device via the first network in a preset projection method through the first network; After receiving and displaying the target content projected by the first device via the first network in a preset projection method, the method further includes: Upon receiving an extraction instruction, extract text or images from the currently displayed target content; Perform preset operations on the extracted text or images, where the preset operations include at least one of copying, pasting, and saving; when the preset projection method is mirror projection, receiving and displaying the target content projected by the first device through the first network in the preset projection method via the first network includes: Receive the data stream sent by the first device; Detect whether the data stream includes a first marker; If the data stream does not include the first marker, the data stream is a second data stream, and the second data stream is parsed to form a second display screen; When the data stream includes a first marker, the data stream is a first data stream. The first data stream is parsed to form a first display screen, and when an enhancement command is received, the first display screen is subjected to noise reduction and / or sharpening processing.
7. The screen projection method according to claim 6, characterized in that, After receiving the data stream sent by the first device, the method further includes: Detect the network status of the first network; When the first network is in a state of network congestion, network congestion information is fed back to the first device.
8. The screen projection method according to claim 7, characterized in that, After reporting network congestion information to the first device, the process also includes: Receive the data stream with the second resolution sent by the first device; Detect whether the data stream includes a first marker; If the data stream does not include the first marker, the data stream is a second data stream, and the second data stream is parsed to form a second display screen; If the data stream includes a first marker, the data stream is a first data stream. The first data stream is parsed to form a first display image, and the first display image is subjected to noise reduction and / or sharpening processing.
9. The screen projection method according to any one of claims 6 to 8, characterized in that, After receiving and displaying the target content projected by the first device via the first network using a preset projection method, the process further includes: Generate a switching command based on the user's switching operation on the second device; The switching instruction is sent to the first device, and the next target content of the current target content in the delivery list delivered by the first device according to the switching instruction is received.
10. An electronic device, comprising at least a memory and a processor, wherein the memory stores a computer program, characterized in that, The processor implements the steps of the screen projection method according to any one of claims 1 to 9 when executing the computer program on the memory.
Citation Information
Patent Citations
Smart phone screen projection method
CN112492359A