CN115048070A - Screen projection method and device, computer equipment and storage medium - Google Patents

Screen projection method and device, computer equipment and storage medium Download PDF

Info

Publication number
CN115048070A
CN115048070A CN202210723615.1A CN202210723615A CN115048070A CN 115048070 A CN115048070 A CN 115048070A CN 202210723615 A CN202210723615 A CN 202210723615A CN 115048070 A CN115048070 A CN 115048070A
Authority
CN
China
Prior art keywords
screen projection
screen
mode
interface
control
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210723615.1A
Other languages
Chinese (zh)
Inventor
丁杰
王野
杜有伟
马敏宏
姚俊杰
郭国庆
李怡宽
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Sensetime Technology Co Ltd
Original Assignee
Shenzhen Sensetime Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Sensetime Technology Co Ltd filed Critical Shenzhen Sensetime Technology Co Ltd
Priority to CN202210723615.1A priority Critical patent/CN115048070A/en
Publication of CN115048070A publication Critical patent/CN115048070A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3206Monitoring of events, devices or parameters that trigger a change in power modality
    • G06F1/3215Monitoring of peripheral devices
    • G06F1/3218Monitoring of peripheral devices of display devices
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3206Monitoring of events, devices or parameters that trigger a change in power modality
    • G06F1/3231Monitoring the presence, absence or movement of users

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Controls And Circuits For Display Device (AREA)
  • Transforming Electric Information Into Light Information (AREA)

Abstract

The embodiment of the disclosure discloses a screen projection method and device, computer equipment and a storage medium. Wherein the method comprises the following steps: acquiring screen projection information; the screen projection information comprises a screen projection time period; in the screen projection process, determining whether the current time is within the screen projection time period; outputting prompt information under the condition that the current time is not within the screen projecting time period; responding to a received instruction for representing whether screen projection is finished or not acquired based on the prompt information, and executing operation matched with the instruction; wherein the operation comprises one of: and finishing screen projection and continuing to project the screen. By the scheme, the waste of screen projection resources can be reduced.

Description

Screen projection method and device, computer equipment and storage medium
Technical Field
The present disclosure relates to, but not limited to, the field of screen projection technologies, and in particular, to a screen projection method and apparatus, a computer device, and a storage medium.
Background
By projecting the display content on the mobile phone, the computer and other equipment, the display specification of the display content can be obviously increased, so that the display content can be conveniently viewed by a user, and particularly, the display content can be conveniently viewed and discussed together based on the screen projection content in the process of a multi-person conference. However, screen projection is not needed, for example, after a conference is finished, the screen projection receiving device is still in the screen projection state, which leads to the waste of screen projection resources.
Disclosure of Invention
In view of this, the embodiments of the present disclosure at least provide a screen projection method and apparatus, a computer device, and a storage medium.
In a first aspect, an embodiment of the present disclosure provides a screen projection method, where the method includes:
acquiring screen projection information; the screen projection information comprises a screen projection time period;
in the screen projection process, determining whether the current time is within the screen projection time period;
outputting prompt information under the condition that the current time is not within the screen projecting time period;
responding to a received instruction for representing whether screen projection is finished or not acquired based on the prompt information, and executing operation matched with the instruction; wherein the operation comprises one of: and finishing screen projection and continuing to project the screen.
In a second aspect, an embodiment of the present disclosure provides a screen projection device, including:
the first acquisition module is used for acquiring screen projection information; the screen projection information comprises a screen projection time period;
the first determining module is used for determining whether the current time is within the screen projecting time period or not in the screen projecting process;
the output module is used for outputting prompt information under the condition that the current time is not within the screen projection time period;
the execution module is used for responding to a received instruction for indicating whether screen projection is finished or not acquired based on the prompt information and executing operation matched with the instruction; wherein the operation comprises one of: and finishing screen projection and continuing to project the screen.
In a third aspect, an embodiment of the present disclosure provides a computer device, including: a processor; a memory for storing processor-executable instructions; wherein the processor is configured to perform the method of the first aspect.
In a fourth aspect, the embodiments of the present disclosure provide a storage medium on which a computer program is stored, which when executed by a processor implements the method described in the first aspect.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
in the embodiment of the disclosure, the screen projection transmitting device acquires screen projection information including a screen projection time period, and in the screen projection process, under the condition that the current time is determined not to be in the screen projection time period, the screen projection transmitting device outputs prompt information without frequently checking the current time by a user to determine whether the current time is in the screen projection time period, so that the instantaneity of the user in learning that the current time is not in the screen projection time period is improved. In addition, the screen projection transmitting equipment stops sending screen projection data to the screen projection receiving equipment under the condition that an instruction for representing finishing screen projection is received based on the prompt information, so that the waste of screen projection resources and information leakage caused by the fact that the screen projection transmitting equipment still sends the screen projection data to the screen projection receiving equipment for displaying when screen projection is not needed can be reduced; and the screen projection transmitting equipment continues to project the screen under the condition of receiving an instruction for representing the continuation of screen projection based on the prompt information, so that the inconvenience brought to a user by forcibly stopping screen projection when the screen projection ending time is reached can be reduced.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the disclosure.
Fig. 1 is a flowchart of a screen projection method provided in an embodiment of the present disclosure;
fig. 2 is an exemplary diagram of a display interface for outputting prompt information according to an embodiment of the disclosure;
FIG. 3 is a diagram illustrating an example of a display interface for selecting a screen projection window according to an embodiment of the present disclosure;
fig. 4A and 4B are exemplary diagrams of a display interface for switching a screen projection mode in a screen projection process according to an embodiment of the disclosure;
fig. 5A and 5B are exemplary diagrams of a display interface for initiating screen projection provided by an embodiment of the present disclosure;
fig. 6 is a schematic structural diagram of a projection device according to an embodiment of the present disclosure;
fig. 7 is a hardware entity diagram of a computer device according to an embodiment of the present disclosure.
Detailed Description
For the purpose of making the purpose, technical solutions and advantages of the present disclosure clearer, the technical solutions of the present disclosure are further elaborated with reference to the drawings and the embodiments, the described embodiments should not be construed as limiting the present disclosure, and all other embodiments obtained by a person of ordinary skill in the art without making creative efforts shall fall within the protection scope of the present disclosure.
Reference to the terms "first/second/third" in this disclosure are only to distinguish between similar objects and do not denote a particular order, but rather are to be understood that "first/second/third" may, where permissible, be interchanged in a particular order or sequence so that embodiments of the disclosure described herein can be practiced in other than that shown or described herein.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this disclosure belongs. The terminology used herein is for the purpose of describing the disclosure only and is not intended to be limiting of the disclosure.
The embodiment of the disclosure provides a screen projection method, and an execution main body of the screen projection method can be screen projection transmitting equipment. The screen projection transmitting device may establish a communication channel based on a preset communication Protocol, such as a Transmission Control Protocol (TCP), a User Datagram Protocol (UDP), and the like, and transmit the screen projection data to the screen projection receiving device through the communication channel, so that the screen projection receiving device can display the screen projection data. The electronic device that sends the screen projection data may be referred to as a screen projection transmitting device, such as a User Equipment (UE), a mobile device, a User terminal, a cellular phone, a cordless phone, a Personal Digital Assistant (PDA), a handheld device, a computing device, a vehicle-mounted device, a wearable device, and so on; an electronic device that receives and displays the projection screen data may be referred to as a projection screen receiving device, such as a projector, a kiosk, a television, a Personal Computer (PC), a notebook Computer, a tablet Computer, or the like; the screen projection data comprise data of a display window in the screen projection transmitting equipment, real-time operation data and the like. In some possible implementations, the screen projection method may be implemented by a processor calling computer readable instructions stored in a memory.
Fig. 1 shows a flowchart of an information processing method provided by an embodiment of the present disclosure, and as shown in fig. 1, the method includes the following steps:
s11, screen projection information is obtained; the screen projection information comprises a screen projection time period;
s12, in the screen projection process, determining whether the current time is in the screen projection time period;
s13, outputting prompt information when the current time is not within the screen-casting time period;
s14, responding to the received instruction for indicating whether the screen projection is finished or not acquired based on the prompt information, and executing operation matched with the instruction; wherein the operation comprises one of: and finishing screen projection and continuing to project the screen.
In the embodiment of the present disclosure, the screen projection transmitting device executes step S11, and acquires screen projection information including a screen projection time period before starting screen projection or in a screen projection process, where the screen projection time period represents a time period in which screen projection can be performed, and one or at least two of the time periods may be used, and each screen projection time period corresponds to a screen projection start time and a screen projection end time.
The screen-casting information is acquired, wherein the screen-casting information including the screen-casting time period input by a user is received by the screen-casting transmitting equipment, or the screen-casting information including the screen-casting time period is acquired from a conference reservation system after other systems are docked, such as a conference reservation system; the conference reservation system can be used for reserving information such as conference places, participants and screen-throwing time periods.
In step S12, in the screen projecting process, the screen projecting transmitting device determines whether the current time is within the screen projecting time period, and performs step S13 according to the determination result whether the current time is within the screen projecting time period, and outputs the prompt information if the current time is not within the screen projecting time period. The current time is not in the screen-projecting time period, and the current time does not fall into any screen-projecting time period.
In the embodiment of the disclosure, the screen projection transmitting device may output the prompt information on the screen projection transmitting device, or send the prompt information to the screen projection receiving device or other devices (such as a terminal communicating with the screen projection transmitting device) for output, and the like, when determining that the current time is not within the screen projection time period. When the prompt message is output, the prompt message can be output in different manners, for example, the prompt message is output in a text display manner or in a voice manner; or outputting prompt information of different contents, for example, outputting prompt information representing that the screen is not currently projected in a screen projection time period, or outputting prompt information representing that the screen is projected later than the screen projection starting time at present, and outputting prompt information representing whether the screen projection is finished or not later than the screen projection finishing time at present; the prompt information can also be output in different display forms, such as displaying text information in a popup window form at the lower right corner of the screen projection interface, displaying voiceprints in the center of the screen projection interface and correspondingly playing voice and the like. In addition, the prompt information of different contents may also be output in combination with the different manners and the different display forms, which is not limited in the embodiment of the present disclosure.
In the embodiment of the present disclosure, the prompt information may further include a control for ending the screen projection and a control for continuing the screen projection. Therefore, the user can select whether to finish screen projection or not by selecting the control in the prompt message based on the prompt message directly.
It should be noted that, if the prompt information is displayed on the screen projection transmitting device, the screen projection transmitting device may directly detect a selection instruction of a control (including a control representing that screen projection is finished and a control representing that screen projection is continued) in the prompt information, so as to improve the instantaneity of the screen projection transmitting device in obtaining the instruction, and further improve the instantaneity of subsequent screen projection continuation or screen projection stop based on the obtained instruction.
If the prompt information is displayed on the screen projection receiving equipment, the screen projection receiving equipment sends the selected instruction to the screen projection transmitting equipment after detecting the selected instruction of the control in the prompt information, and therefore the screen projection transmitting equipment can obtain the selected instruction. Because the content displayed by the screen projection receiving equipment is often checked by a plurality of people, the number of people checking the prompt information can be increased and the prompt effect is enhanced by the scheme. In addition, the prompt information can be displayed on the screen projection transmitting device and the screen projection receiving device at the same time, which is not limited by the disclosure.
In the embodiment of the present disclosure, in step S14, in the case that an instruction representing whether to finish screen projection is received, where the instruction is acquired based on the prompt information, the screen projection transmitting device performs an operation matched with the instruction, where the operation includes finishing screen projection and continuing screen projection. For example, if the instruction is an instruction for indicating that screen projection is finished, the screen projection transmitting device executes screen projection finishing, and stops sending screen projection data to the screen projection receiving device, so that the screen projection receiving device stops displaying the screen projection data; if the instruction is an instruction for representing continuous screen projection, the screen projection transmitting equipment executes continuous screen projection and continuously sends screen projection data to the screen projection receiving equipment for displaying.
It can be understood that, in the embodiment of the present disclosure, the screen projection transmitting device acquires the screen projection information including the screen projection time period, and in the screen projection process, under the condition that it is determined that the current time is not within the screen projection time period, the prompt information is output, so that it is not necessary for the user to frequently check the current time to determine whether the current time is within the screen projection time period, and the instantaneity of the user in learning that the current time is not within the screen projection time period is improved. In addition, the screen projection transmitting equipment stops sending screen projection data to the screen projection receiving equipment under the condition that an instruction for representing finishing screen projection is received based on the prompt information, so that the waste of screen projection resources and information leakage caused by the fact that the screen projection transmitting equipment still sends the screen projection data to the screen projection receiving equipment for displaying when screen projection is not needed can be reduced; and the screen projection transmitting equipment continues to project the screen under the condition of receiving an instruction for representing the continuation of screen projection based on the prompt information, so that the inconvenience brought to a user by forcibly stopping screen projection when the screen projection ending time is reached can be reduced.
Fig. 2 shows an example of an interface for outputting prompt information according to an embodiment of the present disclosure, in fig. 2, the screen-shot content is screen-shot data being displayed on the screen-shot receiving device, and in a case that the current time is not within the screen-shot time period, a pop-up window is set to output a prompt message identified by a 1. The prompting message identified by A1 comprises prompting content, the control identified by P1 corresponds to the control representing the end of screen projection, and the control identified by P2 corresponds to the control representing the continuation of screen projection. Wherein, the prompt content includes "to arrive at the meeting appointment ending time, do it need to end the screen projection? ", the conference reservation end time corresponds to the screen-casting end time included in the screen-casting time period. Since the current time has reached the conference reservation end time, it is desirable for the user to end the screen-casting to release the screen-casting resource, and therefore the control identified by P1 in fig. 2 is highlighted to guide the user in selecting the end of the screen-casting.
After the user clicks the control identified by the P1, the screen projection transmitting equipment receives an instruction for representing the end of screen projection, and then stops sending screen projection data to the screen projection receiving equipment; after the user clicks the control identified by the P2, the screen projection transmitting device receives an instruction for representing continuous screen projection, closes the popup window identified by the A1 where the prompt message is located, and continuously sends screen projection data to the screen projection receiving device for display.
It can be understood that when the current time reaches the conference appointment ending time, the prompt information is output, so that the instantaneity of the user in learning that the current time is not in the screen-casting time period can be improved; in addition, the prompt information comprises a prompt text and a control, so that a user can directly select whether to finish screen projection based on the prompt information, convenience is improved, screen projection is stopped when the user selects to finish screen projection, and waste of screen projection resources is reduced.
In some embodiments, the performing, in response to receiving an instruction representing whether screen projection is finished or not acquired based on the prompt information, an operation matched with the instruction includes:
and under the condition that the instruction represents that the screen is continuously projected, outputting the prompt information at preset time intervals.
In the embodiment of the disclosure, if a user inputs an instruction representing continuing to screen on the device outputting the prompt information based on the prompt information, the screen projection transmitting device continues to send screen projection data to the screen projection receiving device for displaying after acquiring the instruction, and outputs the prompt information after a preset time interval. If a user inputs a command representing ending screen projection on the equipment outputting the prompt information based on the prompt information, the screen projection transmitting equipment stops transmitting screen projection data to the screen projection receiving equipment; if the user inputs the instruction for representing continuous screen projection again on the device for outputting the prompt information based on the prompt information, the screen projection transmitting device continues to transmit screen projection data to the screen projection receiving device for displaying, and outputs the prompt information again after the preset time interval until the user inputs the instruction for representing ending screen projection.
It should be noted that the preset time duration may be defined by the user at the screen projection transmitting end, or may be default (e.g. 15 minutes), and if the preset time duration is too long (e.g. 2 hours), the effect of immediately reminding the user may not be achieved; if the duration is set to be too short (for example, 1 minute), the situation that prompt information is frequently output exists, and the user experience is poor. Therefore, the setting of the preset duration needs to consider both the instantaneity of the output of the prompt message and the user experience.
It can be understood that, in the case that the instruction for representing continuous screen projection is obtained based on the prompt information, the prompt information is output again to inquire whether the user finishes screen projection after the preset duration of continuous screen projection is received, and the prompt information is output for multiple times after the preset duration of the interval.
In some embodiments, the method further comprises:
displaying a first interface comprising a first control for indicating a screen projection mode in a screen projection process;
in response to detecting an operation instruction on the first control based on the first interface, determining a target screen projection mode;
and under the condition that the target screen projection mode is inconsistent with the current screen projection mode, projecting the screen in the target screen projection mode.
In the embodiment of the disclosure, in a screen projection process, a screen projection transmitting device displays a first interface including a first control for indicating a screen projection mode, wherein the first interface may include at least two first controls, and each first control corresponds to one screen projection mode; the first interface may further include a first control, for example, a control corresponding to a screen-casting mode other than the current screen-casting mode. The user may select a screen-casting mode by operating a first control based on the displayed first interface.
In the embodiment of the disclosure, the screen projection transmitting device determines a target screen projection mode based on the first interface detecting an operation instruction of a user on the first control. For example, the screen projection transmitting device detects that the operation instruction of the user on the first control based on the first interface may be a click instruction on the first control, or receives a voice instruction including a name of the first control, and determines the screen projection mode corresponding to the first control indicated by the operation instruction on the first control as the target screen projection mode.
In the embodiment of the disclosure, after determining the target screen projection mode, the screen projection transmitting device determines whether the target screen projection mode is consistent with the current screen projection mode. Under the condition that the target screen projection mode is consistent with the current screen projection mode, continuing to project the screen in the current screen projection mode; and under the condition that the target screen projection mode is inconsistent with the current screen projection mode, switching the current screen projection mode into the target screen projection mode, and sending screen projection data corresponding to the target screen projection mode to screen projection receiving equipment for displaying.
In the embodiment of the disclosure, in the screen projection process, the target screen projection mode is determined based on the operation instruction of the first control detected by the first interface, and under the condition that the current screen projection mode is inconsistent with the target screen projection mode, the screen projection mode can be switched to be the target screen projection mode in real time, and the user does not need to initiate screen projection based on the intention screen projection mode again after finishing the current screen projection mode manually. Through the scheme of this embodiment, can improve and throw the convenience that the in-process switched the mode of throwing the screen.
In an embodiment of the present disclosure, the screen projection mode includes: the screen projection device comprises a first screen projection mode and a second screen projection mode.
In some embodiments, the projecting in the target projection mode comprises:
and under the condition that the target screen projection mode is the first screen projection mode, sending the data of the window displayed in real time as screen projection data to screen projection receiving equipment for displaying.
In the embodiment of the present disclosure, the first screen projection mode may be a mirror image screen projection mode; and under the condition that the target screen projection mode is the first screen projection mode, the screen projection transmitting equipment transmits the data of the window displayed in real time as screen projection data to the screen projection receiving equipment for displaying. The window is a window opened by the screen projection transmitting device, such as a window where a document file is located, a window where a browser is located, a window where a chat tool is located, and the like. The data of the window displayed in real time includes data displayed in real time in the window, data operated in real time in the window, and the like.
Illustratively, if the window displayed in real time is the window where the browser is located, the screen projection transmitting device sends data of the window where the browser is located to the screen projection receiving device as screen projection data, and the screen projection receiving device receives the screen projection data and then displays the data of the window where the browser is located in the screen projection transmitting device; at the moment, if a user opens the document file at the screen projection transmitting equipment, the window displayed in real time is the window where the document file is located, the screen projection transmitting equipment sends data of the window where the document file is located to the screen projection receiving equipment as screen projection data, and after the screen projection receiving equipment receives the screen projection data, the data of the window where the document file is located in the screen projection transmitting equipment are displayed.
It can be understood that, in the embodiment of the present disclosure, if the target screen projecting mode is the first screen projecting mode, the screen projecting transmitting device determines the data of the window displayed in real time as the screen projecting data, and sends the screen projecting data to the screen projecting receiving device for displaying in real time, so that a user can view the data displayed in real time by the screen projecting transmitting device on the screen projecting receiving device in real time, and the synchronism of the content displayed by the screen projecting receiving device and the screen projecting transmitting device is improved.
In some embodiments, the projecting in the target projection mode comprises:
displaying a third interface comprising each window under the condition that the target screen projection mode is a second screen projection mode;
and responding to a first selected instruction for the window detected on the basis of the third interface, and sending the data of the window indicated by the first selected instruction as screen projection data to screen projection receiving equipment for displaying.
In the embodiment of the present disclosure, the second screen projecting mode may be an extended screen projecting mode; and under the condition that the target screen projection mode is the second screen projection mode, the screen projection transmitting equipment displays a third interface comprising each window. So that the user can select the window to be screened based on the displayed third interface. Each window in the third interface may be displayed in a list form, a grid form, or in different colors, which is not limited in this disclosure.
In the embodiment of the invention, the screen projection transmitting equipment sends the data of the window indicated by the first selected instruction as the screen projection data to the screen projection receiving equipment for displaying under the condition that the first selected instruction for each window is detected based on the third interface.
Fig. 3 is a diagram illustrating an example of a display interface for selecting a screen projection window according to an embodiment of the present disclosure, where in fig. 3, an interface identified by W0 corresponds to the aforementioned third interface displayed in the case that the target screen projection mode is the second screen projection mode; the windows marked by W1-W4 are windows 1-4 respectively, and correspond to the windows in the third interface. Wherein, the window identified by W1 corresponds to the control identified by J1, the window identified by W2 corresponds to the control identified by J2, the window identified by W3 corresponds to the control identified by J3, and the window identified by W4 corresponds to the control identified by J4. The user can send a first selection instruction to the control corresponding to the window which is intended to be subjected to screen projection based on the interface identified by the W0, so that the screen projection transmitting device detects the first selection instruction to the window based on the third interface, and sends the data of the window indicated by the first selection instruction as screen projection data to the screen projection receiving device for displaying. By the scheme, the purpose of the screen projection data can be improved.
It should be noted that, if the window indicated by the first selection instruction is a window, the screen projection transmitting device may send the data of the indicated window as screen projection data to the screen projection receiving device for displaying.
If the window indicated by the first selection instruction is at least two windows, in an embodiment, the screen projection transmitting device may integrate data in the at least two windows and transmit the integrated data to the screen projection receiving device, and the screen projection receiving device analyzes data corresponding to each window and displays screen projection data corresponding to each window in blocks. For example, the screen projection transmitting device associates data corresponding to each window with a window identifier (such as a window name, a window number, and the like), integrates the data associated with the window identifier, and transmits the integrated data to the screen projection receiving device; and the screen projection receiving equipment analyzes the data associated with each window identifier based on each window identifier, and divides a plurality of display areas based on the window identifiers, wherein each display area displays the data associated with one window identifier.
In another embodiment, if a window currently displayed by the screen projection transmitting device exists in at least two windows, the screen projection transmitting device can also send data in the window to the screen projection receiving device for displaying; and if the window currently displayed by the screen projection transmitting equipment does not exist in the at least two windows, the screen projection transmitting equipment transmits the data in the most front window of the at least two windows as screen projection data to the screen projection receiving equipment for displaying.
It should be noted that the first selection instruction may be from at least two screen projection transmitting devices, and by the above method, the screen projection receiving device may display the content to be displayed by the at least two screen projection transmitting devices, thereby implementing fast screen projection on data in multiple windows of one or more screen projection transmitting devices, and expanding the content range that can be displayed by the screen projection receiving device.
In this disclosure, the screen projection transmitting device may further send, as screen projection data, the screen projection data of a window other than the data of the window indicated by the instruction to the screen projection receiving device for displaying, based on the third interface detecting the instruction that the representation of the window is not screen projected. Therefore, under the condition that the number of windows which are intended to be projected by a user is large (for example, the number of the windows which are intended to be projected by the user is 10 in 12 open windows), the user can select the window which is not projected by the user on the basis of the third interface, and therefore the screen projection transmitting device transmits data of the windows except the window indicated by the instruction as screen projection data to the screen projection receiving device for displaying on the basis of the instruction representing the screen non-projection, and convenience of selecting the window to be projected by the user is improved.
It can be understood that, in the embodiment of the present disclosure, when the target screen projection mode is the second screen projection mode, a third interface including each window is displayed, and based on that a first selection instruction for the window is detected on the third interface, data of the window indicated by the first selection instruction is sent to the screen projection receiving device as screen projection data for display; on the other hand, the data of the window which the user intends to show can be shown on the screen projection receiving equipment, and meanwhile, the data of the window which the user intends to only be visible to the user is shown at the screen projection transmitting end, so that the screen projection intelligence is improved, and the screen projection function is expanded.
Fig. 4A and 4B illustrate exemplary display interfaces for switching a screen projection mode in a screen projection process according to an embodiment of the present disclosure, where the interface shown in fig. 4A and the interface shown in fig. 4B correspond to the first interface. The interface shown in fig. 4A is the first interface whose current screen projection mode is mirror screen projection, and the interface shown in fig. 4B is the first interface whose current screen projection mode is extended screen projection.
In fig. 4A, the screen projection mode corresponding to the control identified by L1 is mirror image screen projection, which corresponds to the first screen projection mode; the mode corresponding to the control identified by the L2 is an extended screen projection mode and corresponds to the second screen projection mode; the control identified by L1 and the control identified by L2 belong to the aforementioned first control.
During the screen-casting process, the interface in fig. 4A or the interface in fig. 4B is displayed, and a control corresponding to the current screen-casting mode (the control identified for L1 in fig. 4A) is highlighted in the interface. The highlighting includes top-up display, highlight display and the like. Illustratively, when the user intends to switch the mirror image screen projection mode to the extended screen projection mode, the user clicks a control identified by L2 in fig. 4A, the screen projection transmitting device determines that the target screen projection mode is the extended screen projection mode based on the operation, correspondingly displays the interface in fig. 4B, and then switches the mirror image screen projection mode to the extended screen projection mode for screen projection.
In the interface shown in fig. 4A, a control for representing the end of the screen-casting, which is identified by L3, may also be shown. In the screen projection process, when the user intends to finish screen projection, the user can click the control identified by the L3, the screen projection transmitting device stops sending screen projection data to the screen projection receiving device based on the operation, and screen projection is finished.
In addition, information of the screen-casting receiving device, user name information, a control for representing viewing user information identified by L4, a control for representing zooming in/out of the first interface identified by L5, and a control for representing closing of the first interface identified by L6 may also be shown in the interface shown in fig. 4A. Wherein, the information of the screen receiving device is such as the name, the device number and the like of the screen projection receiving device; the user name information can be a user name after the user finishes logging in the login interface before entering the first interface; the user clicks the control identified by the L4, and can view other information of the user, such as the real name of the user, login time, and the like; the user clicks the control identified by the L5 to realize the zooming in/out of the first interface; the user may close the first interface by clicking on the control identified by L6.
For each display content in the page shown in fig. 4B, the aforementioned description of each display content in the interface shown in fig. 4A can be referred to, and details are not repeated here.
It can be appreciated that, as in the first interface illustrated in fig. 4A, highlighting the current screen projection mode can improve the convenience of the user in learning the current screen projection mode; in addition, the target mode is determined based on the detected operation instruction of the control identified by the L1 or the control identified by the L2, the current mode is switched to the target screen projection mode for screen projection when the current mode is inconsistent with the target screen projection mode, screen projection is initiated again based on the intention screen projection mode after the current screen projection mode is manually finished by a user, and convenience in switching the screen projection modes in the screen projection process is improved.
In some embodiments, the method further comprises:
before starting screen projection, displaying a second interface comprising a second control for indicating a screen projection mode;
in response to detecting an operating instruction of the second control based on the second interface, determining a target screen projection mode;
and projecting the screen in the target screen projecting mode.
In the embodiment of the disclosure, before starting screen projection, the screen projection emission device displays a second interface including a second control indicating a screen projection mode, where the screen projection mode includes the first screen projection mode and a second screen projection mode, and each screen projection mode corresponds to one second control. The user may select the screen-casting mode by operating a second control based on the displayed second interface.
In the embodiment of the disclosure, the screen projection transmitting device determines the target screen projection mode based on the second interface detecting the operation instruction of the user on the second control. For example, the operation instruction for the second control may be a selection instruction for the second control issued after the second control is clicked, or an instruction issued in a manner such as voice including a name of the second control, so that the screen projection mode corresponding to the second control indicated by the selection instruction for the second control is determined as the target screen projection mode.
In the embodiment of the disclosure, after determining the target screen projection mode, the screen projection transmitting device determines screen projection data corresponding to the target screen projection mode, so as to send the screen projection data to the screen projection receiving device for displaying. The screen projection receiving device may be a device in the same network segment as the screen projection transmitting device, a historical screen projection device (including a device in the same network segment and/or a different network segment as the screen projection transmitting device), or a screen projection receiving device designated by a user, such as a device selected by the user in a screen projection receiving device list.
In the embodiment of the disclosure, for the screen projection transmitting device and the screen projection receiving device in the same network segment, for example, the screen projection transmitting device and the screen projection receiving device in the same coverage range of the WIFI network signal, the screen projection transmitting device transmits screen projection data to the screen projection receiving device for display through the wireless WIFI signal.
For the screen projection transmitting device and the screen projection receiving device in different network segments, the screen projection transmitting device can acquire an access address (Internet Protocol, IP) of the screen projection receiving device, so that screen projection data is sent to the device corresponding to the access address, and remote screen projection is realized. The access address of the screen projection receiving device may be the access address of the stored historical screen projection receiving device, or the access address input by the user on the screen projection transmitting device, and the like, which is not limited in this disclosure.
It should be noted that, if there is one screen projection receiving device, the screen projection transmitting device may directly transmit the screen projection data to the screen projection receiving device for display; if the number of the screen projection receiving devices is at least two, the screen projection transmitting device can copy at least two screen projection data and synchronously distribute the screen projection data to the screen projection receiving devices, and each screen projection receiving device receives one screen projection data, so that the screen projection data can be synchronously displayed by at least two screen projection receiving devices.
It can be understood that, in the embodiment of the present disclosure, before the screen projection is started, the screen projection emission device detects an operation instruction to the second control through the displayed second interface, determines the target screen projection mode, and then starts to project the screen in the target screen projection mode, so that convenience and flexibility of selecting which screen projection mode to project the screen before starting to project the screen by the user can be improved.
In some embodiments, the obtaining of the screen projection information includes:
before screen projection is started, screen projection information is acquired; the screen projection information also comprises device identifications of at least two screen projection receiving devices;
before the screen projection is started, displaying a second interface comprising a second control for indicating a screen projection mode, wherein the second interface comprises:
before screen projection is started, displaying the second interface comprising the second control and the device identifications of the at least two screen projection receiving devices;
the screen projection in the target screen projection mode comprises the following steps:
and responding to a second selected instruction of the screen projection receiving equipment detected based on the equipment identification in the second interface, and sending the screen projection data to the screen projection receiving equipment indicated by the second selected instruction for displaying based on the target screen projection mode.
In the embodiment of the disclosure, before screen projection is started, screen projection information including device identifiers of at least two screen projection receiving devices is acquired, where the device identifiers may be device names, device numbers, or uniquely identifiable information such as numbers and letters.
In one embodiment, the device identifiers of at least two screen projection receiving devices in the same network segment with the screen projection transmitting device can be obtained. In another embodiment, the device identifiers of at least two screen projection receiving devices corresponding to the historical screen projection receiving devices may be obtained, for example, the device identifiers of at least two screen projection receiving devices that select the latest screen projection, the device identifier of the screen projection receiving device that ranks earlier in the historical screen projection times, or the device identifiers of at least two screen projection receiving devices that rank earlier in the historical screen projection time length, and the like.
In the embodiment of the present disclosure, the screen-projection information may further include a screen-projection location, such as a name, a location, a number, and the like of a conference room reserved in the conference reservation system for screen projection. In the embodiment of the present disclosure, the device identifiers of the at least two screen projection receiving devices may also be the device identifiers of the at least two screen projection receiving devices located in the conference room indicated by the name of the conference room.
In the embodiment of the present disclosure, before starting to project a screen, a second interface displayed on the screen projecting transmitting device includes the second control and device identifiers of at least two screen projecting receiving devices; when the device identifiers of the at least two screen projection receiving devices are displayed in the second interface, the device identifiers of the at least two screen projection receiving devices may be arranged according to the screen projection times ranking of the screen projection receiving devices, the screen projection duration ranking of the screen projection receiving devices, the first character of the device identifier of the screen projection receiving device, and the like.
In addition, the device identifier may further include a recommendation identifier, for example, the device identifier of the screen-casting receiving device that casts the screen at the previous time and the recommendation identifier are displayed in an associated manner, the device identifier of the screen-casting receiving device whose screen-casting frequency is greater than a preset frequency threshold is displayed in an associated manner with the recommendation identifier, or the device identifier of the screen-casting receiving device whose screen-casting time is greater than a preset time threshold is displayed in an associated manner with the recommendation identifier. By the scheme, the user can be helped to quickly select the screen projection receiving equipment, and the screen projection initiating efficiency is improved.
In the embodiment of the disclosure, the user may select the screen projection receiving device to be projected based on the displayed second interface.
In the embodiment of the disclosure, the screen projection transmitting device sends the screen projection data to the screen projection receiving device indicated by a second selected instruction for displaying based on the target screen projection mode under the condition that the second selected instruction of the screen projection receiving device is detected based on the device identifier in the second interface; the screen projection receiving device indicated by the second selection instruction may be one or multiple.
It can be understood that, in the embodiment of the present disclosure, before the screen projection is started, the screen projection transmitting device displays a second interface including the second control and the device identifiers of the at least two screen projection receiving devices, and based on a second selection instruction of the user screen projection receiving device, the screen projection data is sent to the screen projection receiving device indicated by the second selection instruction for display, so that the purpose of determining the screen projection receiving device can be improved.
It should be noted that, if the screen projection information includes an equipment identifier of one screen projection receiving device, the second interface displays the equipment identifier of one screen projection receiving device, and sets the equipment identifier to the selected state. According to the scheme, the screen projection receiving equipment does not need to be selected by a user, and after the user initiates screen projection, the screen projection transmitting equipment can directly send screen projection data corresponding to the target screen projection mode to the screen projection receiving equipment corresponding to the equipment identification in the selected state for screen projection.
In some embodiments, before starting the screen projection, displaying a second interface including a second control for indicating a screen projection mode includes:
before screen projection is started, displaying a second interface comprising the second control and a third control for receiving screen projection codes; the screen projection code is used for indicating screen projection receiving equipment;
the method further comprises the following steps:
responding to the operation instruction of the third control detected based on the second interface, and acquiring a screen projection code;
the screen projection in the target screen projection mode comprises the following steps:
and sending the screen projection data to the screen projection receiving equipment indicated by the screen projection code for displaying based on the target screen projection mode.
In the embodiment of the disclosure, before the screen projection is started, the second interface displayed by the screen projection transmitting device may include the second control and a third control for receiving the screen projection code; wherein the third control may be a text input control, a voice receiving control, a scanning control, etc.
In the embodiment of the present disclosure, the screen-shot code may be uniquely identifiable information including characters, numbers, or the like, or a two-dimensional code generated based on the uniquely identifiable information, or the like. The screen projection code can be generated by the screen projection receiving equipment or generated by the server for each screen projection receiving equipment, and the generated screen projection code can uniquely indicate the screen projection receiving equipment due to uniqueness of the screen projection code.
The screen projection transmitting device in the embodiment of the disclosure acquires the screen projection code under the condition that the operation instruction of the third control is detected based on the second interface. For example, the screen projection transmitting device may obtain a screen projection code input by a user on the screen projection transmitting device based on detecting an input instruction to a text input control indicating the screen projection code; acquiring voice information based on the detection of a selected instruction of a voice receiving control for indicating the screen projection code, and further analyzing the screen projection code by utilizing technologies such as voice recognition and the like; based on the detection of the selected instruction of the scanning control for indicating the screen-projecting code, the screen-projecting code is obtained by scanning a two-dimensional code or Optical Character Recognition (OCR) and the like. The screen projection receiving equipment can display the screen projection code, so that a user can input the screen projection code on a second interface which is displayed by the screen projection transmitting equipment and comprises a third control based on the displayed screen projection code, or the screen projection receiving equipment can display a two-dimensional code, and the user can scan the two-dimensional code and the like through the third control. In addition, the screen projection transmitting device may also receive screen projection codes sent by other terminals, which is not limited in this disclosure.
After the screen projection transmitting equipment acquires the screen projection code, screen projection data are sent to screen projection receiving equipment indicated by the screen projection code for display based on a target screen projection mode. If the screen projection receiving equipment indicated by the acquired screen projection code does not exist, the screen projection transmitting equipment can output information representing that the screen projection receiving equipment is not found or output information representing that the screen projection code is wrong so as to remind a user of re-inputting the screen projection code.
It can be understood that, in the embodiment of the present disclosure, the screen projection transmitting device sends the screen projection data to the screen projection receiving device indicated by the screen projection code in a screen projection code manner for display, and the screen projection transmitting device and the screen projection receiving device do not need to be in wired connection, and the screen projection transmitting device and the screen projection receiving device do not need to be connected to the same wireless local area network, so that the screen projection application range is greatly widened.
In the embodiment of the disclosure, the screen-projecting code of the screen-projecting receiving device can be uniquely identified, and the screen-projecting code can be automatically updated every time the updating duration (for example, 5 minutes) is preset. Through the scheme, the problem of malicious screen projection caused by the fact that the screen projection code is fixed and unchanged can be reduced, and smooth screen projection is guaranteed.
It should be noted that, in the embodiment of the present disclosure, the screen projection receiving device may be determined based on the screen projection code, or the screen projection receiving device may be determined based on the detection of the second selected instruction in the second interface. In addition, the screen projection receiving equipment and the screen projection code can be combined to jointly determine the screen projection receiving equipment, and if the screen projection receiving equipment indicated by the screen projection code is consistent with the screen projection receiving equipment determined based on the second selected instruction, screen projection can be started, malicious screen projection initiated by the known screen projection code can be reduced, and the accuracy and the safety of screen projection are improved.
Fig. 5A and 5B illustrate exemplary diagrams of a display interface for initiating screen projection according to an embodiment of the present disclosure, where the interface shown in fig. 5A is an interface in which a mirror image screen projection mode is in a selected state, and the interface shown in fig. 5B is an interface in which an extended screen projection mode is in a selected state; fig. 5A and 5B show interfaces including the aforementioned second interface.
In the interface shown in fig. 5A, the control identified by L7 and the control identified by L8 correspond to a second control in the aforementioned second interface, where a screen projection mode corresponding to the control identified by L7 is mirror image screen projection, the control identified by L7 is highlighted, and it is characterized that the selected screen projection mode is mirror image screen projection; the screen projection mode corresponding to the control identified by L8 is an extended screen projection, the user can switch the target screen projection mode to the extended screen projection by clicking the control identified by L8, and the corresponding interface is the interface shown in fig. 5B. The control identified by the L9 corresponds to the third control in the second interface, and the screen-casting transmitting device may obtain the screen-casting code through information input by the user on the control identified by the L9. The content displayed in the panel identified by L10 corresponds to the device identifiers of at least two screen projection receiving devices in the second interface, wherein the "recommendation" tag corresponds to the aforementioned recommendation identifier, and the user can select the device identifier of the screen projection receiving device in the panel identified by L10.
In the embodiment of the disclosure, the screen projection transmitting device may determine a target screen projection mode based on a user operating a control identified by L7 or L8, obtain a screen projection code based on text information input by the user on the control identified by L9, and/or obtain a device identifier of a receiving device selected by the user on a board identified by L10, and initiate screen projection. By the scheme, multiple screen projection initiating modes are provided for a user on one interface, and flexibility and convenience of screen projection initiating can be improved.
In addition, other display contents in the interface shown in fig. 5A may refer to the description of the interface shown in fig. 4A, and each display content in the interface shown in fig. 5B may refer to the description of the interface shown in fig. 5A, which is not repeated herein.
In some embodiments, the method further comprises:
acquiring a historical screen projection mode;
the display includes a second interface including a second control for indicating a screen-shot mode, including:
and displaying a second control corresponding to the historical screen projection mode in a selected state in the second interface.
In the embodiment of the disclosure, the screen projection transmitting device obtains a historical screen projection mode, wherein the historical screen projection mode includes a screen projection mode used before the current time or a screen projection mode used within a preset time (for example, within about 30 days).
In a second interface displayed before the screen projection is started, the second control corresponding to the historical screen projection mode is displayed in the selected state, the control corresponding to the screen projection mode used in the previous time can be displayed in the selected state, or all the historical screen projection modes are counted, the control corresponding to the screen projection mode with the largest number is displayed in the selected state, the screen projection duration of all the historical screen projection modes can be counted, the control corresponding to the screen projection mode with the longest duration is displayed in the selected state, and the like.
In the embodiment of the present disclosure, the second control is displayed in the selected state, for example, the display size of the second control is enlarged, the display color of the second control is changed, the second control is framed, and the like.
If the user does not change the selected state of the second control, that is, the user does not cancel the selected state of the second control corresponding to the historical screen projection mode, the screen can be projected in the screen projection mode indicated by the second control corresponding to the historical screen projection mode after the user initiates screen projection (for example, clicking the control representing the start of screen projection). The user cancels the selected state of the second control corresponding to the historical screen projection mode, the selected state of the control can be cancelled by clicking the second control corresponding to the historical screen projection mode, or the clicked second control is in the selected state by clicking a second control except the second control corresponding to the historical screen projection mode, so that the selected state of the second control corresponding to the historical screen projection mode is cancelled.
It can be understood that, since the historical screen projection mode can represent the preference of the user to the screen projection mode, in the embodiment of the present disclosure, before the screen projection is started, the screen projection transmitting device displays the second control corresponding to the historical screen projection mode in the selected state, that is, the screen projection mode preferred by the user is defaulted to the selected state, and the user does not need to manually select the screen projection mode, so that the convenience of initiating the screen projection can be improved.
Fig. 6 is a schematic structural diagram of a projection device according to an embodiment of the present disclosure, and as shown in fig. 6, the projection device 600 includes:
a first obtaining module 601, configured to obtain screen projection information; the screen projection information comprises a screen projection time period;
a first determining module 602, configured to determine, during a screen projection process, whether a current time is within the screen projection time period;
the output module 603 is configured to output a prompt message when the current time is not within the screen-casting time period;
the execution module 604 is configured to, in response to receiving an instruction indicating whether to finish screen projection, acquired based on the prompt information, execute an operation matched with the instruction; wherein the operation comprises one of: and finishing screen projection and continuing to project the screen.
In some embodiments, the apparatus further comprises:
a first display module 605, configured to display a first interface including a first control for indicating a screen projection mode in a screen projection process;
a second determining module 606, configured to determine a target screen projection mode in response to detecting an operation instruction on the first control based on the first interface;
and a screen projection module 607, configured to project a screen in the target screen projection mode when the target screen projection mode is inconsistent with the current screen projection mode.
In some embodiments, the apparatus further comprises:
a second display module 608, configured to display a second interface including a second control for indicating a screen projection mode before starting screen projection;
a third determining module 609, configured to determine, in response to detecting an operation instruction on the second control based on the second interface, a target screen projection mode;
the screen projecting module 607 is configured to project a screen in the target screen projecting mode.
In some embodiments, the apparatus further comprises:
a second obtaining module 610, configured to obtain a historical screen projection mode;
the second display module 608 is configured to display, in the second interface, a second control corresponding to the historical screen projection mode in a selected state.
In some embodiments, the first obtaining module 601 is configured to obtain the screen projection information before starting screen projection; the screen projection information also comprises device identifications of at least two screen projection receiving devices;
the second display module 608 is configured to display the second interface including the second control and the device identifiers of the at least two screen projection receiving devices before starting screen projection;
the screen projection module 607 is configured to, in response to detecting a second selected instruction of the screen projection receiving device based on the device identifier in the second interface, send the screen projection data to the screen projection receiving device indicated by the second selected instruction for display based on the target screen projection mode.
In some embodiments, the second display module 608 is configured to display a second interface including the second control and a third control for receiving a screen-casting code before starting the screen casting; the screen projection code is used for indicating screen projection receiving equipment;
the device further comprises:
a third obtaining module 611, configured to, in response to detecting an operation instruction for the third control based on the second interface, obtain a screen projection code;
and the screen projection module 607 is configured to send the screen projection data to the screen projection receiving device indicated by the screen projection code for displaying based on the target screen projection mode.
In some embodiments, the screen projecting module 607 is configured to send data of a window displayed in real time as screen projecting data to a screen projecting receiving device for displaying, when the target screen projecting mode is the first screen projecting mode.
In some embodiments, the screen projecting module 607 is configured to display a third interface including windows if the target screen projecting mode is the second screen projecting mode; and responding to the detection of a first selection instruction for the window based on the third interface, and sending the data of the window indicated by the first selection instruction as screen projection data to screen projection receiving equipment for displaying.
In some embodiments, the execution module 604 is configured to output the prompt message at preset time intervals if the instruction indicates that the screen is continuously projected.
The above description of the apparatus embodiments, similar to the above description of the method embodiments, has similar beneficial effects as the method embodiments. In some embodiments, functions of or modules included in the apparatuses provided in the embodiments of the present disclosure may be used to perform the methods described in the above method embodiments, and for technical details not disclosed in the embodiments of the apparatuses of the present disclosure, please refer to the description of the method embodiments of the present disclosure for understanding.
It should be noted that, in the embodiment of the present disclosure, if the screen projection method is implemented in the form of a software functional module and is sold or used as a standalone product, the method may also be stored in a computer readable storage medium. Based on such understanding, the technical solutions of the embodiments of the present disclosure may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the methods described in the embodiments of the present disclosure. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read Only Memory (ROM), a magnetic disk, or an optical disk. Thus, embodiments of the present disclosure are not limited to any specific hardware, software, or firmware, or any combination thereof.
The embodiment of the present disclosure provides a computer device, which includes a memory and a processor, where the memory stores a computer program that can be run on the processor, and the processor implements some or all of the steps of the above method when executing the program.
The disclosed embodiments provide a computer-readable storage medium having stored thereon a computer program that, when executed by a processor, performs some or all of the steps of the above-described method. The computer readable storage medium may be transitory or non-transitory.
The disclosed embodiments provide a computer program comprising computer readable code, where the computer readable code runs in a computer device, a processor in the computer device executes some or all of the steps for implementing the above method.
The disclosed embodiments provide a computer program product comprising a non-transitory computer readable storage medium storing a computer program that when read and executed by a computer performs some or all of the steps of the above method. The computer program product may be embodied in hardware, software or a combination thereof. In some embodiments, the computer program product is embodied in a computer storage medium, and in other embodiments, the computer program product is embodied in a Software product, such as a Software Development Kit (SDK), or the like.
Here, it should be noted that: the foregoing description of the various embodiments is intended to highlight various differences between the embodiments, which are the same or similar and all of which are referenced. The above description of the apparatus, storage medium, computer program and computer program product embodiments is similar to the description of the method embodiments above, with similar advantageous effects as the method embodiments. For technical details not disclosed in the embodiments of the disclosed apparatus, storage medium, computer program and computer program product, reference is made to the description of the embodiments of the method of the present disclosure for understanding.
Fig. 7 is a schematic diagram of hardware entities of a computer device according to an embodiment of the present disclosure, and as shown in fig. 7, the hardware entities of the computer device 700 include: a processor 701, a communication interface 702, and a memory 703, wherein:
the processor 701 generally controls the overall operation of the computer device 700.
The communication interface 702 may enable the computer device to communicate with other terminals or servers via a network.
The Memory 703 is configured to store instructions and applications executable by the processor 701, and may also buffer data (e.g., image data, audio data, voice communication data, and video communication data) to be processed or already processed by the processor 701 and modules in the computer device 700, and may be implemented by a FLASH Memory (FLASH) or a Random Access Memory (RAM). Data may be transferred between the processor 701, the communication interface 702, and the memory 703 via the bus 704.
It should be appreciated that reference throughout this specification to "one embodiment" or "an embodiment" means that a particular feature, structure or characteristic described in connection with the embodiment is included in at least one embodiment of the present disclosure. Thus, the appearances of the phrases "in one embodiment" or "in an embodiment" in various places throughout this specification are not necessarily all referring to the same embodiment. Furthermore, the particular features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. In addition, in various embodiments of the present disclosure, the sequence number of each step/process does not mean the execution sequence, and the execution sequence of each step/process should be determined by the function and the inherent logic of the step/process, and should not constitute any limitation on the implementation process of the embodiments of the present disclosure. The above-mentioned serial numbers of the embodiments of the present disclosure are merely for description and do not represent the merits of the embodiments.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
In the several embodiments provided in the present disclosure, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above-described device embodiments are merely illustrative, for example, the division of the unit is only a logical functional division, and there may be other division ways in actual implementation, such as: multiple units or components may be combined, or may be integrated into another system, or some features may be omitted, or not implemented. In addition, the coupling, direct coupling or communication connection between the components shown or discussed may be through some interfaces, and the indirect coupling or communication connection between the devices or units may be electrical, mechanical or other forms.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units; can be located in one place or distributed on a plurality of network units; some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, all the functional units in the embodiments of the present disclosure may be integrated into one processing unit, or each unit may be separately regarded as one unit, or two or more units may be integrated into one unit; the integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
Those of ordinary skill in the art will understand that: all or part of the steps for realizing the method embodiments can be completed by hardware related to program instructions, the program can be stored in a computer readable storage medium, and the program executes the steps comprising the method embodiments when executed; and the aforementioned storage medium includes: a removable storage device, a ROM, a magnetic or optical disk, or other various media that can store program code.
Alternatively, the integrated unit of the present disclosure may be stored in a computer-readable storage medium if it is implemented in the form of a software functional module and sold or used as a separate product. Based on such understanding, the technical solutions of the present disclosure may be substantially or partially embodied in the form of a software product stored in a storage medium, and include several instructions to enable a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the methods described in the embodiments of the present disclosure. And the aforementioned storage medium includes: a removable storage device, a ROM, a magnetic or optical disk, or other various media that can store program code.
The above description is only an embodiment of the present disclosure, but the scope of the present disclosure is not limited thereto, and any person skilled in the art can easily conceive of changes or substitutions within the technical scope of the present disclosure, and all the changes or substitutions should be covered by the scope of the present disclosure.

Claims (12)

1. A method of screen projection, the method comprising:
acquiring screen projection information; the screen projection information comprises a screen projection time period;
in the screen projection process, determining whether the current time is within the screen projection time period;
outputting prompt information under the condition that the current time is not in the screen projection time period;
responding to a received instruction for representing whether screen projection is finished or not acquired based on the prompt information, and executing operation matched with the instruction; wherein the operation comprises one of: and finishing screen projection and continuing to project the screen.
2. The method of claim 1, further comprising:
displaying a first interface comprising a first control for indicating a screen projection mode in a screen projection process;
in response to detecting an operation instruction on the first control based on the first interface, determining a target screen projection mode;
and under the condition that the target screen projection mode is inconsistent with the current screen projection mode, projecting the screen in the target screen projection mode.
3. The method of claim 1, further comprising:
before starting screen projection, displaying a second interface comprising a second control for indicating a screen projection mode;
in response to detecting an operating instruction of the second control based on the second interface, determining a target screen projection mode;
and projecting the screen in the target screen projecting mode.
4. The method of claim 3, further comprising:
acquiring a historical screen projection mode;
the display includes a second interface including a second control for indicating a screen-shot mode, including:
and displaying a second control corresponding to the historical screen projection mode in a selected state in the second interface.
5. The method of claim 3 or 4, wherein the obtaining screen projection information comprises:
before screen projection is started, screen projection information is acquired; the screen projection information also comprises device identifications of at least two screen projection receiving devices;
before the screen projection is started, displaying a second interface comprising a second control for indicating a screen projection mode, wherein the second interface comprises:
before screen projection is started, displaying the second interface comprising the second control and the device identifications of the at least two screen projection receiving devices;
the screen projection in the target screen projection mode comprises the following steps:
and responding to a second selected instruction of the screen projection receiving equipment detected based on the equipment identification in the second interface, and sending the screen projection data to the screen projection receiving equipment indicated by the second selected instruction for displaying based on the target screen projection mode.
6. The method of claim 3 or 4, wherein before the screen projection is started, displaying a second interface including a second control for indicating a screen projection mode comprises:
before screen projection is started, displaying a second interface comprising the second control and a third control for receiving screen projection codes; the screen projection code is used for indicating screen projection receiving equipment;
the method further comprises the following steps:
responding to the operation instruction of the third control detected based on the second interface, and acquiring a screen projection code;
the screen projection in the target screen projection mode comprises the following steps:
and sending the screen projection data to the screen projection receiving equipment indicated by the screen projection code for displaying based on the target screen projection mode.
7. The method of any one of claims 2 to 6, wherein the projecting in the target projection mode comprises:
and under the condition that the target screen projection mode is the first screen projection mode, sending the data of the window displayed in real time as screen projection data to screen projection receiving equipment for displaying.
8. The method of any one of claims 2 to 6, wherein the projecting in the target projection mode comprises:
displaying a third interface comprising each window under the condition that the target screen projection mode is a second screen projection mode;
and responding to a first selected instruction for the window detected on the basis of the third interface, and sending the data of the window indicated by the first selected instruction as screen projection data to screen projection receiving equipment for displaying.
9. The method according to any one of claims 1 to 8, wherein the performing, in response to receiving an instruction representing whether screen projection is finished or not acquired based on the prompt information, an operation matched with the instruction includes:
and under the condition that the instruction represents that the screen is continuously projected, outputting the prompt information at preset time intervals.
10. A screen projection apparatus, comprising:
the first acquisition module is used for acquiring screen projection information; the screen projection information comprises a screen projection time period;
the first determining module is used for determining whether the current time is within the screen projecting time period or not in the screen projecting process;
the output module is used for outputting prompt information under the condition that the current time is not within the screen projection time period;
the execution module is used for responding to a received instruction for indicating whether screen projection is finished or not acquired based on the prompt information and executing operation matched with the instruction; wherein the operation comprises one of: and finishing screen projection and continuing to project the screen.
11. A computer device comprising a memory and a processor, the memory storing a computer program operable on the processor, wherein the processor implements the steps of the method of any one of claims 1 to 9 when executing the 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 the method of any one of claims 1 to 9.
CN202210723615.1A 2022-06-23 2022-06-23 Screen projection method and device, computer equipment and storage medium Pending CN115048070A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210723615.1A CN115048070A (en) 2022-06-23 2022-06-23 Screen projection method and device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210723615.1A CN115048070A (en) 2022-06-23 2022-06-23 Screen projection method and device, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
CN115048070A true CN115048070A (en) 2022-09-13

