CN115268808A - Screen projection method, device and system, electronic equipment and storage medium - Google Patents
Screen projection method, device and system, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN115268808A CN115268808A CN202110485281.4A CN202110485281A CN115268808A CN 115268808 A CN115268808 A CN 115268808A CN 202110485281 A CN202110485281 A CN 202110485281A CN 115268808 A CN115268808 A CN 115268808A
- Authority
- CN
- China
- Prior art keywords
- screen projection
- screen
- request prompt
- displayed
- broadcast signal
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/14—Digital output to display device ; Cooperation and interconnection of the display device with other functional units
- G06F3/1454—Digital output to display device ; Cooperation and interconnection of the display device with other functional units involving copying of the display data of a local workstation or window to a remote workstation or window so that an actual copy of the data is displayed simultaneously on two or more displays, e.g. teledisplay
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/14—Digital output to display device ; Cooperation and interconnection of the display device with other functional units
- G06F3/147—Digital output to display device ; Cooperation and interconnection of the display device with other functional units using display panels
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Telephone Function (AREA)
Abstract
The invention discloses a screen projection method, a screen projection device, a screen projection system, electronic equipment and a storage medium. The screen projection method comprises the following steps: receiving a broadcast signal; analyzing the broadcast signal to obtain screen projection information; judging whether a screen projection request prompt is displayed or not based on the screen projection information; if the screen projection request prompt is judged to be displayed, displaying the screen projection request prompt; and responding to the confirmation operation that the user agrees to the screen projection request prompt, and executing the screen projection operation. According to the method and the device, the screen projection operation is triggered by the screen projection end, specifically, the broadcast signal sent by the screen projection end is received, the screen projection operation is carried out according to the screen projection information carried in the broadcast signal, a user does not need to search the screen projection end at the screen projection end, the operation is convenient and fast, the error rate of screen projection connection is reduced, and the user experience is improved.
Description
Technical Field
The present invention relates to the field of screen projection, and in particular, to a screen projection method, apparatus and system, an electronic device, and a storage medium.
Background
With the continuous development of computer technology and electronic technology, the application of intelligent electronic equipment is more and more extensive. When people use intelligent electronic equipment, screen projection operation between the electronic equipment is often required, that is, contents displayed on a screen of one electronic equipment are displayed on a screen of another electronic equipment, for example, contents displayed on a screen of a mobile phone are displayed on a vehicle-mounted terminal.
In the prior art, when the content displayed on the screen of the mobile phone is projected on the vehicle-mounted terminal, a user needs to search the bluetooth names of target vehicles one by one from a bluetooth list of the mobile phone, and project the screen after selecting the target vehicles. The Bluetooth list of the mobile phone is used for displaying Bluetooth names of all nearby vehicles with Bluetooth started. If the same vehicle Bluetooth name exists in the Bluetooth list of the mobile phone, the mobile phone user does not know how to select, and the privacy of the user is revealed due to wrong selection. For a mobile phone user, the screen projection method is not only complicated in operation, but also has the possibility of revealing privacy, and the user experience is poor.
Disclosure of Invention
An object of the present application is to provide a screen projecting method, which has an advantage that a screen projecting operation is triggered by a screen projecting end, specifically, a broadcast signal sent by the screen projecting end is received, the screen projecting operation is performed according to screen projecting information carried in the broadcast signal, a user does not need to search the screen projecting end at the screen projecting end, the operation is convenient, the error rate of screen projecting connection is reduced, and user experience is improved.
Another object of the present application is to provide a screen projection method, which has the advantages of simple and convenient operation and high judgment efficiency, and whether to display a screen projection request prompt is judged only according to a popup flag in screen projection information.
Another object of the present application is to provide a screen projection method, which has an advantage that whether a screen projection request prompt is displayed or not is determined by combining a popup flag and a screen projection flag in screen projection information, and specifically, the screen projection request prompt is not displayed under the condition that a projected screen end is projecting a screen, so that a user is prevented from interrupting screen projection between the projected screen end and other electronic devices after confirming screen projection through the electronic devices, and screen projection experience of the user is improved.
Another object of the present application is to provide a screen projection method, which has an advantage that if it is determined that a screen projection request prompt is displayed and there is no screen projection record of screen projection on a target electronic device, the screen projection request prompt is displayed, and screen projection is performed only after a user agrees to the screen projection request prompt, so that user privacy and data security in the electronic device are guaranteed.
Another objective of the present application is to provide a screen projecting method, which has an advantage that if it is determined that a screen projecting request prompt is displayed and a screen projecting record of projecting a screen to a target electronic device exists, the screen projecting request prompt does not need to be displayed, and a screen projecting operation is directly performed, that is, a user does not need to confirm that the screen is projected to the target electronic device again, so that efficiency of projecting the screen to the same projected screen end, that is, the target electronic device is improved.
Another object of the present application is to provide a screen projection method, which is advantageous in that if it is determined to display at least two screen projection request prompts according to received broadcast signals sent by a plurality of screen projection terminals, the screen projection request prompts are displayed interactively with a user, and in particular, the screen projection request prompts are displayed in response to a sliding operation of the user, so as to improve human-computer interaction experience.
Another object of the present application is to provide a screen projection method, which is advantageous in that, in the process of executing a screen projection operation, a screen exit operation triggered by a user can be responded in time, so that user privacy and data security in an electronic device are protected.
Another aim at of this application provides a throw screen device, and its advantage lies in, by throwing the screen end and triggering and throw the screen operation, specifically, receives the broadcast signal of throwing the screen end and sending, throws the screen operation according to the screen information of throwing that carries in the broadcast signal, need not the user and throws the screen end at throwing the screen end and look for and throw the screen end, not only the simple operation has reduced the error rate of throwing the screen connection moreover, has promoted user experience.
Another aim at of this application provides a throw screen system, and its advantage lies in, is triggered by vehicle mounted terminal and throws the screen operation, and specifically, vehicle mounted terminal sends the broadcast signal, and electronic equipment receives the broadcast signal, throws the screen operation according to the screen information of throwing that carries in the broadcast signal, need not the user and seeks vehicle mounted terminal in electronic equipment, not only the simple operation, has reduced the error rate of throwing the screen connection moreover, has promoted user experience.
Another aim at of this application provides an electronic equipment, its advantage lies in, by being thrown the screen end and triggering and throw the screen operation, specifically, electronic equipment receives the broadcast signal of being thrown screen end transmission, throws the screen operation according to the screen information of throwing that carries in the broadcast signal, need not the user and seeks on electronic equipment and is thrown the screen end, not only the simple operation, has reduced moreover and has thrown the error rate that the screen is connected, has promoted user experience.
Another object of the present application is to provide a computer-readable storage medium, which is advantageous in that a screen projection operation is triggered by a screen projection end, specifically, a broadcast signal sent by the screen projection end is received, and the screen projection operation is performed according to screen projection information carried in the broadcast signal, so that a user does not need to search the screen projection end at the screen projection end, and therefore, the operation is convenient and fast, the error rate of screen projection connection is reduced, and the user experience is improved.
The first aspect of the invention provides a screen projection method, which comprises the following steps:
receiving a broadcast signal;
analyzing the broadcast signal to obtain screen projection information;
judging whether a screen projection request prompt is displayed or not based on the screen projection information;
if the screen projection request prompt is judged to be displayed, displaying the screen projection request prompt;
and responding to the confirmation operation that the user agrees to the screen projection request prompt, and executing the screen projection operation.
A second aspect of the present invention provides a screen projection apparatus, comprising: the device comprises a processor, a memory, a communication module and a display module;
the communication module receives a broadcast signal;
the processor is respectively communicated with the communication module and the display module; and
the memory is configured to store instructions that, when executed by the processor, cause the processor to perform steps comprising:
analyzing the broadcast signal to obtain screen projection information;
judging whether a screen projection request prompt is displayed or not based on the screen projection information;
under the condition that the screen projection request prompt is judged to be displayed, the screen projection request is displayed in the display module;
and responding to the confirmation operation that the user agrees to the screen projection request prompt, and executing the screen projection operation.
The third aspect of the invention provides a screen projection system, which comprises a vehicle-mounted terminal and an electronic device,
the vehicle-mounted terminal sends out a broadcast signal;
the electronic equipment receives the broadcast signal; analyzing the broadcast signal to obtain screen projection information; judging whether a screen projection request prompt is displayed or not based on the screen projection information; displaying a screen projection request prompt under the condition of judging that the screen projection request prompt is displayed; and screen projection is carried out on the vehicle-mounted terminal in response to the confirmation operation that the user agrees to the screen projection request prompt.
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 on the memory and executable on the processor, where the processor implements the steps of the screen projection method according to the first aspect when executing the computer program.
A fifth aspect of the present invention provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the screen projection method of the first aspect.
Drawings
Fig. 1 is a flowchart of a screen projection method according to embodiment 1 of the present invention.
Fig. 2 is an application scene diagram of a screen projection method provided in embodiment 1 of the present invention.
Fig. 3 is a display effect diagram of a screen-projection request prompt provided in embodiment 1 of the present invention.
Fig. 4 is another display effect diagram of the screen projection request prompt provided in embodiment 1 of the present invention.
Fig. 5 is a flowchart of another screen projection method provided in embodiment 1 of the present invention.
Fig. 6 is a block diagram of a screen projection system according to embodiment 2 of the present invention.
Fig. 7 is a schematic structural diagram of an electronic device according to embodiment 3 of the present invention.
Detailed Description
The invention is further illustrated by the following examples, which are not intended to limit the scope of the invention.
Example 1
Fig. 1 is a flowchart of a screen projection method provided in this embodiment, where the method may be executed by a screen projection device, the screen projection device may be implemented by software and/or hardware, and the screen projection device may be part or all of an electronic device. The electronic device may be a mobile terminal such as a mobile phone, a wearable device, a PDA (Personal Digital Assistant), and a tablet computer. The electronic device is used as an execution subject to describe the screen projection method provided by the embodiment.
As shown in fig. 1, the screen projection method provided by the present embodiment may include the following steps S101 to S105:
step S101, receiving a broadcast signal. The screen projection end, that is, the electronic device receives a broadcast signal sent by the screen projection end, and specifically may be a Bluetooth broadcast signal, for example, a BLE (Bluetooth Low Energy) broadcast signal.
In the example that the broadcast signal is a bluetooth broadcast signal, it should be noted that bluetooth needs to be turned on for both the screen-projected end and the screen-projecting end, so that the screen-projecting end can receive the bluetooth broadcast signal sent by the screen-projected end.
In an optional implementation manner, the broadcast signal is sent by the vehicle-mounted terminal, that is, the screen-projected end is the vehicle-mounted terminal. In one example of the implementation, as shown in fig. 2, in response to a confirmation screen-throwing operation triggered by a user at the vehicle-mounted terminal, the vehicle-mounted terminal transmits a broadcast signal, and the mobile phone receives the broadcast signal. In this example, the screen interface of the mobile phone may be projected to the screen of the vehicle-mounted terminal for displaying.
In alternative other embodiments, the broadcast signal may be sent by other electronic devices, that is, the other electronic devices are the projected terminals. Wherein, other electronic equipment can be cell-phone, intelligent household electrical appliances, wearable equipment etc.. In these embodiments, the screen interface of the electronic device that receives the broadcast signal is projected to the screen of the other electronic device and displayed.
And S102, analyzing the broadcast signal to obtain screen projection information.
In specific implementation, the electronic device may analyze the broadcast signal according to a protocol agreed with the screen-projected end, so as to obtain screen-projecting information required for screen projection.
In a specific implementation, the screen projection information may include a wireless connection mode, such as a P2P (wireless point-to-point bridge) mode or an AP (wireless access point) mode. The electronic equipment can call different interfaces according to the wireless connection mode in the screen projection information, so that wireless connection between the electronic equipment and the screen projection end is achieved, and screen projection operation is executed based on the wireless connection.
In a specific implementation, the screen projection information may further include device information of the screen projection end. In an example where the screen-projected end is a vehicle, the screen projection information may include a vehicle model, a manufacturer, and/or a vehicle picture, etc.
And S103, judging whether a screen projection request prompt is displayed or not based on the screen projection information, if so, executing the step S104, and if not, ending the process.
In an optional embodiment, the screen projection information includes a popup flag bit for indicating whether a screen projection request prompt is displayed. Step S103 specifically includes: if the popup flag bit indicates that a screen projection request prompt is displayed, judging that the screen projection request prompt is displayed; and if the popup flag bit indicates that the screen projection request prompt is not displayed, judging that the screen projection request prompt is not displayed. In the embodiment, whether the screen projection request prompt is displayed or not is judged only according to the value of the popup flag bit. In a specific example, the pop-up Flag1=1 indicates that the screen-shot request prompt is displayed, and the pop-up Flag1=0 indicates that the screen-shot request prompt is not displayed. And if the popup Flag1=1, judging that a screen-casting request prompt is displayed. And if the popup Flag1=0, judging that the screen-casting request prompt is not displayed.
In another optional embodiment, the screen projection information includes a popup flag indicating whether a screen projection request prompt is displayed and a screen projection flag indicating whether a screen is being projected. Step S103 specifically includes: if the popup window flag bit indicates that a screen-casting request prompt is displayed and the screen-casting flag bit indicates that the screen is not casting, judging that the screen-casting request prompt is displayed, and otherwise, judging that the screen-casting request prompt is not displayed. In the embodiment, whether the screen projection request prompt is displayed is judged according to the value of the popup flag bit and the value of the screen projection flag bit.
In a specific example, the pop-up Flag1=1 indicates that the screen-shot request prompt is to be displayed, and the pop-up Flag1=0 indicates that the screen-shot request prompt is not to be displayed. The screen-projection Flag2=1 indicates that the screen-projected end is projecting a screen, and the screen-projection Flag2=0 indicates that the screen-projected end is not projecting a screen. And if the popup Flag1=1 and the screen-casting Flag2=0, determining that a screen-casting request prompt is displayed. If the pop-up Flag1=1 and the screen-casting Flag2=1, the pop-up Flag1=0 and the screen-casting Flag2=1, the pop-up Flag1=0 and the screen-casting Flag2=0, it is determined that the screen-casting request prompt is not displayed.
In the embodiment, if the screen is being projected at the screen projection end, the electronic equipment cannot display the screen projection request prompt, so that the user is prevented from interrupting screen projection between the screen projection end and other electronic equipment after confirming screen projection through the electronic equipment, and screen projection experience of the user is improved.
In specific implementation, the screen-casting request prompt may be a dialog box, a display control, a two-dimensional code, or the like, and the specific form is not limited.
And step S104, displaying a screen projection request prompt. And displaying a screen projection request prompt on a screen of the electronic equipment, such as a pop-up dialog box, a corresponding control, a two-dimensional code and the like. In the example where the screen-projected end is a vehicle, the screen-projection request prompt may include a vehicle model, a manufacturer, and/or a vehicle picture, etc. In an example of the specific implementation, a screen projection application is installed in the electronic device, and a screen projection request prompt may be displayed on a display interface of the screen projection application.
And step S105, responding to the confirmation operation that the user agrees to the screen projection request prompt, and executing the screen projection operation. The screen of the electronic equipment receives the operation of a user for the screen projection request prompt, and if the confirmation operation that the user agrees to the screen projection request prompt is received, the screen projection operation is executed, and specifically, the screen interface of the electronic equipment is sent to the screen projection end to be displayed.
In an optional embodiment, after the step S105, the method further includes: and in the process of executing the screen projection operation, stopping screen projection in response to the screen projection exiting operation triggered by the user. In specific implementation, the user may trigger exiting of the screen projection through the electronic device, for example, the user may trigger exiting of the screen projection by actively disconnecting the wireless connection between the electronic device and the vehicle-mounted terminal, and may trigger exiting of the screen projection by clicking an exit screen projection button displayed on a screen of the electronic device. It should be noted that, in order to protect the user privacy and data security in the electronic device, the user may exit the screen by triggering the electronic device at any time.
In an optional implementation manner, broadcast signals sent by a plurality of screen-projected ends, for example, a plurality of vehicles, are received by an electronic device, for example, a mobile phone, the plurality of broadcast signals are analyzed to obtain a plurality of screen-projection information, and at least two screen-projection request prompts are judged to be displayed based on the plurality of screen-projection information. In the embodiment, at least two screen projection request prompts exist, the screen projection request prompts are displayed in response to the sliding operation of the user, and the screen projection operation is executed in response to the confirmation operation that the user agrees to one of the screen projection request prompts.
In the example shown in fig. 3, the screen-projected end is a vehicle, the screen-projected end is a mobile phone, the mobile phone judges and displays three screen-projection request prompts according to the received broadcast signals, the screen-projection request prompts are displayed in response to the left-right sliding operation of the user, the screen-projection button in the current screen-projection request prompt is clicked by the user, and the screen interface of the mobile phone is projected to the new treasure horse RM-5 for display. In the example shown in fig. 4, the screen-projected end is a vehicle, the screen-projected end is a mobile phone, the mobile phone determines to display four screen-projection request prompts according to the received broadcast signal, displays the screen-projection request prompts in response to the up-and-down sliding operation of the user, and projects the screen interface of the mobile phone to the honda CRV for display in response to the user clicking the screen-projection button in the third screen-projection request prompt from top to bottom. In the example shown in fig. 3 and 4, the screen-shot request prompt includes the vehicle type and the vehicle picture, so that the user can select a target vehicle from a plurality of vehicles sending broadcast signals conveniently.
As shown in fig. 5, the screen projection method provided in this embodiment may further include the following steps S201 to S208:
step S201, receiving a broadcast signal.
And S202, analyzing the broadcast signal to obtain screen projection information.
And step S203, judging whether a screen projection request prompt is displayed or not based on the screen projection information, if so, executing step S204, and if not, ending the process.
And step S204, acquiring screen projection records. In a specific implementation, the screen projection record may be obtained locally from the electronic device, or may be obtained from a server.
Step S205, determining whether a confirmation operation that the user agrees to screen projection on the target electronic device exists in the screen projection record, if not, performing step S206, and if so, performing step S208. The target electronic device is an electronic device which sends the broadcast signal, namely a screen-projected end.
And step S206, displaying a screen projection request prompt.
And step S207, responding to the confirmation operation that the user agrees to the screen projection request prompt, and executing screen projection operation.
In this embodiment, if it is determined that the screen-casting request prompt is displayed and there is no screen-casting record of screen casting on the target electronic device, the screen-casting request prompt is displayed, and screen casting is performed only after the user agrees to the screen-casting request prompt, so that user privacy and data security in the electronic device are guaranteed.
And step S208, executing screen projection operation.
In this embodiment, if it is determined that the screen-casting request prompt is displayed and a screen-casting record of the screen-casting to the target electronic device exists, the screen-casting request prompt does not need to be displayed, and the screen-casting operation is directly executed, that is, the user does not need to confirm the screen-casting to the target electronic device again, so that the efficiency of screen-casting to the same screen-casting end, that is, the target electronic device is improved.
It should be noted that, in the screen projection method provided in this embodiment, reference may be made to steps S101 to S103 in steps S201 to S203, and reference may be made to steps S104 to S105 in steps S206 to S207.
The screen projection operation is triggered by the screen projection end, specifically, the broadcast signal sent by the screen projection end is received, the screen projection operation is carried out according to screen projection information carried in the broadcast signal, a user does not need to search the screen projection end, the operation is convenient, the error rate of screen projection connection is reduced, and the user experience is improved.
Example 2
As shown in fig. 6, the present embodiment provides a screen projection system 60 including a vehicle-mounted terminal 61 and an electronic device 62. The vehicle-mounted terminal can also be called a vehicle machine, is a vehicle-mounted information entertainment product installed in a vehicle, and can realize information communication between people and the vehicle and between the vehicle and the outside. The electronic device can be a mobile terminal such as a mobile phone, a wearable device, a PDA, a tablet computer and the like.
The in-vehicle terminal 61 transmits a broadcast signal. The broadcast signal may specifically be a bluetooth broadcast signal, for example, a BLE broadcast signal.
An electronic device 62 that receives the broadcast signal; analyzing the broadcast signal to obtain screen projection information; judging whether a screen projection request prompt is displayed or not based on the screen projection information; displaying a screen projection request prompt under the condition of judging that the screen projection request prompt is displayed; and in response to the confirmation operation of the user's approval of the screen-projection request prompt, projecting the screen to the in-vehicle terminal 61.
The electronic equipment can analyze the broadcast signals according to a protocol agreed with the vehicle-mounted terminal, and therefore screen projection information required by screen projection is obtained.
In an optional implementation manner, the screen projection information includes a popup flag for indicating whether a screen projection request prompt is displayed. The electronic equipment judges whether the popup window flag bit indicates display of a screen-casting request prompt, and if yes, the electronic equipment judges display of the screen-casting request prompt; if not, the screen projection request prompt is judged not to be displayed.
In another optional embodiment, the screen projection information includes a popup flag for indicating whether a screen projection request prompt is displayed and a screen projection flag for indicating whether a screen is being projected. The electronic equipment judges whether the popup window flag bit indicates that a screen projection request prompt is displayed or not, the screen projection flag bit indicates that the screen is not being projected, if yes, the screen projection request prompt is judged to be displayed, and if not, the screen projection request prompt is judged not to be displayed. In the embodiment, if the vehicle-mounted terminal is projecting the screen, the electronic equipment cannot display the screen projecting request prompt, so that the user is prevented from interrupting screen projection between the vehicle-mounted terminal and other electronic equipment after confirming screen projection through the electronic equipment, and screen projection experience of the user is improved.
In a specific implementation, the screen projection information may further include a wireless connection mode, such as a P2P mode or an AP mode. The electronic equipment can call different interfaces according to the wireless connection mode in the screen projection information, so that wireless connection with the vehicle-mounted terminal is achieved, and screen projection operation is executed based on the wireless connection.
In a specific implementation, the screen projection information may further include device information of the vehicle-mounted terminal, such as a vehicle model, a manufacturer, and/or a vehicle picture.
In specific implementation, the screen-casting request prompt may be a dialog box, a display control, a two-dimensional code, or the like, and the specific form is not limited.
In an optional implementation manner, in the process of executing the screen projection operation, the electronic device stops the screen projection in response to the screen projection exit operation triggered by the user. In specific implementation, the user may trigger exiting of the screen projection through the electronic device, for example, the user may trigger exiting of the screen projection by actively disconnecting the wireless connection between the electronic device and the vehicle-mounted terminal, and may trigger exiting of the screen projection by clicking an exit screen projection button displayed on a screen of the electronic device. It should be noted that, in order to protect the user privacy and data security in the electronic device, the user may exit the screen by triggering the electronic device at any time.
In this embodiment, throw the screen operation by vehicle-mounted terminal trigger, specifically, vehicle-mounted terminal sends the broadcast signal, and electronic equipment receives the broadcast signal, throws the screen operation according to the screen information of throwing that carries in the broadcast signal, need not the user and seeks vehicle-mounted terminal in electronic equipment, and not only the simple operation has reduced the error rate of throwing the screen connection moreover, has promoted user experience.
Example 3
Fig. 7 is a schematic structural diagram 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 coupled to the at least one processor. Wherein the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the screen projection method of embodiment 1. The electronic device 3 shown in fig. 7 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiment of the present invention.
The components of the electronic device 3 may include, but are not limited to: the at least one processor 4, the at least one memory 5, a bus 6 connecting different system components (including the memory 5 and the processor 4), a communication module 7, a display module 8.
The bus 6 includes a data bus, an address bus, and a control bus.
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.
The memory 5 may also include a program/utility 55 having a set (at least one) of program modules 54, such program modules 54 including, but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which, or some combination thereof, may comprise an implementation of a network environment.
The communication module 7 may include an antenna, a mobile communication unit, a wireless communication unit, a modem processor, a baseband processor, and the like. The antenna is used for transmitting and receiving electromagnetic wave signals. The mobile communication unit may provide a solution for applications on electronic devices including wireless communication of 2G/3G/4G/5G, etc. In some embodiments, at least part of the functional modules of the mobile communication unit may be provided in the processor 4. In some embodiments at least part of the functional modules of the mobile communication unit may be provided in the same device as at least part of the modules of the processor 4. The wireless communication unit may provide a solution for wireless communication applied to the electronic device, including a wireless local area network WLAN, such as a Wi-Fi network, bluetooth, global navigation satellite system, frequency modulation FM, near field communication NFC, infrared technology, and the like.
The display module 8 is used to display images, videos, and the like. The display module 8 includes a display panel. The display panel can be a Liquid Crystal Display (LCD), an Organic Light Emitting Diode (OLED), an Active Matrix Organic Light Emitting Diode (AMOLED), a quantum dot light emitting diode (QLED), or the like.
The processor 4 executes various functional applications and data processing such as the above-described screen projection method by running a computer program stored in the memory 5.
The electronic device 3 may also communicate with one or more external devices 7, such as a keyboard, pointing device, etc. Such communication may be via an input/output (I/O) interface 9. Also, the electronic device 3 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network such as the Internet) via the network adapter 10. As shown in fig. 7, the network adapter 10 communicates with other modules of the electronic device 3 via the bus 6. It should be appreciated that although not shown in FIG. 7, other hardware and/or software modules may be used in conjunction with the electronic device 3, 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, etc.
It should be noted that although in the above detailed description several units/modules or sub-units/modules of the electronic device are mentioned, such a division is merely exemplary and not mandatory. Indeed, the features and functionality of two or more of the units/modules described above may be embodied in one unit/module according to embodiments of the invention. Conversely, the features and functions of one unit/module described above may be further divided into embodiments by a plurality of units/modules.
Example 4
The present embodiment provides a non-transitory computer-readable storage medium storing computer instructions for causing the computer to execute the screen projection method in embodiment 1.
More specific examples, among others, that the readable storage medium may employ may include, but are not limited to: a 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 of the foregoing.
In a possible implementation, the invention can also be implemented in the form of a program product comprising program code for causing an electronic device to perform a method for implementing the screen projection in example 1 when the program product is run on the electronic device.
Where program code for carrying out the invention is written in any combination of one or more programming languages, the program code may be executed entirely on the electronic device, partly on the electronic device, as a stand-alone software package, partly on the electronic device and partly on a remote device or entirely on the remote device.
While specific embodiments of the invention have been described above, it will be appreciated by those skilled in the art that this is by way of example only, and that the scope of the invention is defined by the appended claims. Various changes and modifications to these embodiments may be made by those skilled in the art without departing from the spirit and scope of the invention, and these changes and modifications are within the scope of the invention.
Claims (12)
1. A screen projection method is characterized by comprising the following steps:
receiving a broadcast signal;
analyzing the broadcast signal to obtain screen projection information;
judging whether a screen projection request prompt is displayed or not based on the screen projection information;
if the screen projection request prompt is judged to be displayed, displaying the screen projection request prompt;
and responding to the confirmation operation that the user agrees to the screen projection request prompt, and executing the screen projection operation.
2. The screen projection method according to claim 1, wherein the screen projection information includes a popup flag indicating whether a screen projection request prompt is displayed; the step of judging whether to display a screen projection request prompt based on the screen projection information specifically comprises the following steps:
and if the popup window flag bit indicates that a screen projection request prompt is displayed, judging that the screen projection request prompt is displayed.
3. The screen projection method of claim 1, wherein the screen projection information comprises a popup flag for indicating whether a screen projection request prompt is displayed and a screen projection flag for indicating whether a screen is being projected; the step of judging whether to display a screen projection request prompt based on the screen projection information specifically comprises the following steps:
and if the popup window flag bit indicates that screen projection request prompt is displayed and the screen projection flag bit indicates that the screen is not being projected, judging that the screen projection request prompt is displayed.
4. The screen projection method according to claim 1, wherein if the screen projection request prompt is judged to be displayed, the screen projection request prompt is displayed; in response to a confirmation operation that the user agrees to the screen projection request prompt, the step of performing the screen projection operation includes:
if the screen projection request prompt is judged to be displayed, screen projection records are obtained;
if the screen projection record does not have the confirmation operation that the user agrees to screen projection on the target electronic equipment, displaying a screen projection request prompt; the target electronic equipment is electronic equipment which sends the broadcast signal;
and responding to the confirmation operation that the user agrees to the screen projection request prompt, and executing the screen projection operation.
5. The screen projection method of claim 4, after the step of obtaining a screen projection record, further comprising:
and if the screen projection record contains the confirmation operation that the user agrees to project the screen to the target electronic equipment, executing the screen projection operation.
6. The screen projection method according to claim 1, wherein if it is determined that the screen projection request prompt is displayed, the step of displaying the screen projection request prompt specifically includes:
if at least two screen projection request prompts exist, responding to the sliding operation of a user and displaying the screen projection request prompts;
the step of executing the screen projection operation in response to the confirmation operation that the user agrees to the screen projection request prompt specifically includes:
and executing screen projection operation in response to the confirmation operation that the user agrees to one screen projection request prompt.
7. The screen projection method of claim 1, wherein the screen projection information further comprises a wireless connection mode, and the step of performing the screen projection operation specifically comprises:
and executing screen projection operation according to the wireless connection mode.
8. The screen projection method of any one of claims 1-7, further comprising:
and in the process of executing the screen projection operation, responding to the screen projection exiting operation triggered by the user, and stopping screen projection.
9. A screen projection apparatus, comprising: the device comprises a processor, a memory, a communication module and a display module;
the communication module receives a broadcast signal;
the processor is respectively communicated with the communication module and the display module; and
the memory is configured to store instructions that, when executed by the processor, cause the processor to perform steps comprising:
analyzing the broadcast signal to obtain screen projection information;
judging whether a screen projection request prompt is displayed or not based on the screen projection information;
under the condition that the screen projection request prompt is judged to be displayed, the screen projection request is displayed in the display module;
and responding to the confirmation operation that the user agrees to the screen projection request prompt, and executing the screen projection operation.
10. A screen projection system is characterized by comprising a vehicle-mounted terminal and an electronic device,
the vehicle-mounted terminal sends out a broadcast signal;
the electronic equipment receives the broadcast signal; analyzing the broadcast signal to obtain screen projection information; judging whether a screen projection request prompt is displayed or not based on the screen projection information; displaying a screen projection request prompt under the condition of judging that the screen projection request prompt is displayed; and screen projection is carried out on the vehicle-mounted terminal in response to the confirmation operation that the user agrees to the screen projection request prompt.
11. An electronic device comprising a communication module, a display module, a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor implements the steps of the screen projection method of any one of claims 1-8 when executing the computer program.
12. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of a screen projection method according to any one of claims 1 to 8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110485281.4A CN115268808A (en) | 2021-04-30 | 2021-04-30 | Screen projection method, device and system, electronic equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110485281.4A CN115268808A (en) | 2021-04-30 | 2021-04-30 | Screen projection method, device and system, electronic equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115268808A true CN115268808A (en) | 2022-11-01 |
Family
ID=83745671
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110485281.4A Pending CN115268808A (en) | 2021-04-30 | 2021-04-30 | Screen projection method, device and system, electronic equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115268808A (en) |
-
2021
- 2021-04-30 CN CN202110485281.4A patent/CN115268808A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR101657379B1 (en) | Method and apparatus for providing data entry content to a remote environment | |
CN105471931B (en) | Method, device and system for inquiring service data | |
US20220094758A1 (en) | Method and apparatus for publishing video synchronously, electronic device, and readable storage medium | |
CN103425494A (en) | Information interaction system of vehicle-mounted terminal and smart mobile terminal | |
CN105320616B (en) | External device control method and device | |
TW201620297A (en) | Drive recorder with communication module and the method thereof | |
US11736149B2 (en) | Data transmission method for Bluetooth card reader and electronic device | |
US20170006108A1 (en) | Navigation method, smart terminal device and wearable device | |
CN113037838B (en) | Operation response method and device, computer equipment and storage medium | |
CN105376719A (en) | Information pushing method and device | |
US20230269567A1 (en) | Application-based short-range notification method, electronic device, and system | |
US20140155099A1 (en) | Method and apparatus for displaying location information of call service area in mobile terminal | |
CN111381576B (en) | Exception recovery method and device and storage medium | |
CN115268808A (en) | Screen projection method, device and system, electronic equipment and storage medium | |
CN113452793B (en) | Diagnostic service processing method and device, vehicle-mounted terminal and medium | |
CN115827030A (en) | Method and device for upgrading USB firmware of vehicle and vehicle | |
CN111858084B (en) | Data transmission method and device, electronic equipment and storage medium | |
CN115098052A (en) | Screen projection method, device, equipment and storage medium | |
WO2020224295A1 (en) | Information management method, device, and system | |
CN114422236A (en) | Intelligent device access method and device and electronic device | |
CN113891441A (en) | Network connection method and device and electronic equipment | |
JP2022003327A (en) | Method, device, electronic device, computer readable storage medium, and computer program for positioning terminal | |
CN107343039B (en) | Information interaction method, device, equipment and storage medium | |
CN115412389B (en) | Message recommendation method and device, electronic equipment and readable storage medium | |
CN117955802A (en) | Intelligent routing alarm method, system, device and medium based on capability label |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |