CN111552450A - Screen projection method and device - Google Patents

Screen projection method and device Download PDF

Info

Publication number
CN111552450A
CN111552450A CN202010366830.1A CN202010366830A CN111552450A CN 111552450 A CN111552450 A CN 111552450A CN 202010366830 A CN202010366830 A CN 202010366830A CN 111552450 A CN111552450 A CN 111552450A
Authority
CN
China
Prior art keywords
screen projection
screen
sending
projection
resources
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
CN202010366830.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 Honghe Innovation Information Technology Co Ltd
Original Assignee
Shenzhen Honghe Innovation Information 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 Honghe Innovation Information Technology Co Ltd filed Critical Shenzhen Honghe Innovation Information Technology Co Ltd
Priority to CN202010366830.1A priority Critical patent/CN111552450A/en
Publication of CN111552450A publication Critical patent/CN111552450A/en
Priority to PCT/CN2020/110324 priority patent/WO2021217964A1/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
    • G06F3/1454Digital output to display device ; Cooperation and interconnection of the display device with other functional units involving copying of the display data of a local workstation or window to a remote workstation or window so that an actual copy of the data is displayed simultaneously on two or more displays, e.g. teledisplay
    • 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
    • G06F3/1423Digital output to display device ; Cooperation and interconnection of the display device with other functional units controlling a plurality of local displays, e.g. CRT and flat panel display

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Controls And Circuits For Display Device (AREA)
  • Telephone Function (AREA)

Abstract

The application provides a screen projection method and a screen projection device, and the method comprises the steps of firstly responding to a screen projection control event, and determining a screen projection sending end corresponding to the screen projection control event; secondly, determining screen projection parameters corresponding to each screen projection sending terminal according to the number of the screen projection sending terminals; then, the screen projection parameters are sent to the corresponding screen projection sending ends, so that the screen projection sending ends send screen projection resources to the screen projection receiving ends according to the screen projection parameters; and finally, receiving and displaying the screen projection resources sent by each screen projection sending terminal. Compared with the prior art, the screen projection method and the screen projection device have the advantages that the screen projection parameters can be sent to the screen projection sending end, the screen projection sending end sends screen projection resources according to the screen projection parameters, then the screen projection receiving end is prevented from compressing the screen projection resources and the like, occupation of computing resources of the screen projection receiving end is effectively reduced, and the situations of blockage, blockage and the like of screen projection pictures are reduced.

Description

Screen projection method and device
Technical Field
The application relates to the technical field of computers, in particular to a screen projection method and device.
Background
At present, the screen projection technology is integrated into life and work of people, and is widely applied to scenes such as conferences, teaching and the like. With the rapid development of screen projection technology, the one-to-one screen projection mode is difficult to meet the requirements of users, and therefore, one-to-many, many-to-one and the like screen projection modes are generated.
Generally, in a many-to-one screen projection mode, the screen projection receiving terminal and the screen projection transmitting terminals are included, each screen projection transmitting terminal transmits screen projection resources to be projected to the screen projection receiving terminal, and after the screen projection receiving terminal receives the screen projection resources, since each screen projection resource needs to be compressed and the like, a large amount of computing resources need to be consumed, and the problems of screen projection screen blocking, blocking and the like are easily caused.
Disclosure of Invention
In view of the above, an object of the present application is to provide a screen projection method and device, which can reduce resource consumption of a screen projection receiving end and effectively reduce the problems of screen projection image blocking and deadlocking.
The embodiment of the application provides a screen projection method, which is applied to a screen projection receiving end and comprises the following steps:
responding to a screen projection control event, and determining a screen projection sending end corresponding to the screen projection control event;
determining screen projection parameters corresponding to each screen projection sending terminal according to the number of the screen projection sending terminals;
sending the screen projection parameters to corresponding screen projection sending ends so that the screen projection sending ends send screen projection resources to the screen projection receiving ends according to the screen projection parameters;
and receiving and displaying the screen projection resources sent by each screen projection sending terminal.
In a possible implementation manner, the determining, according to the number of the screen-casting sending terminals, a screen-casting parameter corresponding to each screen-casting sending terminal includes:
generating screen projection windows for displaying the screen projection resources according to the number of the screen projection sending ends;
and determining screen projection parameters corresponding to each screen projection sending end according to the screen projection windows, wherein the screen projection parameters comprise the screen projection window sizes of the screen projection resources.
In a possible implementation manner, the sending the screen-casting parameter to the corresponding screen-casting sending terminal so that the screen-casting sending terminal sends the screen-casting resource to the screen-casting receiving terminal according to the screen-casting parameter includes:
and aiming at each screen projection sending end, sending the screen projection window size of the screen projection resource corresponding to the screen projection sending end, so that the screen projection sending end determines the resolution and the code rate of the screen projection resource according to the screen projection window size, and sends the screen projection resource to the screen projection receiving end according to the determined resolution and code rate.
In one possible embodiment, the screen-on control event includes at least one of:
the method comprises the steps of detecting a screen throwing adding request corresponding to any screen throwing sending end, detecting a screen throwing withdrawing request corresponding to any screen throwing sending end and detecting a screen throwing equipment deleting instruction.
In one possible embodiment, before responding to the screen-projection control event, the method further comprises:
and determining whether to respond to the screen-casting control event or not according to the number of screen-casting sending ends currently casting screens at the screen-casting receiving ends and the maximum screen-casting access number of the screen-casting receiving ends.
The embodiment of the application also provides another screen projection method, which is used for a screen projection sending end, and the method comprises the following steps:
receiving screen projection parameters determined by a screen projection receiving end according to the number of screen projection sending ends corresponding to the screen projection control events;
and sending the screen projection resources corresponding to the screen projection parameters to the screen projection receiving end so that the screen projection receiving end can display the screen projection resources.
In a possible implementation, the screen projection parameters include a screen projection window size of the screen projection resource according to the screen projection parameters;
the sending the screen projection resources corresponding to the screen projection parameters to the screen projection receiving end comprises the following steps:
and determining the resolution and the code rate of the screen projection resources according to the size of the screen projection window, and sending the screen projection resources to the screen projection receiving end according to the determined resolution and code rate.
In a possible implementation manner, before receiving a screen projection parameter determined by a screen projection receiving end according to the number of screen projection transmitting ends corresponding to a screen projection control event, the method further includes:
and sending a screen-casting joining request to the screen-casting receiving end.
The embodiment of the present application further provides a screen projection device for projecting a screen receiving end, the device includes:
the response module is used for responding to the screen projection control event and determining a screen projection sending end corresponding to the screen projection control event;
the first determining module is used for determining screen projection parameters corresponding to each screen projection sending end according to the number of the screen projection sending ends;
the first sending module is used for sending the screen projection parameters to the corresponding screen projection sending end so that the screen projection sending end sends screen projection resources to the screen projection receiving end according to the screen projection parameters;
and the first receiving module is used for receiving and displaying the screen projection resources sent by each screen projection sending end.
In a possible implementation manner, the first determining module is specifically configured to:
generating screen projection windows for displaying the screen projection resources according to the number of the screen projection sending ends;
and determining screen projection parameters corresponding to each screen projection sending end according to the screen projection windows, wherein the screen projection parameters comprise the screen projection window sizes of the screen projection resources.
In a possible implementation, the first sending module is specifically configured to:
and aiming at each screen projection sending end, sending the screen projection window size of the screen projection resource corresponding to the screen projection sending end, so that the screen projection sending end determines the resolution and the code rate of the screen projection resource according to the screen projection window size, and sends the screen projection resource to the screen projection receiving end according to the determined resolution and code rate.
In one possible embodiment, the screen-on control event includes at least one of:
the method comprises the steps of detecting a screen throwing adding request corresponding to any screen throwing sending end, detecting a screen throwing withdrawing request corresponding to any screen throwing sending end and detecting a screen throwing equipment deleting instruction.
In a possible embodiment, the apparatus further comprises:
and the second determining module is used for determining whether to respond to the screen-throwing adding request or not according to the number of screen-throwing sending ends which throw screens at the screen-throwing receiving ends currently and the maximum screen-throwing access number of the screen-throwing receiving ends.
The embodiment of the application further provides another screen projection device, which is used for a screen projection sending end, and the device comprises:
the second receiving module is used for receiving screen projection parameters determined by the screen projection receiving end according to the number of the screen projection sending ends corresponding to the screen projection control events;
and the second sending module is used for sending the screen projection resources corresponding to the screen projection parameters to the screen projection receiving end so that the screen projection receiving end can display the screen projection resources.
In a possible implementation, the screen projection parameters include a screen projection window size of the screen projection resource according to the screen projection parameters;
the second sending module is specifically configured to:
and determining the resolution and the code rate of the screen projection resources according to the size of the screen projection window, and sending the screen projection resources to the screen projection receiving end according to the determined resolution and code rate.
In a possible implementation, the apparatus further includes a request module configured to:
and sending a screen-casting joining request to the screen-casting receiving end.
An embodiment of the present application further provides an electronic device, including: a processor, a memory and a bus, the memory storing machine readable instructions executable by the processor, the processor and the memory communicating via the bus when the electronic device is operating, the machine readable instructions when executed by the processor performing the steps of the screen projection method as described above.
Embodiments of the present application further provide a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the screen projection method are performed.
According to the screen projection method and the screen projection device, firstly, a screen projection sending end corresponding to a screen projection control event is determined in response to the screen projection control event; secondly, determining screen projection parameters corresponding to each screen projection sending terminal according to the number of the screen projection sending terminals; then, the screen projection parameters are sent to the corresponding screen projection sending ends, so that the screen projection sending ends send screen projection resources to the screen projection receiving ends according to the screen projection parameters; and finally, receiving and displaying the screen projection resources sent by each screen projection sending terminal. Compared with the prior art, the screen projection method and the screen projection device have the advantages that the screen projection parameters can be sent to the screen projection sending end, the screen projection sending end sends screen projection resources according to the screen projection parameters, then the screen projection receiving end is prevented from compressing the screen projection resources and the like, occupation of computing resources of the screen projection receiving end is effectively reduced, and the situations of blockage, blockage and the like of screen projection pictures are reduced.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained from the drawings without inventive effort.
Fig. 1 is a flowchart illustrating a screen projection method provided by an embodiment of the present application;
FIG. 2 is a flow chart of another screen projection method provided by an embodiment of the present application;
FIG. 3 is a flow chart illustrating a further method for screen projection provided by an embodiment of the present application;
FIG. 4 is a schematic structural diagram of a screen projection device provided by an embodiment of the present application;
FIG. 5 is a schematic structural diagram of another projection device provided in the embodiments of the present application;
fig. 6 shows a schematic structural diagram of an electronic device provided in an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all the embodiments. The components of the embodiments of the present application, generally described and illustrated in the figures herein, can be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present application, presented in the accompanying drawings, is not intended to limit the scope of the claimed application, but is merely representative of selected embodiments of the application. Every other embodiment that can be obtained by a person skilled in the art without making creative efforts based on the embodiments of the present application falls within the protection scope of the present application.
At present, the screen projection technology is integrated into life and work of people, and is widely applied to scenes such as conferences, teaching and the like. With the rapid development of screen projection technology, the one-to-one screen projection mode is difficult to meet the requirements of users, and therefore, one-to-many, many-to-one and the like screen projection modes are generated.
Generally, in a many-to-one screen projection mode, the screen projection receiving terminal and the screen projection transmitting terminals are included, each screen projection transmitting terminal transmits screen projection resources to be projected to the screen projection receiving terminal, and after the screen projection receiving terminal receives the screen projection resources, since each screen projection resource needs to be compressed and the like, a large amount of computing resources need to be consumed, and the problems of screen projection screen blocking, blocking and the like are easily caused.
Based on this, the embodiment of the application provides a screen projection method to reduce resource consumption of a screen projection receiving end and reduce the problems of screen projection screen blocking, deadlocking and the like.
Referring to fig. 1, fig. 1 is a flowchart of a screen projection method according to an embodiment of the present disclosure. As shown in fig. 1, a screen projection method provided in an embodiment of the present application is applied to a screen projection receiving end, and includes:
s101, responding to a screen projection control event, and determining a screen projection sending end corresponding to the screen projection control event.
In this step, the screen-casting receiving end may be connected to one or more screen-casting sending ends, and receive screen-casting resources sent by each screen-casting sending end, and when a screen-casting control event is detected, the screen-casting sending end corresponding to the screen-casting event may be determined according to the screen-casting event and the currently accessed screen-casting sending end.
In one possible embodiment, the screen-projection control event includes at least one of:
the method comprises the steps of detecting a screen throwing adding request corresponding to any screen throwing sending end, detecting a screen throwing withdrawing request corresponding to any screen throwing sending end and detecting a screen throwing equipment deleting instruction.
Here, the user may control the number of screen-casting transmitting terminals connected to the screen-casting receiving terminal and transmitting the screen-casting resources through the screen-casting receiving terminal or in another manner, and the screen-casting receiving terminal and the screen-casting transmitting terminal may implement screen casting through Wi-Fi (wireless internet access), DLNA (DIGITAL LIVING NETWORK ALLIANCE ), WiDi (intel wireless display, wireless high definition technology), AirPlay (AirPlay), and the like.
Here, the screen projection transmitting terminal and the screen projection receiving terminal may be terminals with a screen projection function, such as a smart phone, a computer, and a tablet computer.
When the screen-casting control event is a screen-casting addition request sent by a screen-casting sending terminal, the screen-casting sending terminal which has currently established screen-casting connection with the screen-casting receiving terminal and the screen-casting sending terminal which sends the screen-casting addition request can be used as the screen-casting sending terminal corresponding to the screen-casting control event; when the screen-casting control event is a screen-casting exit request, the connection between a screen-casting receiving terminal and a screen-casting sending terminal sending the screen-casting exit request can be disconnected, a screen-casting window corresponding to the screen-casting sending terminal sending the screen-casting exit request is closed, and then the screen-casting sending terminal which is currently in screen-casting connection with the screen-casting receiving terminal is determined to be the screen-casting sending terminal corresponding to the screen-casting control event; when the screen-casting control event is a screen-casting device deletion instruction, the screen-casting connection between the screen-casting receiving terminal and the screen-casting sending terminal indicated by the screen-casting device deletion instruction can be disconnected, and the screen-casting sending terminal which establishes the screen-casting connection with the screen-casting receiving terminal after disconnection is determined to be the screen-casting sending terminal corresponding to the screen-casting control event.
S102, screen projection parameters corresponding to each screen projection sending end are determined according to the number of the screen projection sending ends.
In this step, after determining the number of screen-projecting sending terminals corresponding to the screen-projecting control event, the graphical user interface of the screen-projecting receiving terminal may be divided into a plurality of display areas according to the number of screen-projecting sending terminals, each display area may correspond to one screen-projecting sending terminal, and a screen-projecting window corresponding to the screen-projecting sending terminal is generated in the display area, and the size of each screen-projecting window may be the same or different. After the screen projection windows are generated, the size of each screen projection window can be used as the corresponding screen projection parameter. The size of the screen projection window is a specific numerical value capable of representing the size and the shape of the screen projection window. The screen projection sending terminal can set screen projection resources sent by the screen projection sending terminal based on the screen projection parameters so as to adapt to the size of a screen projection window. The screen projection receiving end can directly display the screen projection resources in the corresponding screen projection window after receiving the screen projection resources, the screen projection receiving end is prevented from compressing the screen projection resources and the like, the occupation of computing resources of the screen projection receiving end is effectively reduced, and the situations of blockage, blockage and the like of screen projection pictures are reduced.
S103, sending the screen projection parameters to the corresponding screen projection sending ends, so that the screen projection sending ends send screen projection resources to the screen projection receiving ends according to the screen projection parameters.
In this step, after the screen projection receiving end sends the screen projection parameters to each screen projection sending end, the screen projection receiving end can determine the resolution and the code rate for pushing the screen projection resources according to the received screen projection parameters, and send the screen projection resources to the screen projection receiving end according to the determined resolution and code rate. For example, the resolution and the code rate of the screen projection resources can be determined according to the mapping relationship between the screen projection parameters and the resolution and the code rate.
For the screen projection sending end which establishes screen projection connection with the screen projection receiving end, the sending of the original screen projection resource can be interrupted, the screen projection resource is collected again according to the resolution and the code rate corresponding to the newly received screen projection parameter, and the screen projection resource is sent to the screen projection receiving end; and for the newly added screen projection sending end which does not establish screen projection connection with the screen projection receiving end, directly re-collecting screen projection resources according to the resolution and code rate corresponding to the received screen projection parameters, and sending the re-collected screen projection resources to the screen projection receiving end.
And S104, receiving and displaying the screen projection resources sent by each screen projection sending terminal.
Therefore, when the number of the screen-casting sending ends is increased or decreased, the screen-casting sending ends can determine the screen-casting parameters of each screen-casting sending end according to the number of the new screen-casting sending ends, and enable the screen-casting sending ends to transmit screen-casting resources according to the screen-casting parameters.
Because the screen projection resources received by the screen projection sending end are screen projection resources matched with the screen projection window, operations such as compression and the like are not needed, processing performed by the screen projection receiving end can be dispersedly transferred to the screen projection sending end, the occupation of running resources of the screen projection receiving end is effectively reduced, and the problems of screen projection screen blocking, blocking and the like caused by overhigh resource occupation are reduced.
Referring to fig. 2, fig. 2 is a flowchart of a screen projection method according to another embodiment of the present application. The descriptions of S201, S204, and S205 may refer to the descriptions of S101, S103, and S104, respectively, and the same technical effect can be achieved, which is not described in detail herein. As shown in fig. 2, the screen projection method provided in the embodiment of the present application is applied to a screen projection receiving end, and includes:
s201, responding to a screen projection control event, and determining a screen projection sending end corresponding to the screen projection control event.
S202, generating screen projection windows for displaying screen projection resources according to the number of the screen projection sending ends.
The screen projection resource can be a video resource sent to a screen projection receiving end by a screen projection sending end, the screen projection sending end can send videos or operation interfaces as the screen projection resource to the screen projection receiving end in real time, and the screen projection receiving end can receive the screen projection resources and display the screen projection resources in screen projection windows determined according to the number of the screen projection sending ends.
Illustratively, if the number of the screen-casting sending terminals is three, screen-casting windows in a four-grid form can be generated, wherein three screen-casting windows respectively display screen-casting resources sent by one screen-casting sending terminal, and the remaining screen-casting windows are in a standby state; if the number of the screen-casting sending ends is increased to five, generating a screen-casting window in a six-grid form; or generating screen projection windows with equal or similar proportions according to the display size of the screen projection sending end.
S203, determining screen projection parameters corresponding to each screen projection sending end according to the screen projection windows, wherein the screen projection parameters comprise screen projection window sizes of the screen projection resources.
In this step, after the screen projection windows are generated, the size of each screen projection window can be determined, and after the screen projection sending end receives the corresponding screen projection window size, the resolution and the code rate of the screen projection resource can be determined, so that the screen projection resource is collected according to the determined resolution and code rate and is sent to the screen projection receiving end.
Specifically, the resolution and the code rate of the screen projection resource can be determined according to the corresponding relationship among the preset size, the preset resolution and the preset code rate.
And S204, sending the screen projection parameters to the corresponding screen projection sending end, so that the screen projection sending end sends screen projection resources to the screen projection receiving end according to the screen projection parameters.
And S205, receiving and displaying the screen projection resources sent by each screen projection sending terminal.
In a possible implementation manner, the sending the screen-casting parameter to the corresponding screen-casting sending terminal so that the screen-casting sending terminal sends the screen-casting resource to the screen-casting receiving terminal according to the screen-casting parameter includes:
and aiming at each screen projection sending end, sending the screen projection window size of the screen projection resource corresponding to the screen projection sending end, so that the screen projection sending end determines the resolution and the code rate of the screen projection resource according to the screen projection window size, and sends the screen projection resource to the screen projection receiving end according to the determined resolution and code rate.
Therefore, the performance resource consumption of the screen projection receiving end can be optimized, the performance consumption of the screen projection receiving end cannot be increased by multiple times when multiple paths of screens are projected, smooth operation of the screen projection receiving end can be guaranteed, and the resolution and the code rate of the screen projection resources sent by the screen projection sending end are coded according to the size given by the screen projection receiving end, so that the size of a data stream of the receiving end does not need to be compressed at the screen projection receiving end, and the screen projection receiving end can be clearly displayed in a screen projection window of the screen projection receiving end. Therefore, the problem of definition of the screen projection window at the receiving end is solved.
Because the sent data is optimized data, excessive unnecessary data is not transmitted in the transmission process, so that network resources, CPU resources and memory resources of the screen projection sending end and the screen projection receiving end are saved, and the usability of software is greatly improved.
In one possible embodiment, the screen-on control event includes at least one of:
the method comprises the steps of detecting a screen throwing adding request corresponding to any screen throwing sending end, detecting a screen throwing withdrawing request corresponding to any screen throwing sending end and detecting a screen throwing equipment deleting instruction.
The screen-casting adding request and the screen-casting exiting request can be sent by a screen-casting sending end to a screen-casting receiving end, and can also be an instruction actively input by a user at the screen-casting receiving end; the screen projection device deleting instruction can be an instruction actively input by a user at a screen projection receiving end.
In one possible embodiment, before responding to the screen-projection control event, the method further comprises:
and determining whether to respond to the screen-casting control event or not according to the number of screen-casting sending ends currently casting screens at the screen-casting receiving ends and the maximum screen-casting access number of the screen-casting receiving ends.
In this step, before responding to the screen-casting addition request, the screen-casting sending terminal sending the request may be verified, and if the number of screen-castings that can be carried by the current screen-casting receiving terminal reaches an upper limit, or if the identity authentication of the screen-casting sending terminal sending the request fails, the screen-casting addition request is not responded.
According to the screen projection method provided by the embodiment of the application, firstly, a screen projection sending end corresponding to a screen projection control event is determined in response to the screen projection control event; secondly, determining screen projection parameters corresponding to each screen projection sending terminal according to the number of the screen projection sending terminals; then, the screen projection parameters are sent to the corresponding screen projection sending ends, so that the screen projection sending ends send screen projection resources to the screen projection receiving ends according to the screen projection parameters; and finally, receiving and displaying the screen projection resources sent by each screen projection sending terminal.
Compared with the prior art, the screen projection method and the screen projection device have the advantages that the screen projection parameters can be sent to the screen projection sending end, the screen projection sending end sends screen projection resources according to the screen projection parameters, then the screen projection receiving end is prevented from compressing the screen projection resources and the like, occupation of computing resources of the screen projection receiving end is effectively reduced, and the situations of blockage, blockage and the like of screen projection pictures are reduced.
Referring to fig. 3, fig. 3 is a flowchart of another screen projection method according to an embodiment of the present application. The screen projection method provided by the embodiment of the application is applied to a screen projection sending end, has the same principle as the screen projection receiving method applied to a screen projection receiving end shown in fig. 1 and fig. 2, and is not repeated here. As shown in fig. 3, the screen projection method provided by the embodiment of the present application includes:
s301, screen projection parameters determined by the screen projection receiving end according to the number of the screen projection sending ends corresponding to the screen projection control events are received.
S302, screen projection resources corresponding to the screen projection parameters are sent to the screen projection receiving end, so that the screen projection receiving end displays the screen projection resources.
In some possible embodiments, the screen projection parameters include a screen projection window size of the screen projection resource according to the screen projection parameters;
the sending the screen projection resources corresponding to the screen projection parameters to the screen projection receiving end comprises the following steps:
and determining the resolution and the code rate of the screen projection resources according to the size of the screen projection window, and sending the screen projection resources to the screen projection receiving end according to the determined resolution and code rate.
In some possible embodiments, before receiving a screen projection parameter determined by a screen projection receiving end according to the number of screen projection transmitting ends corresponding to a screen projection control event, the method further includes:
and sending a screen-casting joining request to the screen-casting receiving end.
Referring to fig. 4, fig. 4 is a schematic structural diagram of a screen projection device according to an embodiment of the present application. As shown in fig. 4, the screen projection apparatus 400, for projecting a screen to a receiving end, includes:
a response module 410, configured to determine, in response to a screen-casting control event, a screen-casting sending end corresponding to the screen-casting control event;
a first determining module 420, configured to determine, according to the number of the screen-casting sending terminals, a screen-casting parameter corresponding to each screen-casting sending terminal;
the first sending module 430 is configured to send the screen-casting parameter to a corresponding screen-casting sending terminal, so that the screen-casting sending terminal sends a screen-casting resource to the screen-casting receiving terminal according to the screen-casting parameter;
the first receiving module 440 is configured to receive and display the screen-casting resource sent by each screen-casting sending terminal.
In a possible implementation manner, the first determining module 420 is specifically configured to:
generating screen projection windows for displaying the screen projection resources according to the number of the screen projection sending ends;
and determining screen projection parameters corresponding to each screen projection sending end according to the screen projection windows, wherein the screen projection parameters comprise the screen projection window sizes of the screen projection resources.
In a possible implementation manner, the first sending module 430 is specifically configured to:
and aiming at each screen projection sending end, sending the screen projection window size of the screen projection resource corresponding to the screen projection sending end, so that the screen projection sending end determines the resolution and the code rate of the screen projection resource according to the screen projection window size, and sends the screen projection resource to the screen projection receiving end according to the determined resolution and code rate.
In one possible embodiment, the screen-on control event includes at least one of:
the method comprises the steps of detecting a screen throwing adding request corresponding to any screen throwing sending end, detecting a screen throwing withdrawing request corresponding to any screen throwing sending end and detecting a screen throwing equipment deleting instruction.
In one possible embodiment, the screen projection device 400 further includes:
a second determining module 450, configured to determine whether to respond to the screen-casting control event according to the number of screen-casting sending ends currently screening on the screen-casting receiving end and the maximum screen-casting access number of the screen-casting receiving end.
Referring to fig. 5, fig. 5 is a schematic structural diagram of another screen projection device according to an embodiment of the present application. As shown in fig. 5, the screen projecting apparatus 500 is used for a screen projecting transmitting end, and includes:
a second receiving module 510, configured to receive a screen-casting parameter determined by a screen-casting receiving end according to the number of screen-casting sending ends corresponding to the screen-casting control event;
a second sending module 520, configured to send the screen projection resource corresponding to the screen projection parameter to the screen projection receiving end, so that the screen projection receiving end displays the screen projection resource.
In some possible embodiments, the screen projection parameters include a screen projection window size of the screen projection resource according to the screen projection parameters;
the second sending module 520 is specifically configured to:
and determining the resolution and the code rate of the screen projection resources according to the size of the screen projection window, and sending the screen projection resources to the screen projection receiving end according to the determined resolution and code rate.
In some possible embodiments, the screen projecting device 500 further includes:
a request module 530, configured to send a screen-casting join request to the screen-casting receiving end.
According to the screen projecting device provided by the embodiment of the application, firstly, a screen projecting sending end corresponding to a screen projecting control event is determined in response to the screen projecting control event; secondly, determining screen projection parameters corresponding to each screen projection sending terminal according to the number of the screen projection sending terminals; then, the screen projection parameters are sent to the corresponding screen projection sending ends, so that the screen projection sending ends send screen projection resources to the screen projection receiving ends according to the screen projection parameters; and finally, receiving and displaying the screen projection resources sent by each screen projection sending terminal.
Compared with the prior art, the screen projection method and the screen projection device have the advantages that the screen projection parameters can be sent to the screen projection sending end, the screen projection sending end sends screen projection resources according to the screen projection parameters, then the screen projection receiving end is prevented from compressing the screen projection resources and the like, occupation of computing resources of the screen projection receiving end is effectively reduced, and the situations of blockage, blockage and the like of screen projection pictures are reduced.
Referring to fig. 6, fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure. As shown in fig. 6, the electronic device 600 includes a processor 610, a memory 620, and a bus 630.
The memory 620 stores machine-readable instructions executable by the processor 610, when the electronic device 600 runs, the processor 610 communicates with the memory 620 through the bus 630, and when the machine-readable instructions are executed by the processor 610, the steps of the screen projection method in the method embodiments shown in fig. 1, fig. 2, and fig. 3 may be performed.
An embodiment of the present application further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the screen projection method in the method embodiments shown in fig. 1, fig. 2, and fig. 3 may be executed.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one logical division, and there may be other divisions when actually implemented, and for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of devices or units through some communication interfaces, and may be in an electrical, mechanical or other form.
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, may be located in one place, or may be 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, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a non-volatile computer-readable storage medium executable by a processor. Based on such understanding, the technical solution of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium and including 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 steps of the method according to the embodiments of the present application. 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 Random Access Memory (RAM), a magnetic disk, or an optical disk.
Finally, it should be noted that: the above-mentioned embodiments are only specific embodiments of the present application, and are used for illustrating the technical solutions of the present application, but not limiting the same, and the scope of the present application is not limited thereto, and although the present application is described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: any person skilled in the art can modify or easily conceive the technical solutions described in the foregoing embodiments or equivalent substitutes for some technical features within the technical scope disclosed in the present application; such modifications, changes or substitutions do not depart from the spirit and scope of the exemplary embodiments of the present application, and are intended to be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (11)

1. A screen projection method is applied to a screen projection receiving end, and comprises the following steps:
responding to a screen projection control event, and determining a screen projection sending end corresponding to the screen projection control event;
determining screen projection parameters corresponding to each screen projection sending terminal according to the number of the screen projection sending terminals;
sending the screen projection parameters to corresponding screen projection sending ends so that the screen projection sending ends send screen projection resources to the screen projection receiving ends according to the screen projection parameters;
and receiving and displaying the screen projection resources sent by each screen projection sending terminal.
2. The method according to claim 1, wherein the determining the screen projection parameters corresponding to each screen projection transmitting end according to the number of the screen projection transmitting ends comprises:
generating screen projection windows for displaying the screen projection resources according to the number of the screen projection sending ends;
and determining screen projection parameters corresponding to each screen projection sending end according to the screen projection windows, wherein the screen projection parameters comprise the screen projection window sizes of the screen projection resources.
3. The method according to claim 2, wherein the sending the screen projection parameters to the corresponding screen projection sending end so that the screen projection sending end sends screen projection resources to the screen projection receiving end according to the screen projection parameters comprises:
and aiming at each screen projection sending end, sending the screen projection window size of the screen projection resource corresponding to the screen projection sending end, so that the screen projection sending end determines the resolution and the code rate of the screen projection resource according to the screen projection window size, and sends the screen projection resource to the screen projection receiving end according to the determined resolution and code rate.
4. The method of claim 1, wherein the screen-casting control event comprises at least one of:
the method comprises the steps of detecting a screen throwing adding request corresponding to any screen throwing sending end, detecting a screen throwing withdrawing request corresponding to any screen throwing sending end and detecting a screen throwing equipment deleting instruction.
5. The method of claim 4, wherein prior to responding to the screen-projection control event, the method further comprises:
and determining whether to respond to the screen-casting control event or not according to the number of screen-casting sending ends currently casting screens at the screen-casting receiving ends and the maximum screen-casting access number of the screen-casting receiving ends.
6. A screen projection method is characterized by being applied to a screen projection sending end, and comprises the following steps:
receiving screen projection parameters determined by a screen projection receiving end according to the number of screen projection sending ends corresponding to the screen projection control events;
and sending the screen projection resources corresponding to the screen projection parameters to the screen projection receiving end so that the screen projection receiving end can display the screen projection resources.
7. The method of claim 6, wherein the screen projection parameters comprise a screen projection window size of the screen projection resource in accordance with the screen projection parameters;
the sending the screen projection resources corresponding to the screen projection parameters to the screen projection receiving end comprises the following steps:
and determining the resolution and the code rate of the screen projection resources according to the size of the screen projection window, and sending the screen projection resources to the screen projection receiving end according to the determined resolution and code rate.
8. A screen projection apparatus for projecting a screen to a receiving end, the apparatus comprising:
the response module is used for responding to the screen projection control event and determining a screen projection sending end corresponding to the screen projection control event;
the first determining module is used for determining screen projection parameters corresponding to each screen projection sending end according to the number of the screen projection sending ends;
the first sending module is used for sending the screen projection parameters to the corresponding screen projection sending end so that the screen projection sending end sends screen projection resources to the screen projection receiving end according to the screen projection parameters;
and the first receiving module is used for receiving and displaying the screen projection resources sent by each screen projection sending end.
9. A screen projection device is characterized in that the screen projection device is used for a screen projection sending end, and the device comprises:
the second receiving module is used for receiving screen projection parameters determined by the screen projection receiving end according to the number of the screen projection sending ends corresponding to the screen projection control events;
and the second sending module is used for sending the screen projection resources corresponding to the screen projection parameters to the screen projection receiving end so that the screen projection receiving end can display the screen projection resources.
10. An electronic device, comprising: a processor, a storage medium and a bus, the storage medium storing machine-readable instructions executable by the processor, the processor and the storage medium communicating via the bus when the electronic device is operating, the processor executing the machine-readable instructions to perform the steps of the screen projection method according to any one of claims 1 to 5 or claims 6 to 7.
11. A computer-readable storage medium, characterized in that a computer program is stored on the computer-readable storage medium, which computer program, when being executed by a processor, performs the steps of the screen projection method according to any one of claims 1 to 5 or 6 to 7.
CN202010366830.1A 2020-04-30 2020-04-30 Screen projection method and device Pending CN111552450A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202010366830.1A CN111552450A (en) 2020-04-30 2020-04-30 Screen projection method and device
PCT/CN2020/110324 WO2021217964A1 (en) 2020-04-30 2020-08-20 Screen projection method and apparatus, electronic device, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010366830.1A CN111552450A (en) 2020-04-30 2020-04-30 Screen projection method and device

Publications (1)

Publication Number Publication Date
CN111552450A true CN111552450A (en) 2020-08-18

Family

ID=72000165

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010366830.1A Pending CN111552450A (en) 2020-04-30 2020-04-30 Screen projection method and device

Country Status (2)

Country Link
CN (1) CN111552450A (en)
WO (1) WO2021217964A1 (en)

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112346692A (en) * 2020-11-09 2021-02-09 深圳康佳电子科技有限公司 Screen projection data processing method and device and storage medium
CN112637672A (en) * 2020-12-11 2021-04-09 深圳乐播科技有限公司 Screen projection method, screen projection receiving terminal and screen projection sending terminal
WO2021217964A1 (en) * 2020-04-30 2021-11-04 深圳市鸿合创新信息技术有限责任公司 Screen projection method and apparatus, electronic device, and storage medium
CN113766305A (en) * 2021-09-27 2021-12-07 海信视像科技股份有限公司 Display device and mirror image screen projection audio output control method
CN113965785A (en) * 2021-08-27 2022-01-21 海信视像科技股份有限公司 Resource synchronous playing method and display equipment
CN113992963A (en) * 2021-10-28 2022-01-28 海信视像科技股份有限公司 Display device and screen projection method
WO2022042592A1 (en) * 2020-08-27 2022-03-03 北京字节跳动网络技术有限公司 Screen projection method and apparatus, electronic device, and computer-readable medium
CN114143596A (en) * 2021-11-29 2022-03-04 惠州Tcl移动通信有限公司 Screen projection control method and device, terminal equipment and storage medium
CN114281288A (en) * 2021-12-10 2022-04-05 海宁奕斯伟集成电路设计有限公司 Screen projection processing method and device and electronic equipment
CN114327313A (en) * 2020-09-29 2022-04-12 北京小米移动软件有限公司 Screen projection method, device and medium
CN114401433A (en) * 2021-08-27 2022-04-26 海信视像科技股份有限公司 Resource synchronous playing method and display equipment
WO2023024630A1 (en) * 2021-08-27 2023-03-02 海信视像科技股份有限公司 Display device, terminal device, and content display method
WO2023221527A1 (en) * 2022-05-20 2023-11-23 Oppo广东移动通信有限公司 Screen mirroring method and apparatus, terminal device, and computer readable storage medium

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114143371A (en) * 2021-11-17 2022-03-04 深圳Tcl新技术有限公司 Screen projection method and device, storage medium and electronic equipment
CN114461164A (en) * 2022-01-30 2022-05-10 深圳创维-Rgb电子有限公司 Screen projection eye protection method and device, screen projector and computer readable storage medium
CN114727080A (en) * 2022-04-01 2022-07-08 福建卓航特种设备有限公司 Portable image screen fusing equipment, system, method and device
CN115190353A (en) * 2022-06-30 2022-10-14 京东方科技集团股份有限公司 Screen projection system, screen projection method, computer device, storage medium, and program product
CN115729504B (en) * 2022-10-08 2023-07-21 珠海金智维信息科技有限公司 Data visualization system, method and device based on remote control large screen

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107454461A (en) * 2017-06-16 2017-12-08 广州视源电子科技股份有限公司 Biography screen equipment and method, DVB receiving terminals based on DVB
CN108920116A (en) * 2018-06-12 2018-11-30 广州视源电子科技股份有限公司 Throw control method, device, equipment and the storage medium of screen equipment
CN110248226A (en) * 2019-07-16 2019-09-17 广州视源电子科技股份有限公司 Throwing screen method, apparatus, system, storage medium and the processor of information

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106095084A (en) * 2016-06-06 2016-11-09 乐视控股(北京)有限公司 Throw screen method and device
JP2018125719A (en) * 2017-02-01 2018-08-09 キヤノン株式会社 System, information processing device, information processing method, and program
CN107450871A (en) * 2017-06-22 2017-12-08 广州视源电子科技股份有限公司 Methods of exhibiting, device and the storage medium of wireless screen transmission
CN109348177A (en) * 2018-10-30 2019-02-15 长威信息科技发展股份有限公司 A kind of large screen multi-screen display method
CN111552450A (en) * 2020-04-30 2020-08-18 深圳市鸿合创新信息技术有限责任公司 Screen projection method and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107454461A (en) * 2017-06-16 2017-12-08 广州视源电子科技股份有限公司 Biography screen equipment and method, DVB receiving terminals based on DVB
CN108920116A (en) * 2018-06-12 2018-11-30 广州视源电子科技股份有限公司 Throw control method, device, equipment and the storage medium of screen equipment
CN110248226A (en) * 2019-07-16 2019-09-17 广州视源电子科技股份有限公司 Throwing screen method, apparatus, system, storage medium and the processor of information

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021217964A1 (en) * 2020-04-30 2021-11-04 深圳市鸿合创新信息技术有限责任公司 Screen projection method and apparatus, electronic device, and storage medium
WO2022042592A1 (en) * 2020-08-27 2022-03-03 北京字节跳动网络技术有限公司 Screen projection method and apparatus, electronic device, and computer-readable medium
CN114327313A (en) * 2020-09-29 2022-04-12 北京小米移动软件有限公司 Screen projection method, device and medium
CN112346692A (en) * 2020-11-09 2021-02-09 深圳康佳电子科技有限公司 Screen projection data processing method and device and storage medium
CN112637672A (en) * 2020-12-11 2021-04-09 深圳乐播科技有限公司 Screen projection method, screen projection receiving terminal and screen projection sending terminal
CN113965785A (en) * 2021-08-27 2022-01-21 海信视像科技股份有限公司 Resource synchronous playing method and display equipment
CN114401433A (en) * 2021-08-27 2022-04-26 海信视像科技股份有限公司 Resource synchronous playing method and display equipment
WO2023024630A1 (en) * 2021-08-27 2023-03-02 海信视像科技股份有限公司 Display device, terminal device, and content display method
CN113766305A (en) * 2021-09-27 2021-12-07 海信视像科技股份有限公司 Display device and mirror image screen projection audio output control method
CN113992963A (en) * 2021-10-28 2022-01-28 海信视像科技股份有限公司 Display device and screen projection method
CN114143596A (en) * 2021-11-29 2022-03-04 惠州Tcl移动通信有限公司 Screen projection control method and device, terminal equipment and storage medium
CN114143596B (en) * 2021-11-29 2024-03-19 惠州Tcl移动通信有限公司 Screen projection control method and device, terminal equipment and storage medium
CN114281288A (en) * 2021-12-10 2022-04-05 海宁奕斯伟集成电路设计有限公司 Screen projection processing method and device and electronic equipment
WO2023221527A1 (en) * 2022-05-20 2023-11-23 Oppo广东移动通信有限公司 Screen mirroring method and apparatus, terminal device, and computer readable storage medium