Family

ID=83162768

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210723615.1A Pending CN115048070A (en) 2022-06-23 2022-06-23 Screen projection method and device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115048070A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116489433A (en) * 2023-05-09 2023-07-25 杭州全能数字科技有限公司 Screen projection method and system for video terminal
CN117135396A (en) * 2023-02-14 2023-11-28 荣耀终端有限公司 Screen projection method and related equipment thereof

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117135396A (en) * 2023-02-14 2023-11-28 荣耀终端有限公司 Screen projection method and related equipment thereof
CN116489433A (en) * 2023-05-09 2023-07-25 杭州全能数字科技有限公司 Screen projection method and system for video terminal
CN116489433B (en) * 2023-05-09 2024-02-13 杭州全能数字科技有限公司 Screen projection method and system for video terminal

Similar Documents

Publication Publication Date Title
US20220092296A1 (en) Method for updating data, electronic device, and storage medium
US9667774B2 (en) Methods and devices for sending virtual information card
CN109068161B (en) Equipment connection establishing method and device
US10452890B2 (en) Fingerprint template input method, device and medium
CN115048070A (en) Screen projection method and device, computer equipment and storage medium
CN105635625B (en) Video call method and device
EP3136793A1 (en) Method and apparatus for awakening electronic device
US10334282B2 (en) Methods and devices for live broadcasting based on live broadcasting application
US8504928B2 (en) Communication terminal, display control method, and computer-readable medium storing display control program
US20170161684A1 (en) Server-implemented method, terminal-implemented method and device for acquiring business card information
US10242678B2 (en) Friend addition using voiceprint analysis method, device and medium
CN104158985A (en) Communication method, device and system
CN106453846B (en) Display method and device of two-dimensional code business card
CN106603381B (en) Method and device for processing chat information
CN112291631A (en) Information acquisition method, device, terminal and storage medium
US10764418B2 (en) Method, device and medium for application switching
WO2020078078A1 (en) Instant messaging notification method and apparatus, electronic device, and storage medium
CN110852163A (en) Binding method and device
CN113807253A (en) Face recognition method and device, electronic equipment and storage medium
CN110929545A (en) Human face image sorting method and device
EP3057314A1 (en) Method, device and system for multipoint video communications
CN105656639B (en) Group message display method and device
US20100203869A1 (en) Mobile terminal and method for phone number management using image in mobile terminal
EP3128722A1 (en) File transmission method and apparatus, computer program and recording medium
CN110347460A (en) Reminding method and device

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