Screen projection method, device and system, electronic equipment and storage medium
By receiving the broadcast signal from the target device, parsing the projection information, and displaying the request prompt, the problem of cumbersome screen projection operations and privacy leaks between mobile phones and in-vehicle terminals is solved, realizing a convenient and secure screen projection process.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- SHANGHAI QINGGAN INTELLIGENT TECH CO LTD
- Filing Date
- 2021-04-30
- Publication Date
- 2026-05-08
AI Technical Summary
In existing technologies, screen mirroring between mobile phones and in-vehicle terminals is cumbersome, poses a risk of privacy leaks, and results in a poor user experience.
The receiving end sends a broadcast signal by sending a screen projection signal, parses the projection information and determines whether to display a screen projection request prompt, and responds to the user's confirmation to execute the screen projection. This avoids the user having to search for the receiving end on the projection end, simplifies the operation process and reduces the error rate.
It improves the convenience and security of screen mirroring, reduces connection error rates, and enhances user experience and data privacy protection.
Smart Images

Figure CN115268808B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of screen projection, and in particular to a screen projection method, apparatus and system, electronic device and storage medium. Background Technology
[0002] With the continuous development of computer and electronic technologies, the application of smart electronic devices is becoming increasingly widespread. When using smart electronic devices, people often need to perform screen mirroring operations between devices, that is, displaying the content displayed on the screen of one electronic device on the screen of another electronic device, such as displaying the content displayed on the mobile phone screen on a vehicle terminal.
[0003] In existing technologies, when projecting content displayed on a mobile phone screen onto an in-vehicle terminal, the user needs to search for the target vehicle's Bluetooth name one by one from the phone's Bluetooth list and select the target vehicle before projection. The phone's Bluetooth list displays the Bluetooth names of all nearby vehicles with Bluetooth enabled. If the same vehicle's Bluetooth name exists in the phone's list, the user will be unsure which to select, and choosing the wrong name could lead to privacy breaches. For mobile phone users, this projection method is not only cumbersome but also carries the risk of privacy leaks, resulting in a poor user experience. Summary of the Invention
[0004] One objective of this application is to provide a screen mirroring method with the advantage that the screen mirroring operation is triggered by the target device. Specifically, the method receives a broadcast signal sent by the target device and performs the screen mirroring operation based on the screen mirroring information carried in the broadcast signal. This eliminates the need for the user to search for the target device on the screen mirroring device, making the operation not only convenient but also reducing the error rate of screen mirroring connections and improving the user experience.
[0005] Another objective of this application is to provide a screen mirroring method, which has the advantage of determining whether to display a screen mirroring request prompt based solely on the pop-up flag in the screen mirroring information. This method is simple, convenient, and highly efficient.
[0006] Another objective of this application is to provide a screen mirroring method, the advantage of which is that it combines the pop-up flag and the screen mirroring flag in the screen mirroring information to determine whether to display a screen mirroring request prompt. Specifically, it does not display a screen mirroring request prompt when the screen being mirrored is in progress, thereby avoiding interruption of the screen mirroring between the screen being mirrored and other electronic devices after the user confirms screen mirroring through the electronic device, thus improving the user's screen mirroring experience.
[0007] Another objective of this application is to provide a screen mirroring method, the advantage of which is that if it is determined that a screen mirroring request prompt is displayed and there is no screen mirroring record on the target electronic device, a screen mirroring request prompt is displayed, and screen mirroring is only performed after the user agrees to the screen mirroring request prompt, so that the user's privacy and data security on the electronic device are protected.
[0008] Another objective of this application is to provide a screen mirroring method, the advantage of which is that if it is determined that a screen mirroring request prompt is displayed and there is a screen mirroring record on the target electronic device, then there is no need to display a screen mirroring request prompt, and the screen mirroring operation can be performed directly. That is, the user does not need to confirm the screen mirroring to the target electronic device again, which improves the efficiency of screen mirroring to the same target device.
[0009] Another objective of this application is to provide a screen mirroring method, the advantage of which is that if it is determined from the broadcast signals received from multiple screen mirroring terminals that at least two screen mirroring request prompts are displayed, then the screen mirroring request prompts are displayed through interaction with the user. Specifically, the screen mirroring request prompts are displayed in response to the user's swipe operation, thereby improving the human-computer interaction experience.
[0010] Another objective of this application is to provide a screen mirroring method, which has the advantage of being able to respond promptly to user-triggered exit screen mirroring operations during the screen mirroring process, thereby protecting user privacy and data security in electronic devices.
[0011] Another objective of this application is to provide a screen mirroring device with the advantage that the screen mirroring operation is triggered by the target device. Specifically, the device receives a broadcast signal sent by the target device and performs the screen mirroring operation based on the screen mirroring information carried in the broadcast signal. This eliminates the need for the user to search for the target device on the screen mirroring device, making the operation not only convenient but also reducing the error rate of screen mirroring connections and improving the user experience.
[0012] Another objective of this application is to provide a screen projection system with the advantage that the screen projection operation is triggered by the vehicle terminal. Specifically, the vehicle terminal sends a broadcast signal, the electronic device receives the broadcast signal, and performs the screen projection operation according to the screen projection information carried in the broadcast signal. This eliminates the need for the user to search for the vehicle terminal in the electronic device, making the operation not only convenient but also reducing the error rate of screen projection connection and improving the user experience.
[0013] Another objective of this application is to provide an electronic device with the advantage that the screen casting operation is triggered by the target device. Specifically, the electronic device receives a broadcast signal sent by the target device and performs the screen casting operation according to the screen casting information carried in the broadcast signal. This eliminates the need for the user to search for the target device on the electronic device, making the operation not only convenient but also reducing the error rate of screen casting connection and improving the user experience.
[0014] Another objective of this application is to provide a computer-readable storage medium with the advantage that the screen casting operation is triggered by the screen-casting terminal. Specifically, the device receives a broadcast signal sent by the screen-casting terminal and performs the screen casting operation based on the screen casting information carried in the broadcast signal. This eliminates the need for the user to search for the screen-casting terminal on the screen-casting terminal, making the operation not only convenient but also reducing the error rate of screen casting connections and improving the user experience.
[0015] The first aspect of the present invention provides a screen projection method, comprising the following steps:
[0016] Receive broadcast signals;
[0017] The broadcast signal is analyzed to obtain the projection information;
[0018] Based on the screen casting information, determine whether to display a screen casting request prompt;
[0019] If it is determined that a screen casting request prompt should be displayed, then a screen casting request prompt should be displayed.
[0020] In response to the user's confirmation prompt for agreeing to the screen mirroring request, the screen mirroring operation is executed.
[0021] A second aspect of the present invention provides a screen projection device, comprising: a processor, a memory, a communication module, and a display module;
[0022] The communication module receives broadcast signals;
[0023] The processor communicates with the communication module and the display module respectively; and
[0024] The memory is configured to store instructions that, when executed by the processor, cause the processor to perform steps, the steps including:
[0025] The broadcast signal is analyzed to obtain the projection information;
[0026] Based on the screen casting information, determine whether to display a screen casting request prompt;
[0027] If a screen mirroring request prompt is determined, a screen mirroring request prompt is displayed on the display module.
[0028] In response to the user's confirmation prompt for agreeing to the screen mirroring request, the screen mirroring operation is executed.
[0029] A third aspect of the present invention provides a screen projection system, including an in-vehicle terminal and an electronic device.
[0030] The vehicle-mounted terminal emits a broadcast signal;
[0031] The electronic device receives the broadcast signal; parses the broadcast signal to obtain screen projection information; determines whether to display a screen projection request prompt based on the screen projection information; if it determines that a screen projection request prompt should be displayed, it displays the screen projection request prompt; and in response to the user's confirmation operation of agreeing to the screen projection request prompt, projects the screen onto the vehicle terminal.
[0032] A fourth aspect of the present invention provides an electronic device, including a communication module, a display module, a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the steps of the screen projection method described in the first aspect.
[0033] A fifth aspect of the present invention provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the steps of the screen projection method described in the first aspect. Attached Figure Description
[0034] Figure 1 This is a flowchart of a screen projection method provided in Embodiment 1 of the present invention.
[0035] Figure 2 This is an application scenario diagram of a screen projection method provided in Embodiment 1 of the present invention.
[0036] Figure 3 This is a display effect diagram of the screen casting request prompt provided in Embodiment 1 of the present invention.
[0037] Figure 4 This is another display effect diagram of the screen casting request prompt provided in Embodiment 1 of the present invention.
[0038] Figure 5 This is a flowchart of another screen projection method provided in Embodiment 1 of the present invention.
[0039] Figure 6 This is a structural block diagram of a screen projection system provided in Embodiment 2 of the present invention.
[0040] Figure 7 This is a schematic diagram of the structure of an electronic device provided in Embodiment 3 of the present invention. Detailed Implementation
[0041] The present invention will be further illustrated by way of embodiments below, but the present invention is not limited to the scope of the embodiments described herein.
[0042] Example 1
[0043] Figure 1 This is a flowchart illustrating a screen projection method provided in this embodiment. The method can be executed by a screen projection device, which can be implemented through software and / or hardware. The screen projection device can be part or all of an electronic device. The electronic device can be a mobile terminal such as a mobile phone, wearable device, PDA (Personal Digital Assistant), or tablet computer. The screen projection method provided in this embodiment will be described below using an electronic device as the executing entity.
[0044] like Figure 1 As shown, the screen projection method provided in this embodiment may include the following steps S101 to S105:
[0045] Step S101: Receive broadcast signal. The projection device (electronic device) receives the broadcast signal emitted by the projection device, which can be a Bluetooth broadcast signal, such as a BLE (Bluetooth Low Energy) broadcast signal.
[0046] In the example where the broadcast signal is a Bluetooth broadcast signal, it should be noted that both the projected device and the projecting device need to have Bluetooth enabled so that the projecting device can receive the Bluetooth broadcast signal sent by the projected device.
[0047] In one optional implementation, the broadcast signal is emitted by the vehicle-mounted terminal, meaning the device being projected onto the screen is the vehicle-mounted terminal. In one specific example, such as... Figure 2 As shown, in response to the user's confirmation of screen mirroring triggered by the in-vehicle terminal, the in-vehicle terminal sends a broadcast signal, which is received by the mobile phone. In this example, the mobile phone's screen can be mirrored to the in-vehicle terminal's screen for display.
[0048] In other optional embodiments, the broadcast signal can be emitted by other electronic devices, i.e., the projected device is another electronic device. These other electronic devices can be mobile phones, smart home appliances, wearable devices, etc. In these embodiments, the screen interface of the electronic device receiving the broadcast signal is projected onto the screen of the other electronic device for display.
[0049] Step S102: Analyze the broadcast signal to obtain the projection information.
[0050] In practice, electronic devices can parse broadcast signals according to the protocol agreed upon with the target device to obtain the necessary projection information.
[0051] In practice, the aforementioned screen projection information may include a wireless connection mode, such as P2P (point-to-point) mode or AP (access point) mode. Electronic devices can call different interfaces according to the wireless connection mode in the screen projection information to establish a wireless connection with the target device and perform screen projection operations based on that wireless connection.
[0052] In practice, the aforementioned projection information may also include device information of the target device. In an example where the target device is a vehicle, the projection information may include vehicle model, manufacturer, and / or vehicle image, etc.
[0053] Step S103: Based on the screen projection information, determine whether to display a screen projection request prompt. If yes, proceed to step S104; otherwise, end the process.
[0054] In one optional implementation, the screen casting information includes a pop-up flag indicating whether to display a screen casting request prompt. Step S103 specifically includes: if the pop-up flag indicates that a screen casting request prompt should be displayed, then it is determined that the screen casting request prompt should be displayed; if the pop-up flag indicates that a screen casting request prompt should not be displayed, then it is determined that the screen casting request prompt should not be displayed. This implementation determines whether to display a screen casting request prompt based solely on the value of the pop-up flag. In a specific example, if the pop-up flag Flag1 = 1, it indicates that a screen casting request prompt should be displayed; if the pop-up flag Flag1 = 0, it indicates that a screen casting request prompt should not be displayed. If the pop-up flag Flag1 = 1, then it is determined that a screen casting request prompt should be displayed. If the pop-up flag Flag1 = 0, then it is determined that a screen casting request prompt should not be displayed.
[0055] In an optional implementation, the screen casting information includes a pop-up flag indicating whether a screen casting request prompt is displayed and a screen casting flag indicating whether screen casting is in progress. Step S103 specifically includes: if the pop-up flag indicates that a screen casting request prompt is displayed, and the screen casting flag indicates that screen casting is not in progress, then it is determined that a screen casting request prompt is displayed; otherwise, it is determined that a screen casting request prompt is not displayed. This implementation determines whether to display a screen casting request prompt based on the values of the pop-up flag and the screen casting flag.
[0056] In a specific example, if Flag1 = 1, a screen mirroring request prompt is displayed; if Flag1 = 0, a screen mirroring request prompt is not displayed. If Flag2 = 1, the target device is currently mirroring; if Flag2 = 0, the target device is not currently mirroring. If Flag1 = 1 and Flag2 = 0, a screen mirroring request prompt is displayed. If Flag1 = 1 and Flag2 = 1, if Flag1 = 0 and Flag2 = 1, or if Flag1 = 0 and Flag2 = 0, a screen mirroring request prompt is not displayed.
[0057] In this embodiment, if the device being cast is already casting, the electronic device will not display a casting request prompt, thereby preventing the user from interrupting the casting process between the device being cast and other electronic devices after confirming casting through the electronic device, thus improving the user's casting experience.
[0058] In practice, the screen projection request prompt can be a dialog box, a display control, or a QR code, etc., and the specific form is not limited.
[0059] Step S104: Display a screen mirroring request prompt. Display a screen mirroring request prompt on the screen of the electronic device, such as by popping up a dialog box, displaying corresponding controls, or displaying a QR code. In the example where the target device is a vehicle, the screen mirroring request prompt may include the vehicle model, manufacturer, and / or a vehicle image. In a specific implementation example, the electronic device has a screen mirroring application installed, and the screen mirroring request prompt can be displayed on the screen mirroring application's display interface.
[0060] Step S105: In response to the user's confirmation of the screen mirroring request, execute the screen mirroring operation. The screen of the electronic device receives the user's operation on the screen mirroring request prompt. If it receives the user's confirmation of the screen mirroring request prompt, it executes the screen mirroring operation. Specifically, the screen interface of the electronic device is sent to the target device for display.
[0061] In one optional implementation, after step S105, the process further includes: stopping screen mirroring in response to a user-triggered exit screen mirroring operation during the screen mirroring process. In specific implementations, users can trigger exit screen mirroring via an electronic device, for example, by actively disconnecting the wireless connection between the electronic device and the vehicle terminal, or by clicking the exit screen mirroring button displayed on the electronic device screen. It should be noted that, to protect user privacy and data security on the electronic device, users can trigger exit screen mirroring at any time via the electronic device.
[0062] In one optional implementation, broadcast signals from multiple target devices, such as multiple vehicles, are received by an electronic device, such as a mobile phone. These broadcast signals are parsed to obtain multiple projection information messages. Based on these messages, at least two projection request prompts are displayed. In this implementation, if at least two projection request prompts are present, the prompts are displayed in response to a user's swipe gesture, and a projection operation is performed in response to the user's confirmation of agreement to one of the projection request prompts.
[0063] In such Figure 3 In the example shown, the device being projected is a vehicle, and the projecting device is a mobile phone. The mobile phone, based on the received broadcast signal, displays three projection request prompts. It responds to the user's left or right swipe gestures to display a projection request prompt, and responds to the user clicking the projection button in the current projection request prompt to project the mobile phone's screen onto the New Baojun RM-5 for display. In such cases... Figure 4 In the example shown, the device being projected is a vehicle, and the projecting device is a mobile phone. The mobile phone, based on the received broadcast signal, displays four projection request prompts. It responds to the user's up and down swipe gestures to display a projection request prompt. Finally, it responds to the user clicking the projection button in the third projection request prompt (from top to bottom) to project the mobile phone's screen onto the Honda CRV. Figure 3 and Figure 4In the example shown, the screen mirroring request prompt includes the vehicle model and a vehicle image, making it easier for users to select the target vehicle from multiple vehicles broadcasting the signal.
[0064] like Figure 5 As shown, the screen projection method provided in this embodiment may further include the following steps S201 to S208:
[0065] Step S201: Receive broadcast signal.
[0066] Step S202: Analyze the broadcast signal to obtain the projection information.
[0067] Step S203: Based on the screen projection information, determine whether to display a screen projection request prompt. If yes, proceed to step S204; otherwise, end the process.
[0068] Step S204: Obtain screen mirroring records. In practice, screen mirroring records can be obtained locally from the electronic device or from a server.
[0069] Step S205: Determine if there is a confirmation operation in the screen projection record indicating that the user agrees to project the screen to the target electronic device. If not, proceed to step S206; if yes, proceed to step S208. The target electronic device is the electronic device that sends the broadcast signal, i.e., the device to which the screen is projected.
[0070] Step S206: Display the screen mirroring request prompt.
[0071] Step S207: In response to the user's confirmation prompt for agreeing to the screen mirroring request, perform the screen mirroring operation.
[0072] In this embodiment, if it is determined that a screen casting request prompt is displayed and there is no screen casting record on the target electronic device, a screen casting request prompt is displayed, and screen casting will only proceed after the user agrees to the screen casting request prompt, thus ensuring the user's privacy and data security on the electronic device.
[0073] Step S208: Perform the screen mirroring operation.
[0074] In this embodiment, if it is determined that a screen casting request prompt is displayed and there is a screen casting record on the target electronic device, then there is no need to display a screen casting request prompt, and the screen casting operation can be performed directly. That is, the user does not need to confirm the screen casting to the target electronic device again, which improves the efficiency of screen casting to the same target device.
[0075] It should be noted that steps S201 to S203 in the screen projection method provided in this embodiment can refer to steps S101 to S103 above, and steps S206 to S207 can refer to steps S104 to S105 above.
[0076] In this embodiment, the screen casting operation is triggered by the target device. Specifically, the device receives a broadcast signal sent by the target device and performs the screen casting operation based on the screen casting information carried in the broadcast signal. This eliminates the need for the user to search for the target device on the screen casting device, making the operation not only convenient but also reducing the error rate of screen casting connection and improving the user experience.
[0077] Example 2
[0078] like Figure 6 As shown, this embodiment provides a screen projection system 60, including an in-vehicle terminal 61 and an electronic device 62. The in-vehicle terminal, also known as a vehicle infotainment system, is an in-vehicle infotainment product installed in a vehicle, enabling information communication between people and the vehicle, and between the vehicle and the outside world. The electronic device can be a mobile terminal such as a mobile phone, wearable device, PDA, or tablet computer.
[0079] The vehicle-mounted terminal 61 emits a broadcast signal. Specifically, the broadcast signal can be a Bluetooth broadcast signal, such as a BLE broadcast signal.
[0080] Electronic device 62 receives the broadcast signal; parses the broadcast signal to obtain screen projection information; determines whether to display a screen projection request prompt based on the screen projection information; if it determines that a screen projection request prompt should be displayed, it displays the screen projection request prompt; in response to the user's confirmation operation of agreeing to the screen projection request prompt, it projects the screen onto the vehicle terminal 61.
[0081] Among them, electronic devices can parse broadcast signals according to the protocol agreed upon with the vehicle terminal, thereby obtaining the screen projection information required for screen projection.
[0082] In one optional implementation, the screen casting information includes a pop-up flag indicating whether to display a screen casting request prompt. The electronic device determines whether the pop-up flag indicates that a screen casting request prompt should be displayed; if so, it determines that the screen casting request prompt should be displayed; otherwise, it determines that the screen casting request prompt should not be displayed.
[0083] In an alternative embodiment, the screen mirroring information includes a pop-up flag indicating whether a screen mirroring request prompt should be displayed, and a screen mirroring flag indicating whether screen mirroring is in progress. The electronic device determines whether the pop-up flag indicates that a screen mirroring request prompt should be displayed, and whether the screen mirroring flag indicates that screen mirroring is not in progress. If yes, it determines that a screen mirroring request prompt should be displayed; otherwise, it determines that a screen mirroring request prompt should not be displayed. In this embodiment, if the in-vehicle terminal is currently mirroring, the electronic device will not display a screen mirroring request prompt, thereby preventing the user from interrupting the screen mirroring between the in-vehicle terminal and other electronic devices after confirming screen mirroring through the electronic device, thus improving the user's screen mirroring experience.
[0084] In practice, the aforementioned screen projection information may also include a wireless connection mode, such as P2P mode or AP mode. Electronic devices can call different interfaces according to the wireless connection mode in the screen projection information to achieve a wireless connection with the vehicle-mounted terminal and perform screen projection operations based on this wireless connection.
[0085] In practice, the aforementioned projection information may also include device information of the vehicle terminal, such as vehicle model, manufacturer, and / or vehicle image.
[0086] In practice, the screen projection request prompt can be a dialog box, a display control, or a QR code, etc., and the specific form is not limited.
[0087] In one optional implementation, the electronic device stops screen mirroring in response to a user-triggered exit action during the screen mirroring process. Specifically, the user can exit screen mirroring via the electronic device, for example, by actively disconnecting the wireless connection between the electronic device and the vehicle terminal, or by clicking the exit screen mirroring button displayed on the electronic device's screen. It should be noted that, to protect user privacy and data security within the electronic device, the user can exit screen mirroring at any time via the electronic device.
[0088] In this embodiment, the screen projection operation is triggered by the vehicle terminal. Specifically, the vehicle terminal sends a broadcast signal, the electronic device receives the broadcast signal, and performs the screen projection operation according to the screen projection information carried in the broadcast signal. Users do not need to search for the vehicle terminal in the electronic device, which not only makes the operation convenient, but also reduces the error rate of screen projection connection and improves the user experience.
[0089] Example 3
[0090] Figure 7 This is a schematic diagram of the structure of an electronic device provided in this embodiment. The electronic device includes a display module, a communication module for communicating with other devices, at least one processor, and a memory communicatively connected to the at least one processor. The memory stores instructions executable by the at least one processor, which, when executed, enable the at least one processor to perform the screen projection method of Embodiment 1. Figure 7 The electronic device 3 shown is merely an example and should not impose any limitations on the functionality and scope of use of the embodiments of the present invention.
[0091] The components of the electronic device 3 may include, but are not limited to: at least one processor 4, at least one memory 5, a bus 6 connecting different system components (including memory 5 and processor 4), a communication module 7, and a display module 8.
[0092] Bus 6 includes a data bus, an address bus, and a control bus.
[0093] The memory 5 may include volatile memory, such as random access memory (RAM) 51 and / or cache memory 52, and may further include read-only memory (ROM) 53.
[0094] The memory 5 may also include a program / utility 55 having a set (at least one) of program modules 54, including but not limited to: an operating system, one or more application programs, other program modules, and program data, each or some combination of these examples may include an implementation of a network environment.
[0095] The communication module 7 may include an antenna, a mobile communication unit, a wireless communication unit, a modem processor, and a baseband processor. The antenna is used to transmit and receive electromagnetic wave signals. The mobile communication unit can provide wireless communication solutions, including 2G / 3G / 4G / 5G, for use in electronic devices. In some embodiments, at least some functional modules of the mobile communication unit may be housed in the processor 4. In some embodiments, at least some functional modules of the mobile communication unit and at least some modules of the processor 4 may be housed in the same device. The wireless communication unit can provide wireless communication solutions, including wireless local area networks (WLANs) such as Wi-Fi networks, Bluetooth, global navigation satellite systems (GNSS), FM, near-field communication (NFC) technologies, and infrared technologies, for use in electronic devices.
[0096] Display module 8 is used to display images, videos, etc. Display module 8 includes a display panel. The display panel can be an LCD, OLED, AMOLED, QLED, etc.
[0097] Processor 4 executes various functional applications and data processing by running computer programs stored in memory 5, such as the screen projection method described above.
[0098] Electronic device 3 can also communicate with one or more external devices 7 (e.g., keyboard, pointing device, etc.). This communication can be performed through input / output (I / O) interface 9. Furthermore, electronic device 3 can also communicate with one or more networks (e.g., local area network (LAN), wide area network (WAN), and / or public network, such as the Internet) via network adapter 10. Figure 7 As shown, network adapter 10 communicates with other modules of electronic device 3 via bus 6. It should be understood that, although... Figure 7Not shown, it can be combined with electronic device 3 to use other hardware and / or software modules, including but not limited to: microcode, device drivers, redundant processors, external disk drive arrays, RAID (disk array) systems, tape drives, and data backup storage systems.
[0099] It should be noted that although several units / modules or sub-units / modules of the electronic device have been mentioned in the detailed description above, this division is merely exemplary and not mandatory. In fact, according to embodiments of the present invention, the features and functions of two or more units / modules described above can be embodied in one unit / module. Conversely, the features and functions of one unit / module described above can be further divided and embodied by multiple units / modules.
[0100] Example 4
[0101] This embodiment provides a non-transitory computer-readable storage medium storing computer instructions, which are used to cause the computer to execute the screen projection method in Embodiment 1.
[0102] The readable storage medium may be more specifically adopted, including but not limited to: portable disk, hard disk, random access memory, read-only memory, erasable programmable read-only memory, optical storage device, magnetic storage device, or any suitable combination thereof.
[0103] In a possible implementation, the present invention can also be implemented as a program product comprising program code, which, when the program product is run on an electronic device, causes the electronic device to execute the screen projection method of embodiment 1.
[0104] The program code for executing the present invention can be written in any combination of one or more programming languages. The program code can be executed entirely on an electronic device, partially on an electronic device, as a standalone software package, partially on an electronic device and partially on a remote device, or entirely on a remote device.
[0105] While specific embodiments of the present invention have been described above, those skilled in the art should understand that these are merely illustrative examples, and the scope of protection of the present invention is defined by the appended claims. Those skilled in the art can make various changes or modifications to these embodiments without departing from the principles and essence of the present invention, but all such changes and modifications fall within the scope of protection of the present invention.
Claims
1. A screen projection method, characterized in that, Includes the following steps: Receive broadcast signals; The broadcast signal is analyzed to obtain the projection information; Based on the screen casting information, determine whether to display a screen casting request prompt; If it is determined that a screen casting request prompt should be displayed, then a screen casting request prompt should be displayed. In response to the user's confirmation prompt for agreeing to the screen mirroring request, the screen mirroring operation is executed; The screen casting information includes a pop-up flag indicating whether a screen casting request prompt is displayed and a screen casting flag indicating whether screen casting is in progress. The step of determining whether to display a screen casting request prompt based on the screen casting information specifically includes: If the pop-up flag indicates a screen casting request, and the screen casting flag indicates that screen casting is not currently in progress, then it is determined that a screen casting request will be displayed.
2. The screen casting method as described in claim 1, wherein if it is determined that a screen casting request prompt is to be displayed, then a screen casting request prompt is displayed; In response to the user's confirmation prompt for agreeing to the screen mirroring request, the steps for performing the screen mirroring operation include: If a screen mirroring request prompt is displayed, then retrieve the screen mirroring history; If there is no confirmation operation in the screen casting record indicating that the user agrees to screen casting to the target electronic device, a screen casting request prompt will be displayed; wherein, the target electronic device is the electronic device that emitted the broadcast signal; In response to the user's confirmation prompt for agreeing to the screen mirroring request, the screen mirroring operation is executed.
3. The screen mirroring method as described in claim 2, after the step of acquiring the screen mirroring record, the screen mirroring method further includes: If the screen mirroring record contains a confirmation operation from the user agreeing to mirror the screen to the target electronic device, then the screen mirroring operation is executed.
4. The screen mirroring method as described in claim 1, wherein the step of displaying a screen mirroring request prompt if it is determined that a screen mirroring request prompt will be displayed specifically includes: If there are at least two screen mirroring request prompts, the screen mirroring request prompts are displayed in response to the user's swipe operation; The steps for performing the screen mirroring operation in response to the user's confirmation prompt for agreeing to the screen mirroring request specifically include: In response to the user's confirmation prompt for agreeing to one of the screen mirroring requests, the screen mirroring operation is executed.
5. The screen mirroring method as described in claim 1, wherein the screen mirroring information further includes a wireless connection mode, and the step of performing the screen mirroring operation specifically includes: Perform the screen mirroring operation according to the described wireless connection mode.
6. The screen projection method according to any one of claims 1-5, further comprising: During the screen mirroring process, screen mirroring stops in response to a user-triggered exit screen mirroring action.
7. A screen projection device, characterized in that, include: Processor, memory, communication module, and display module; The communication module receives broadcast signals; The processor communicates with the communication module and the display module respectively; as well as, The memory is configured to store instructions that, when executed by the processor, cause the processor to perform steps, the steps including: The broadcast signal is analyzed to obtain the projection information; Based on the screen casting information, determine whether to display a screen casting request prompt; If a screen mirroring request prompt is determined, a screen mirroring request prompt is displayed on the display module. In response to the user's confirmation prompt for agreeing to the screen mirroring request, execute the screen mirroring operation; The screen casting information includes a pop-up flag indicating whether a screen casting request prompt is displayed and a screen casting flag indicating whether screen casting is in progress. The step of determining whether to display a screen casting request prompt based on the screen casting information specifically includes: if the pop-up flag indicates that a screen casting request prompt is displayed, and the screen casting flag indicates that screen casting is not in progress, then it is determined that a screen casting request prompt is displayed.
8. A screen projection system, characterized in that, Including vehicle-mounted terminals and electronic devices, The vehicle-mounted terminal emits a broadcast signal; The electronic device receives the broadcast signal; analyzes the broadcast signal to obtain screen projection information; Based on the screen casting information, determine whether to display a screen casting request prompt; If a screen mirroring request prompt is determined to be displayed, then a screen mirroring request prompt will be displayed. In response to the user's confirmation prompt for agreeing to the screen mirroring request, the screen is mirrored to the vehicle terminal; The screen casting information includes a pop-up flag indicating whether a screen casting request prompt is displayed and a screen casting flag indicating whether screen casting is in progress. The electronic device determines whether the pop-up flag indicates that a screen casting request prompt is displayed and whether the screen casting flag indicates that screen casting is not in progress. If so, it determines to display a screen casting request prompt.
9. An electronic device comprising a communication module, a display module, a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the steps of the screen projection method according to any one of claims 1-6.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the steps of the screen projection method as described in any one of claims 1-6.
Citation Information
Patent Citations
Wireless screen projection method, device and system
CN108736981A