Also Published As

Publication number Publication date
WO2021217964A1 (en) 2021-11-04

Similar Documents

Publication Publication Date Title
CN111552450A (en) Screen projection method and device
CN108491275B (en) Program optimization method, device, terminal and storage medium
CN113568884B (en) File management method and device, electronic equipment and storage medium
CN111629239B (en) Screen projection processing method, device, equipment and computer readable storage medium
CN107329717B (en) Processing method, display method and display system of screen display information
RU2652452C2 (en) Device and method for network status information representation
EP2905945A1 (en) Inter-terminal image sharing method, terminal device and communication system
CN112114761A (en) Wireless screen projection control method and device, terminal equipment and readable storage medium
KR101751225B1 (en) Apparatus and method for remote control in mobile communication terminal
CN108234659B (en) Data processing method, device and system
US20150282106A1 (en) Terminal and synchronization control method among terminals
CN113489805B (en) Butt joint method, device, equipment and storage medium of cloud desktop system
EP3217596B1 (en) Communication terminal, communication system, and data transmission method
CN111880695A (en) Screen sharing method, device, equipment and storage medium
CN114629932B (en) Cooperative method between electronic devices, electronic device and storage medium
CN103970582A (en) USB device simulation method
US10268348B2 (en) Information processing terminal, information processing method, and information processing system
CN113179208B (en) Interaction method, interaction device and storage medium
US20150186095A1 (en) Inter-terminal image sharing method, terminal device, and communications system
CN104639501A (en) Data stream transmission method, equipment and system
EP3151481B1 (en) Communication terminal, communication system, and output method
CN107426114B (en) Resource allocation method and system
US20230195403A1 (en) Information processing method and electronic device
CN113891441A (en) Network connection method and device and electronic equipment
CN111930328A (en) Application data display method, device and system

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20200818

RJ01 Rejection of invention patent application after publication