CN114143596B - Screen projection control method and device, terminal equipment and storage medium - Google Patents
Screen projection control method and device, terminal equipment and storage medium Download PDFInfo
- Publication number
- CN114143596B CN114143596B CN202111431592.9A CN202111431592A CN114143596B CN 114143596 B CN114143596 B CN 114143596B CN 202111431592 A CN202111431592 A CN 202111431592A CN 114143596 B CN114143596 B CN 114143596B
- Authority
- CN
- China
- Prior art keywords
- switching
- information
- screen
- interface
- real
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 35
- 238000013507 mapping Methods 0.000 claims description 10
- 230000005540 biological transmission Effects 0.000 abstract description 16
- 238000010586 diagram Methods 0.000 description 5
- 238000005266 casting Methods 0.000 description 4
- 238000004590 computer program Methods 0.000 description 4
- 230000000903 blocking effect Effects 0.000 description 3
- 238000006243 chemical reaction Methods 0.000 description 2
- 230000003247 decreasing effect Effects 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 230000001360 synchronised effect Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000003111 delayed effect Effects 0.000 description 1
- 230000009977 dual effect Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000005562 fading Methods 0.000 description 1
- 238000007429 general method Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/436—Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
- H04N21/4363—Adapting the video stream to a specific local network, e.g. a Bluetooth® network
- H04N21/43637—Adapting the video stream to a specific local network, e.g. a Bluetooth® network involving a wireless protocol, e.g. Bluetooth, RF or wireless LAN [IEEE 802.11]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/25—Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
- H04N21/258—Client or end-user data management, e.g. managing client capabilities, user preferences or demographics, processing of multiple end-users preferences to derive collaborative data
- H04N21/25808—Management of client data
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/41—Structure of client; Structure of client peripherals
- H04N21/422—Input-only peripherals, i.e. input devices connected to specially adapted client devices, e.g. global positioning system [GPS]
- H04N21/42204—User interfaces specially adapted for controlling a client device through a remote control device; Remote control devices therefor
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/436—Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
- H04N21/43615—Interfacing a Home Network, e.g. for connecting the client to a plurality of peripherals
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Databases & Information Systems (AREA)
- Computer Graphics (AREA)
- Human Computer Interaction (AREA)
- Controls And Circuits For Display Device (AREA)
Abstract
The invention discloses a screen projection control method, a device, terminal equipment and a storage medium, wherein the method comprises the following steps: acquiring screen projection picture information, and determining a real-time picture state according to the screen projection picture information; if the real-time picture state is interface switching, acquiring switching display information corresponding to the interface switching; and sending the switching display information to a display device to control the display device to perform interface switching according to the switching display information. When the screen-throwing control is performed, switching display information is sent to the display equipment when interface switching is encountered, so that the display equipment can perform screen-throwing display based on the switching display information, the whole screen-throwing video is not sent to the display equipment, and the real-time performance and fluency of screen-throwing transmission are optimized.
Description
Technical Field
The present invention relates to the field of screen projection technologies, and in particular, to a screen projection control method, a device, a terminal device, and a storage medium.
Background
As users have more and more electronic devices, multi-device cross-screen collaboration becomes more and more important, and real-time screen-drop transmission between multiple devices is critical. The general method adopts the method that the original equipment is directly recorded, and the recorded video is transmitted to the target equipment after being coded. However, when there is an interface switch in the source device, the interface switch is typically an effect of a new window/view fading in and out, sliding in, etc. In the prior art, when the screen is thrown, the screen is recorded on the whole display content of the whole source device, and then the recorded video data is sent to the target device. However, since the amount of video data transmitted by the screen is increased in a short time due to the interface switching, the screen display on the target device is easy to be blocked and delayed.
Accordingly, there is a need for improvement and advancement in the art.
Disclosure of Invention
The invention aims to solve the technical problems that in the prior art, the video data amount of the screen-throwing transmission is greatly increased in a short time due to interface switching, so that the problems of blocking and delay of the screen-throwing display on target equipment are easily caused.
In order to solve the technical problems, the technical scheme adopted by the invention is as follows:
in a first aspect, the present invention provides a screen projection control method, where the method includes:
acquiring screen projection picture information, and determining a real-time picture state according to the screen projection picture information;
if the real-time picture state is interface switching, acquiring switching display information corresponding to the interface switching;
and sending the switching display information to a display device to control the display device to perform interface switching according to the switching display information.
In one implementation, the obtaining the screen projection screen information, determining the real-time screen state according to the screen projection screen information, includes:
acquiring the screen projection picture information, and determining a display image according to the screen projection picture information;
and determining the real-time picture state according to the display image.
In one implementation, the determining the real-time screen state according to the display image includes:
if the display image changes, determining that the real-time picture state information is interface switching;
and if the display image is not changed, determining that the real-time picture state information is that the interface is not switched.
In one implementation manner, if the real-time image state is interface switching, acquiring switching display information corresponding to the interface switching includes:
if the real-time picture state is interface switching, acquiring a target interface after switching;
determining a switching mode corresponding to the target interface based on the target interface;
determining switching time corresponding to the switching mode according to the switching mode;
and taking the target interface, the switching mode and the switching time as the switching display information.
In one implementation manner, the determining, according to the switching manner, a switching time corresponding to the switching manner includes:
and matching the switching mode with a preset mapping relation, and determining switching time corresponding to the switching mode, wherein the mapping relation comprises a corresponding relation between the switching mode and the switching time.
In one implementation, the switching mode is number information.
In one implementation, the method further comprises:
and stopping the local screen recording operation when the real-time picture state is interface switching.
In a second aspect, an embodiment of the present invention further provides a screen projection control device, where the device includes:
the state acquisition module is used for acquiring screen projection picture information and determining a real-time picture state according to the screen projection picture information;
the information acquisition module is used for acquiring switching display information corresponding to interface switching if the real-time picture state is the interface switching;
and the screen throwing control module is used for sending the switching display information to the display equipment so as to control the display equipment to switch the interface according to the switching display information.
In a third aspect, an embodiment of the present invention further provides a terminal device, where the terminal device includes a memory, a processor, and a screen-shot control program stored in the memory and capable of running on the processor, and when the processor executes the screen-shot control program, the processor implements the steps of the screen-shot control method in any one of the above schemes.
In a fourth aspect, an embodiment of the present invention further provides a computer readable storage medium, where the computer readable storage medium stores a screen-projection control program, where the screen-projection control program, when executed by a processor, implements the steps of the screen-projection control method according to any one of the above schemes.
The beneficial effects are that: compared with the prior art, the invention provides a screen projection control method, which comprises the steps of firstly acquiring screen projection picture information and determining a real-time picture state according to the screen projection picture information; if the real-time picture state is interface switching, acquiring switching display information corresponding to the interface switching; and sending the switching display information to a display device to control the display device to perform interface switching according to the switching display information. When the screen-throwing control is carried out, switching display information is sent to the display equipment when interface switching is carried out, so that the display equipment can carry out screen-throwing display based on the switching display information, the whole screen-throwing video is not sent to the display equipment, the video transmission data volume can be reduced, and the real-time performance and fluency of screen-throwing transmission are optimized.
Drawings
Fig. 1 is a flowchart of a specific implementation of a screen projection control method according to an embodiment of the present invention.
Fig. 2 is a schematic block diagram of a screen projection control device according to an embodiment of the present invention.
Fig. 3 is a schematic block diagram of an internal structure of a terminal device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and effects of the present invention clearer and more specific, the present invention will be described in further detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
The embodiment provides a screen projection control method, through the method of the embodiment, when screen projection control is performed, when interface switching is encountered, switching display information is sent to display equipment, so that the display equipment can perform screen projection display based on the switching display information, the whole screen projection video is not sent to the display equipment, the video transmission data volume can be reduced, and the real-time performance and fluency of screen projection transmission are optimized. In specific implementation, the embodiment firstly acquires screen projection picture information, and determines a real-time picture state according to the screen projection picture information; if the real-time picture state is interface switching, acquiring switching display information corresponding to the interface switching; and sending the switching display information to a display device to control the display device to perform interface switching according to the switching display information. Therefore, the embodiment does not need to send the whole screen-throwing video to the display device, and only needs to send the switching display information for reflecting the display parameters to the display device, so that the display device can display the screen-throwing interface switching process based on the switching display information without causing short-time data increase.
For example, when the mobile phone device (i.e. the source device) drops the displayed screen content to the television device (i.e. the display device), the screen dropping screen information of the mobile phone a device starts to be acquired, where the screen dropping screen information reflects the screen content displayed on the mobile phone device at the moment. Therefore, the real-time picture state can be determined according to the screen-throwing picture information, the real-time picture state at the moment reflects whether the picture displayed on the mobile phone equipment is subjected to interface switching, and if the real-time picture state is the interface switching, the mobile phone equipment is indicated to play the animation between the two interface switching at the moment. Therefore, the example will acquire the switching display information corresponding to the interface switching, where the switching display information reflects the playing parameters of the animation between the two interface switching on the mobile phone device at this time, after the mobile phone device acquires the switching display information, the switching display information will be sent to the television device, and after the television device receives the switching display information, the television device will realize the switching between the two interfaces based on the switching display information. Therefore, the mobile phone equipment does not record the video of the switching between the two interfaces played by the mobile phone equipment to the television equipment, but sends the switching display information to the television equipment, so that the data volume of the video transmission is reduced, and the video smoothness between the mobile phone equipment and the television equipment is ensured.
Exemplary method
The screen projection control method in the embodiment can be applied to terminal equipment, and the terminal equipment can be intelligent terminal products such as televisions, computers and mobile phones. As shown in fig. 1, the screen projection control method in this embodiment includes the following steps:
and step S100, acquiring screen projection picture information, and determining a real-time picture state according to the screen projection picture information.
Because the embodiment needs to obtain the corresponding switching display information so as to send the switching display information to the display device when the interface of the terminal device is switched, the embodiment needs to obtain the screen projection screen information of the terminal device, and then determines the real-time screen state according to the obtained screen projection screen information. In this embodiment, the screen information reflects the screen content displayed on the terminal device (such as the mobile phone device in the above example). Therefore, the real-time picture state can be determined according to the screen-throwing picture information, and the real-time picture state at the moment reflects whether the picture displayed on the terminal equipment at the moment has interface switching or not.
In one implementation manner, when determining the real-time picture status, the method in this embodiment includes the following steps:
step S101, acquiring the screen projection picture information, and determining a display image according to the screen projection picture information;
step S102, determining the real-time picture state according to the display image.
Specifically, after the terminal device of this embodiment obtains the screen-throwing picture information, a display image is obtained from the screen-throwing picture information, where the display image is the picture content displayed by the terminal device at this time, then it is further determined whether the display image at this time changes, and if so, it is indicated that the real-time picture state at this time is interface switching. For example, a user uses a mobile phone device to perform screen projection of PPT playing, and when the switching process of each page of PPT involves interface switching, even if the content in the same page of PPT changes, such as increasing or decreasing, interface switching is involved. If the display image changes, determining that the real-time picture state information is interface switching; and if the display image is not changed, determining that the real-time picture state information is that the interface is not switched.
And step 200, if the real-time picture state is interface switching, acquiring switching display information corresponding to the interface switching.
In this embodiment, if the real-time picture state of the terminal device is interface switching, it is indicated that the terminal device will perform switching between two interfaces at this time, and in order to reduce the data volume of the screen-throwing transmission, the terminal device in this embodiment does not perform screen recording operation on the whole interface switching process, but directly obtains switching display information, where the switching display information is used to implement parameters of switching between two interfaces.
In one implementation manner, the method for acquiring the switching display information in this embodiment includes the following steps:
step S201, if the real-time picture state is interface switching, acquiring a switched target interface;
step S202, determining a switching mode corresponding to the target interface based on the target interface;
step 203, determining a switching time corresponding to the switching mode according to the switching mode;
and step S204, taking the target interface, the switching mode and the switching time as the switching display information.
In this embodiment, a socket transmission channel is provided between the terminal device and the display device for transmitting video data, and the transmitted video coding packet is expanded, and when the real-time picture status is that the interface is not switched, the terminal device will record the screen, and send the video coding packet obtained by recording the screen to the display device. When the real-time picture state is interface switching, the terminal equipment stops local screen recording operation at the moment, and the terminal equipment still performs interface switching at the moment, namely, the conversion between the two interfaces is realized, and only the screen recording operation is not performed, so that video data when the two interfaces are switched is not obtained. At this time, the terminal device may acquire a target interface after completing the interface switching, where the target interface is a still picture after completing the interface switching. After the target interface is obtained, the terminal device in this embodiment further obtains a switching mode corresponding to the target interface based on the target interface. In this embodiment, since the switching between the two interfaces is already completed at the terminal device, a corresponding switching mode can be obtained while the target interface is obtained, where the switching mode may be a mode of "fade-in and fade-out", "fly-in", etc., which is reflected in how the old interface disappears and how the new interface appears. When the switching manner is obtained, the embodiment may further determine, based on the switching manner, a switching time corresponding to the switching manner, where the switching time refers to a time taken to implement switching between two interfaces by using the switching manner. In one implementation manner, in this embodiment, a mapping relationship between a switching manner and a switching time is preset, for example: the 3 seconds of the gradual in and gradual out, the reflected time for realizing the switching between the two interfaces by using the switching mode of the gradual in and gradual out is 3 seconds. Therefore, after the terminal device in this embodiment obtains the switching manner, the switching manner is matched with the preset mapping relationship, so that the switching time corresponding to the switching manner can be obtained. After the target interface, the switching mode and the switching time are obtained, the embodiment can take the target interface, the switching mode and the switching time as the switching display information. Therefore, in the embodiment, only three parameters in the switching display information are obtained, so that the data volume is greatly reduced, and only the three parameters are required to be transmitted when the switching display information is transmitted to the display device in the subsequent step.
In one implementation, the switching mode in this embodiment may be set as encoded information, which may be numbers, letters, or a combination of numbers and letters. For example, the code 1 corresponding to the fade-in and fade-out, and the code 2 corresponding to the fade-in and fade-out are flown. In this embodiment, the switching manner is set to the encoded information, so that the amount of data included in the switching display information is further reduced, and therefore, the amount of data is not increased when the switching display information is transmitted to the target device, and is greatly reduced compared with the conventional video data.
And step S300, the switching display information is sent to display equipment so as to control the display equipment to switch interfaces according to the switching display information.
After the terminal equipment obtains the switching display information, the terminal equipment sends the switching display information to the display equipment, and the display equipment realizes switching of the two interfaces according to the switching display information after receiving the switching display information. The switching display information is obviously reduced in data volume relative to the video data, so that the display device does not have the phenomenon of blocking and delaying when performing screen-casting display and interface switching. In one implementation, since the switching mode in the switching display information is the coding information, the display device can obtain the coding information for reflecting the switching mode after receiving the switching display information, and then find the corresponding switching mode according to the coding information, so as to realize interface switching according to the switching mode. Therefore, in this embodiment, the correspondence between the switching mode and the encoded information is stored in the display device in advance, so that the display device can directly obtain the corresponding switching mode based on the encoded information. After the terminal equipment finishes the transmission of the switching display information, the terminal equipment resumes the local screen recording operation, continues to record the screen, and then transmits the video obtained by the screen recording to the display equipment for screen casting display.
In summary, in this embodiment, first, screen projection screen information is acquired, and a real-time screen state is determined according to the screen projection screen information; if the real-time picture state is interface switching, acquiring switching display information corresponding to the interface switching; and sending the switching display information to a display device to control the display device to perform interface switching according to the switching display information. When the screen projection control is performed, when the interface is switched, the switching display information is sent to the display device, so that the display device can perform screen projection display based on the switching display information, the whole screen projection video is not sent to the display device, the video transmission data volume can be reduced, and the real-time performance and fluency of the screen projection transmission are optimized.
Exemplary apparatus
Based on the above embodiment, the present invention further provides a screen projection control device, as shown in fig. 2, where the device includes: the system comprises a state acquisition module 10, an information acquisition module 20 and a screen projection control module 30. Specifically, the state acquisition module 10 in this embodiment is configured to acquire screen-projection screen information, and determine a real-time screen state according to the screen-projection screen information. The information obtaining module 20 is configured to obtain switching display information corresponding to the interface switching if the real-time picture state is the interface switching. The screen-throwing control module 30 is configured to send the switching display information to a display device, so as to control the display device to perform screen-throwing control according to the switching display information.
The screen-throwing control device is provided with terminal equipment, and when interface switching occurs in the terminal equipment, corresponding switching display information is acquired so as to send the switching display information to the display equipment. In this embodiment, the screen information reflects the screen content displayed on the terminal device (such as the mobile phone device in the above example). Therefore, the real-time picture state can be determined according to the screen-throwing picture information, and the real-time picture state at the moment reflects whether the picture displayed on the terminal equipment at the moment has interface switching or not.
Specifically, after the terminal device of this embodiment obtains the screen-throwing picture information, a display image is obtained from the screen-throwing picture information, where the display image is the picture content displayed by the terminal device at this time, then it is further determined whether the display image at this time changes, and if so, it is indicated that the real-time picture state at this time is interface switching. For example, a user uses a mobile phone device to perform screen projection of PPT playing, and when the switching process of each page of PPT involves interface switching, even if the content in the same page of PPT changes, such as increasing or decreasing, interface switching is involved. If the display image changes, determining that the real-time picture state information is interface switching; and if the display image is not changed, determining that the real-time picture state information is that the interface is not switched.
In this embodiment, a socket transmission channel is provided between the terminal device and the display device for transmitting video data, and the transmitted video coding packet is expanded, and when the real-time picture status is that the interface is not switched, the terminal device will record the screen, and send the video coding packet obtained by recording the screen to the display device. When the real-time picture state is interface switching, the terminal equipment stops local screen recording operation at the moment, and the terminal equipment still performs interface switching at the moment, namely, the conversion between the two interfaces is realized, and only the screen recording operation is not performed, so that video data when the two interfaces are switched is not obtained. At this time, the terminal device may acquire a target interface after completing the interface switching, where the target interface is a still picture after completing the interface switching. After the target interface is obtained, the terminal device in this embodiment further obtains a switching mode corresponding to the target interface based on the target interface. In this embodiment, since the switching between the two interfaces is already completed at the terminal device, a corresponding switching mode can be obtained while the target interface is obtained, where the switching mode may be a mode of "fade-in and fade-out", "fly-in", etc., which is reflected in how the old interface disappears and how the new interface appears. When the switching manner is obtained, the embodiment may further determine, based on the switching manner, a switching time corresponding to the switching manner, where the switching time refers to a time taken to implement switching between two interfaces by using the switching manner. In one implementation manner, in this embodiment, a mapping relationship between a switching manner and a switching time is preset, for example: the 3 seconds of the gradual in and gradual out, the reflected time for realizing the switching between the two interfaces by using the switching mode of the gradual in and gradual out is 3 seconds. Therefore, after the terminal device in this embodiment obtains the switching manner, the switching manner is matched with the preset mapping relationship, so that the switching time corresponding to the switching manner can be obtained. After the target interface, the switching mode and the switching time are obtained, the embodiment can take the target interface, the switching mode and the switching time as the switching display information. Therefore, in the embodiment, only three parameters in the switching display information are obtained, so that the data volume is greatly reduced, and only the three parameters are required to be transmitted when the switching display information is transmitted to the display device in the subsequent step.
In one implementation, the switching mode in this embodiment may be set as encoded information, which may be numbers, letters, or a combination of numbers and letters. For example, the code 1 corresponding to the fade-in and fade-out, and the code 2 corresponding to the fade-in and fade-out are flown. In this embodiment, the switching manner is set to the encoded information, so that the amount of data included in the switching display information is further reduced, and therefore, the amount of data is not increased when the switching display information is transmitted to the target device, and is greatly reduced compared with the conventional video data.
After the terminal equipment obtains the switching display information, the terminal equipment sends the switching display information to the display equipment, and the display equipment realizes switching of the two interfaces according to the switching display information after receiving the switching display information. The switching display information is obviously reduced in data volume relative to the video data, so that the display device does not have the phenomenon of blocking and delaying when performing screen-casting display and interface switching. In one implementation, since the switching mode in the switching display information is the coding information, the display device can obtain the coding information for reflecting the switching mode after receiving the switching display information, and then find the corresponding switching mode according to the coding information, so as to realize interface switching according to the switching mode. Therefore, in this embodiment, the correspondence between the switching mode and the encoded information is stored in the display device in advance, so that the display device can directly obtain the corresponding switching mode based on the encoded information. After the terminal equipment finishes the transmission of the switching display information, the terminal equipment resumes the local screen recording operation, continues to record the screen, and then transmits the video obtained by the screen recording to the display equipment for screen casting display.
Based on the above embodiment, the present invention also provides a terminal device, and a functional block diagram thereof may be shown in fig. 3. The terminal device comprises a processor and a memory which are connected through a system bus. Wherein the processor of the terminal device is adapted to provide computing and control capabilities. The memory of the terminal device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The network interface of the terminal device is used for communicating with an external terminal through a network connection. The computer program, when executed by a processor, implements a method of screen-shot control.
It will be appreciated by persons skilled in the art that the functional block diagram shown in fig. 3 is merely a block diagram of some of the structures associated with the present inventive arrangements and is not limiting of the terminal device to which the present inventive arrangements are applied, and that a particular terminal device may include more or fewer components than shown, or may combine some of the components, or may have a different arrangement of components.
In one embodiment, a terminal device is provided, where the terminal device includes a memory, a processor, and a screen-switching control program stored in the memory and capable of running on the processor, and when the processor executes the screen-switching control program, the processor implements the following operation instructions:
acquiring screen projection picture information, and determining a real-time picture state according to the screen projection picture information;
if the real-time picture state is interface switching, acquiring switching display information corresponding to the interface switching;
and sending the switching display information to a display device to control the display device to perform screen throwing control according to the switching display information.
Those skilled in the art will appreciate that implementing all or part of the above described methods may be accomplished by way of a computer program stored on a non-transitory computer readable storage medium, which when executed, may comprise the steps of the embodiments of the methods described above. Any reference to memory, storage, operational database, or other medium used in embodiments provided herein may include non-volatile and/or volatile memory. The nonvolatile memory can include Read Only Memory (ROM), programmable ROM (PROM), electrically Programmable ROM (EPROM), electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), dual operation data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous Link DRAM (SLDRAM), memory bus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), among others.
In summary, the invention discloses a screen projection control method, a device, a terminal device and a storage medium, wherein the method comprises the following steps: acquiring screen projection picture information, and determining a real-time picture state according to the screen projection picture information; if the real-time picture state is interface switching, acquiring switching display information corresponding to the interface switching; and sending the switching display information to a display device to control the display device to perform interface switching according to the switching display information. When the screen-throwing control is performed, switching display information is sent to the display equipment when interface switching is encountered, so that the display equipment can perform screen-throwing display based on the switching display information, the whole screen-throwing video is not sent to the display equipment, and the real-time performance and fluency of screen-throwing transmission are optimized.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present invention, and are not limiting; although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims (6)
1. A screen projection control method, the method comprising:
acquiring screen projection picture information, and determining a real-time picture state according to the screen projection picture information;
if the real-time picture state is interface switching, acquiring switching display information corresponding to the interface switching;
transmitting the switching display information to a display device to control the display device to perform interface switching according to the switching display information;
if the real-time picture state is that the interface is not switched, recording video, and sending the coded packet of the recorded video to display equipment;
and if the real-time picture state is interface switching, acquiring switching display information corresponding to the interface switching, wherein the switching display information comprises:
if the real-time picture state is interface switching, acquiring a target interface after switching;
determining a switching mode corresponding to the target interface based on the target interface;
determining switching time corresponding to the switching mode according to the switching mode;
taking the target interface, the switching mode and the switching time as the switching display information;
a mapping relation between the switching mode and the switching time is preset; the switching mode is set as coding information; storing a corresponding relation between the switching mode and the coding information in display equipment in advance;
the obtaining the screen projection picture information, determining the real-time picture state according to the screen projection picture information, comprises the following steps:
acquiring the screen projection picture information, and determining a display image according to the screen projection picture information; determining the real-time picture state according to the display image;
the determining the real-time picture state according to the display image comprises the following steps:
if the display image changes, determining that the real-time picture state information is interface switching; and if the display image is not changed, determining that the real-time picture state information is that the interface is not switched.
2. The screen projection control method according to claim 1, wherein the determining, according to the switching manner, a switching time corresponding to the switching manner includes:
and matching the switching mode with a preset mapping relation, and determining switching time corresponding to the switching mode, wherein the mapping relation comprises a corresponding relation between the switching mode and the switching time.
3. The screen projection control method of claim 1, further comprising:
and stopping the local screen recording operation when the real-time picture state is interface switching.
4. A screen throw control device, the device comprising:
the state acquisition module is used for acquiring screen projection picture information and determining a real-time picture state according to the screen projection picture information; the obtaining the screen projection picture information, determining the real-time picture state according to the screen projection picture information, comprises the following steps: acquiring the screen projection picture information, and determining a display image according to the screen projection picture information; determining the real-time picture state according to the display image;
the determining the real-time picture state according to the display image comprises the following steps: if the display image changes, determining that the real-time picture state information is interface switching; if the display image is not changed, determining that the real-time picture state information is that an interface is not switched;
the information acquisition module is used for acquiring switching display information corresponding to interface switching if the real-time picture state is the interface switching;
the screen throwing control module is used for sending the switching display information to display equipment so as to control the display equipment to switch the interface according to the switching display information, recording video if the real-time picture state is that the interface is not switched, and sending the coding packet of the recorded video to the display equipment;
the information acquisition module is specifically configured to:
if the real-time picture state is interface switching, acquiring a target interface after switching;
determining a switching mode corresponding to the target interface based on the target interface;
determining switching time corresponding to the switching mode according to the switching mode;
taking the target interface, the switching mode and the switching time as the switching display information;
a mapping relation between the switching mode and the switching time is preset; the switching mode is set as coding information; the corresponding relation between the switching mode and the coding information is stored in the display equipment in advance.
5. A terminal device, characterized in that the terminal device comprises a memory, a processor and a screen-shot control program stored in the memory and operable on the processor, the processor implementing the steps of the screen-shot control method according to any one of claims 1-3 when executing the screen-shot control program.
6. A computer readable storage medium, wherein a screen-projection control program is stored on the computer readable storage medium, and when executed by a processor, the screen-projection control program implements the steps of the screen-projection control method according to any one of claims 1 to 3.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111431592.9A CN114143596B (en) | 2021-11-29 | 2021-11-29 | Screen projection control method and device, terminal equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111431592.9A CN114143596B (en) | 2021-11-29 | 2021-11-29 | Screen projection control method and device, terminal equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114143596A CN114143596A (en) | 2022-03-04 |
CN114143596B true CN114143596B (en) | 2024-03-19 |
Family
ID=80389149
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111431592.9A Active CN114143596B (en) | 2021-11-29 | 2021-11-29 | Screen projection control method and device, terminal equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114143596B (en) |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105450944A (en) * | 2015-11-13 | 2016-03-30 | 北京自由坊科技有限责任公司 | Method and device for synchronously recording and reproducing slides and live presentation speech |
CN106502604A (en) * | 2016-09-28 | 2017-03-15 | 北京小米移动软件有限公司 | Throw screen changing method and device |
CN107257376A (en) * | 2017-06-20 | 2017-10-17 | 永中软件股份有限公司 | Meeting document on-line synchronous method |
CN108063820A (en) * | 2017-12-19 | 2018-05-22 | 广州敬信药草园信息科技有限公司 | A kind of throwing screen synchronous method of cloud meeting |
CN111552450A (en) * | 2020-04-30 | 2020-08-18 | 深圳市鸿合创新信息技术有限责任公司 | Screen projection method and device |
CN111831242A (en) * | 2019-04-23 | 2020-10-27 | 阿里巴巴集团控股有限公司 | Information display method, screen projection end, display end, storage medium and system |
CN112612436A (en) * | 2020-12-24 | 2021-04-06 | 广州视源电子科技股份有限公司 | Screen projection switching method, device, equipment and storage medium |
CN113207035A (en) * | 2021-04-16 | 2021-08-03 | 乐视致新信息技术(武汉)有限公司 | Video screen projection method, device, equipment and computer readable storage medium |
-
2021
- 2021-11-29 CN CN202111431592.9A patent/CN114143596B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105450944A (en) * | 2015-11-13 | 2016-03-30 | 北京自由坊科技有限责任公司 | Method and device for synchronously recording and reproducing slides and live presentation speech |
CN106502604A (en) * | 2016-09-28 | 2017-03-15 | 北京小米移动软件有限公司 | Throw screen changing method and device |
CN107257376A (en) * | 2017-06-20 | 2017-10-17 | 永中软件股份有限公司 | Meeting document on-line synchronous method |
CN108063820A (en) * | 2017-12-19 | 2018-05-22 | 广州敬信药草园信息科技有限公司 | A kind of throwing screen synchronous method of cloud meeting |
CN111831242A (en) * | 2019-04-23 | 2020-10-27 | 阿里巴巴集团控股有限公司 | Information display method, screen projection end, display end, storage medium and system |
CN111552450A (en) * | 2020-04-30 | 2020-08-18 | 深圳市鸿合创新信息技术有限责任公司 | Screen projection method and device |
CN112612436A (en) * | 2020-12-24 | 2021-04-06 | 广州视源电子科技股份有限公司 | Screen projection switching method, device, equipment and storage medium |
CN113207035A (en) * | 2021-04-16 | 2021-08-03 | 乐视致新信息技术(武汉)有限公司 | Video screen projection method, device, equipment and computer readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN114143596A (en) | 2022-03-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2020248909A1 (en) | Video decoding method and apparatus, computer device, and storage medium | |
US11172227B2 (en) | Video sending and receiving method, apparatus, and terminal thereof | |
CN102036058B (en) | Method, server, terminal and system for switching videos in video monitoring system | |
WO2019170073A1 (en) | Media playback | |
US8407565B2 (en) | System and method for producing importance rate-based rich media, and server applied to the same | |
KR20080014843A (en) | Method and system for improving interactive media response systems using visual cues | |
KR100987552B1 (en) | Ever-increasing quality for stored video streaming in a mobile wireless interworking environment | |
CN114584833B (en) | Audio and video processing method and device and storage medium | |
WO2020151398A1 (en) | Method,device and storage medium for seamlessly switching hardware decoding dynamic resolution, | |
CN110582012B (en) | Video switching method, video processing device and storage medium | |
US11356739B2 (en) | Video playback method, terminal apparatus, and storage medium | |
CN111726657A (en) | Live video playing processing method and device and server | |
WO2023020008A1 (en) | Method for controlling screen projection, and electronic device and computer-readable storage medium | |
CN108401190B (en) | Method and equipment for real-time labeling of video frames | |
US20150172733A1 (en) | Content transmission device, content playback device, content delivery system, control method for content transmission device, control method for content playback device, data structure, control program, and recording medium | |
CN104053002A (en) | Video decoding method and device | |
US10674188B2 (en) | Playback apparatus, method of controlling playback apparatus, playback method and server apparatus | |
CN114143596B (en) | Screen projection control method and device, terminal equipment and storage medium | |
CN108134957A (en) | A kind of throwing screen method, terminal and computer storage media | |
US12015834B2 (en) | Methods, systems, and media for streaming video content using adaptive buffers | |
US20210400334A1 (en) | Method and apparatus for loop-playing video content | |
WO2023142665A1 (en) | Image processing method and apparatus, and computer device, storage medium and program product | |
JP2018514133A (en) | Data processing method and apparatus | |
US20130329798A1 (en) | Inferred key frames for fast initiation of video coding sessions | |
CN115278308B (en) | Media stream processing method, device, equipment and storage medium |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |