CN114428596B - Screen projection display method, electronic equipment and readable storage medium - Google Patents

Screen projection display method, electronic equipment and readable storage medium Download PDF

Info

Publication number
CN114428596B
CN114428596B CN202210113589.0A CN202210113589A CN114428596B CN 114428596 B CN114428596 B CN 114428596B CN 202210113589 A CN202210113589 A CN 202210113589A CN 114428596 B CN114428596 B CN 114428596B
Authority
CN
China
Prior art keywords
screen
real
time
display
screen recording
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
Application number
CN202210113589.0A
Other languages
Chinese (zh)
Other versions
CN114428596A (en
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 Skyworth RGB Electronics Co Ltd
Original Assignee
Shenzhen Skyworth RGB Electronics 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 Skyworth RGB Electronics Co Ltd filed Critical Shenzhen Skyworth RGB Electronics Co Ltd
Priority to CN202210113589.0A priority Critical patent/CN114428596B/en
Publication of CN114428596A publication Critical patent/CN114428596A/en
Application granted granted Critical
Publication of CN114428596B publication Critical patent/CN114428596B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/1407General aspects irrespective of display type, e.g. determination of decimal point position, display with fixed or driving decimal point, suppression of non-significant zeros
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5011Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resources being hardware resources other than CPUs, Servers and Terminals
    • G06F9/5016Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resources being hardware resources other than CPUs, Servers and Terminals the resource being the memory
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5027Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
    • G06F9/505Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals considering the load
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

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

Abstract

The application discloses a screen-projection display method, electronic equipment and a readable storage medium, which are applied to the technical field of screen projection, wherein the screen-projection display method comprises the following steps: acquiring a real-time display mode of display equipment; determining real-time screen recording parameters corresponding to the screen recording equipment according to the real-time display mode; recording the screen according to the real-time screen recording parameters to obtain a screen recording picture; and projecting the screen recording picture to the display equipment. The technical problem that the display effect of throwing the screen among the prior art is poor has been solved to this application.

Description

Screen projection display method, electronic equipment and readable storage medium
Technical Field
The application relates to the technical field of screen projection, in particular to a screen projection display method, electronic equipment and a readable storage medium.
Background
Along with the high-speed development of science and technology, the screen-throwing technology is also developed to be more mature, at present, screen-throwing technology adopts screen-throwing equipment to perform screen-throwing through fixed screen-throwing parameters to obtain screen-throwing pictures, the screen-throwing pictures are thrown to display equipment, the requirements of users are not constant, when the requirements of the users change, if the screen-throwing parameters are still adopted to perform screen-throwing, the mismatch between the display pictures of the screen-throwing and the requirements of the users easily occurs, and therefore the display effect of the screen-throwing is affected.
Disclosure of Invention
The main purpose of the application is to provide a screen display method, electronic equipment and readable storage medium, and aims to solve the technical problem of poor screen display effect in the prior art.
In order to achieve the above object, the present application provides a screen display method, including:
acquiring a real-time display mode of display equipment;
determining real-time screen recording parameters corresponding to the screen recording equipment according to the real-time display mode;
recording the screen according to the real-time screen recording parameters to obtain a screen recording picture;
and projecting the screen recording picture to the display equipment.
Optionally, the step of determining the real-time screen recording parameter corresponding to the screen recording device according to the real-time display mode includes:
acquiring a preset configuration file and real-time equipment performance parameters of the screen recording equipment, wherein the preset configuration file comprises an association relation between the equipment performance parameters and the screen recording parameters;
and searching corresponding real-time screen recording parameters in the preset configuration file according to the real-time display mode and the real-time equipment performance parameters.
Optionally, the real-time screen recording parameters include a target resolution and a target frame rate, the real-time device performance parameters include a real-time CPU occupation value and a real-time memory occupation value, and the step of searching for the corresponding real-time screen recording parameters in the preset configuration file according to the real-time display mode and the real-time device performance parameters includes:
Acquiring a real-time CPU occupation value and a corresponding real-time memory occupation value corresponding to the screen recording equipment;
searching corresponding preset resolution and corresponding preset frame rate in the preset configuration file according to the real-time CPU occupation value and the real-time memory occupation value;
and determining the target resolution corresponding to the preset resolution and the target frame rate corresponding to the preset frame rate according to the correction parameters corresponding to the real-time display mode.
Optionally, the real-time screen recording parameters include a target resolution and a target frame rate, the real-time device performance parameters include a real-time CPU occupation value and a real-time memory occupation value, and the step of searching for the corresponding real-time screen recording parameters in the preset configuration file according to the real-time display mode and the real-time device performance parameters further includes:
determining a screen recording parameter configuration module corresponding to the real-time display mode in the preset configuration file;
acquiring a real-time CPU occupation value and a corresponding real-time memory occupation value corresponding to the screen recording equipment;
and searching corresponding target resolution and corresponding target frame rate in the screen recording parameter configuration module according to the real-time CPU occupation value and the real-time memory occupation value.
Optionally, after the step of projecting the screen recording screen onto the display device, the screen projection display method includes:
judging whether the real-time display mode of the display equipment is changed or not;
if yes, returning to the execution step: determining real-time screen recording parameters corresponding to the screen recording equipment according to the real-time display mode; recording a screen according to the real-time screen recording parameters to obtain a screen recording picture, and projecting the screen recording picture to the display equipment;
if not, recording the screen according to the real-time screen recording parameters to obtain a screen recording picture, and projecting the screen recording picture to the display equipment.
In order to achieve the above object, the present application further provides a screen display method, where the screen display method includes:
acquiring a real-time display mode corresponding to the display device, and sending the real-time display mode to screen recording equipment so that the screen recording equipment can determine real-time screen recording parameters corresponding to the real-time display mode according to the real-time display mode, and recording a screen according to the real-time screen recording parameters to obtain a screen recording picture;
and receiving the screen recording picture sent by the screen recording equipment, and performing screen projection on the screen recording picture.
Optionally, the step of determining the real-time display mode of the display device includes:
Acquiring the screen area size of a screen throwing display area of the display equipment;
if the screen area size is within a preset first size threshold range, judging that the real-time display mode of the display equipment is horizontal screen display;
and if the screen area size is within the preset second size threshold range, judging that the real-time display mode of the display equipment is vertical screen display.
Optionally, the step of determining the real-time display mode of the display device includes:
detecting whether a screen-throwing display area of the display equipment is a display window or not;
if yes, acquiring a window display picture in the display window;
judging whether the window display picture is matched with a screen recording picture of the screen recording equipment or not;
if yes, judging that the real-time display mode of the display equipment is window display.
Optionally, the step of determining the real-time display mode of the display device includes:
when detecting that a window minimization exists in a screen projection display area of the screen projection display device, judging whether a display picture corresponding to the window minimization is matched with a screen projection picture of the screen recording device or not;
if yes, judging that the real-time display mode of the display equipment is minimum display.
To achieve the above object, the present application further provides a screen display device, including:
the display acquisition module is used for acquiring a real-time display mode of the display equipment;
the parameter acquisition module is used for determining real-time screen recording parameters corresponding to the screen recording equipment according to the real-time display mode;
the screen recording picture module is used for recording a screen according to the real-time screen recording parameters to obtain a screen recording picture;
and the screen-throwing display module is used for throwing the screen of the screen-recording picture to the display equipment.
Optionally, in the step of determining the real-time screen recording parameter corresponding to the screen recording device according to the real-time display mode, the parameter obtaining module is further configured to:
acquiring a preset configuration file and real-time equipment performance parameters of the screen recording equipment, wherein the preset configuration file comprises an association relation between the equipment performance parameters and the screen recording parameters;
and searching corresponding real-time screen recording parameters in the preset configuration file according to the real-time display mode and the real-time equipment performance parameters.
Optionally, the real-time screen recording parameters include a target resolution and a target frame rate, the real-time device performance parameters include a real-time CPU occupation value and a real-time memory occupation value, and in the step of searching for the corresponding real-time screen recording parameters in the preset configuration file according to the real-time display mode and the real-time device performance parameters, the parameter obtaining module is further configured to:
Acquiring a real-time CPU occupation value and a corresponding real-time memory occupation value corresponding to the screen recording equipment;
searching corresponding preset resolution and corresponding preset frame rate in the preset configuration file according to the real-time CPU occupation value and the real-time memory occupation value;
and determining the target resolution corresponding to the preset resolution and the target frame rate corresponding to the preset frame rate according to the correction parameters corresponding to the real-time display mode.
Optionally, the real-time screen recording parameters include a target resolution and a target frame rate, the real-time device performance parameters include a real-time CPU occupation value and a real-time memory occupation value, and in the step of searching for the corresponding real-time screen recording parameters in the preset configuration file according to the real-time display mode and the real-time device performance parameters, the parameter obtaining module is further configured to:
determining a screen recording parameter configuration module corresponding to the real-time display mode in the preset configuration file;
acquiring a real-time CPU occupation value and a corresponding real-time memory occupation value corresponding to the screen recording equipment;
and searching corresponding target resolution and corresponding target frame rate in the screen recording parameter configuration module according to the real-time CPU occupation value and the real-time memory occupation value.
Optionally, after the step of projecting the screen recording screen onto the display device, the parameter obtaining module is further configured to:
judging whether the real-time display mode of the display equipment is changed or not;
if yes, returning to the execution step: determining real-time screen recording parameters corresponding to the screen recording equipment according to the real-time display mode; recording a screen according to the real-time screen recording parameters to obtain a screen recording picture, and projecting the screen recording picture to the display equipment;
if not, recording the screen according to the real-time screen recording parameters to obtain a screen recording picture, and projecting the screen recording picture to the display equipment.
The application also provides a throw screen display device, throw screen display device includes:
the display acquisition module is used for acquiring a real-time display mode corresponding to the display equipment, transmitting the real-time display mode to the screen recording equipment, and enabling the screen recording equipment to determine real-time screen recording parameters corresponding to the real-time display mode according to the real-time display mode, and recording a screen according to the real-time screen recording parameters to obtain a screen recording picture;
and the screen throwing display module is used for receiving the screen recording picture sent by the screen recording equipment and throwing the screen to the screen recording picture.
Optionally, in the step of determining a real-time display mode of the display device, the display obtaining module is further configured to:
acquiring the screen area size of a screen throwing display area of the display equipment;
if the screen area size is within a preset first size threshold range, judging that the real-time display mode of the display equipment is horizontal screen display;
and if the screen area size is within the preset second size threshold range, judging that the real-time display mode of the display equipment is vertical screen display.
Optionally, in the step of determining a real-time display mode of the display device, the display obtaining module is further configured to:
detecting whether a screen-throwing display area of the display equipment is a display window or not;
if yes, acquiring a window display picture in the display window;
judging whether the window display picture is matched with a screen recording picture of the screen recording equipment or not;
if yes, judging that the real-time display mode of the display equipment is window display.
Optionally, in the step of determining a real-time display mode of the display device, the display obtaining module is further configured to:
when the screen-throwing display area of the screen-throwing display equipment is detected to be in a minimized state, judging whether a display picture corresponding to the minimized state is matched with a screen-throwing picture of the screen-recording equipment or not;
If yes, judging that the real-time display mode of the display equipment is minimum display.
In addition, in order to achieve the above object, the present invention also provides a screen projector, including: the system comprises a screen throwing transmitter and a screen throwing receiver, wherein the screen throwing transmitter is used for being connected with first electronic equipment, the screen throwing receiver is used for being connected with second electronic equipment, and the screen throwing transmitter and the screen throwing receiver are used for carrying out data transmission through a wireless network; the screen projector further comprises: the system comprises a memory, a processor and a screen display program stored in the memory and capable of running on the processor, wherein the screen display program realizes the steps of the screen display method when being executed by the processor.
The present application also provides a computer-readable storage medium, on which a program for implementing a screen-projection display method is stored, where the program for implementing the screen-projection display method implements the steps of the screen-projection display method as described above when being executed by a processor.
Compared with the method that screen recording equipment is used for screen recording through fixed screen recording parameters to obtain screen recording pictures in the prior art, the method for projecting the screen recording pictures to the display equipment is adopted, and the real-time display mode of the display equipment is obtained; determining real-time screen recording parameters corresponding to the screen recording equipment according to the real-time display mode; according to the real-time screen recording parameters, screen recording is carried out to obtain screen recording pictures, the screen recording pictures are projected to the display equipment, the screen recording parameters are dynamically adjusted according to the real-time display mode of the display equipment, so that the screen recording parameters which are adaptive can be always provided for the screen recording equipment, the real-time display mode can be set by a user, the real-time display mode is represented by the user requirement, the technical defect that the screen recording equipment can not meet the user requirement at any time when the fixed screen recording parameters are adopted is overcome, and the screen projection display effect is improved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the application and together with the description, serve to explain the principles of the application.
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings that are required to be used in the description of the embodiments or the prior art will be briefly described below, and it will be obvious to those skilled in the art that other drawings can be obtained from these drawings without inventive effort.
FIG. 1 is a schematic view of a screen connection scenario according to an embodiment of a screen display method of the present application;
fig. 2 is a schematic structural diagram of an electronic device in a hardware operating environment related to a screen display method in an embodiment of the present application;
FIG. 3 is a schematic flow chart of an embodiment of a projection display method of the present application;
FIG. 4 is a schematic flow chart of another embodiment of a projection display method of the present application;
FIG. 5 is a schematic diagram of a device structure related to a projection display method in an embodiment of the present application;
fig. 6 is a schematic structural diagram of another apparatus related to the screen projection display method in the embodiment of the present application.
The implementation, functional features and advantages of the present application will be further described with reference to the accompanying drawings in conjunction with the embodiments.
Detailed Description
In order to make the above objects, features and advantages of the present invention more comprehensible, the following description of the embodiments accompanied with the accompanying drawings will be given in detail. It will be apparent that the described embodiments are only some, but not all, embodiments of the invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Referring to fig. 1, fig. 1 is a schematic view of a screen connection according to an embodiment of the present invention.
As shown in fig. 1, the projector includes: the first electronic device is a screen recording device, and can be a personal computer, a mobile terminal device such as a smart phone, a tablet personal computer, an electronic book reader, a portable computer and the like, and the second electronic device is a display device, and can be a television, a display, a projector and the like.
In some embodiments, the first electronic device is connected to the screen projector and/or the screen receiver through a wired or wireless network for data transmission and interaction; the screen throwing transmitter is connected with the screen throwing receiver through a wireless network to perform data transmission and interaction, or is connected with the second electronic equipment through the wireless network to perform data transmission and interaction; the screen throwing receiver is connected with the second electronic equipment through a wired or wireless network to carry out data transmission and interaction. In an alternative implementation, the wired connection between the screen-throwing receiver and the second electronic device and between the screen-throwing transmitter and the first electronic device may include wired connection based on HDMI (High Definition Multimedia Interface, high-definition multimedia interface), USB (UniversalSerial Bus ), DP (DisplayPort, display interface), VGA (Video GraphicsArray ), and the like. The wireless communication modes between the first electronic device and the screen throwing transmitter and the screen throwing receiver and between the second electronic device and the screen throwing transmitter and the screen throwing receiver can comprise Bluetooth (Bluetooth), wireless broadband (Wi-Fi), infrared communication and other wireless communication modes.
Therefore, the possible connection modes for implementing the screen projection between the first electronic device, the screen projection transmitter, the screen projection receiver and the second electronic device at least include:
(1) The screen throwing transmitter is connected with the screen throwing receiver, and the screen of the first electronic equipment is finally thrown to the second electronic equipment through the screen throwing transmitter and the screen throwing receiver;
(2) The screen throwing emitter is in wireless connection with the second electronic equipment, the first electronic equipment screen is thrown to the second electronic equipment through the screen throwing emitter, and at the moment, the screen throwing emitter is connected with a wireless communication module arranged in the second electronic equipment through a wireless network;
(3) The first electronic equipment is connected with the screen throwing receiver, and the screen of the first electronic equipment is thrown to the second electronic equipment through the screen throwing receiver.
Referring to fig. 2, fig. 2 is a schematic structural diagram of an electronic device in a hardware operating environment related to a screen display method in an embodiment of the present application. The electronic device in the embodiments of the present disclosure may include, but is not limited to, a fixed terminal such as a television, a screen-cast receiver, a mobile phone, a notebook computer, a digital broadcast receiver, a PDA (personal digital assistant), a PAD (tablet computer), a PMP (portable multimedia player), a car-mounted terminal (e.g., car navigation terminal), a digital TV, a desktop computer, and the like.
As shown in fig. 2, the electronic device further includes: a processor 1001, such as a central processing unit (Central Processing Unit, CPU), a communication bus 1002, a network interface 1003, and a memory 1004. Wherein the communication bus 1002 is used to enable connected communication between these components. The network interface 1003 may optionally include a standard wired interface, a Wireless interface (e.g., wireless-Fidelity (WI-FI) interface). The Memory 1004 may be a high-speed random access Memory (Random Access Memory, RAM) Memory or a stable Non-Volatile Memory (NVM), such as a disk Memory. The memory 1004 may also optionally be a storage device separate from the processor 1001 described above.
Optionally, the terminal may also include a camera, an RF (Radio Frequency) circuit, a sensor, an audio circuit, a WiFi module, and so on. Among other sensors, such as light sensors, motion sensors, and other sensors. Specifically, the light sensor may include an ambient light sensor that may adjust the brightness of the display screen according to the brightness of ambient light, and a proximity sensor that may turn off the display screen and/or the backlight when the mobile terminal moves to the ear. As one of the motion sensors, the gravity acceleration sensor can detect the acceleration in all directions (generally three axes), and can detect the gravity and the direction when the mobile terminal is stationary, and the mobile terminal can be used for recognizing the gesture of the mobile terminal (such as horizontal and vertical screen switching, related games, magnetometer gesture calibration), vibration recognition related functions (such as pedometer and knocking), and the like; of course, the mobile terminal may also be configured with other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, and the like, which are not described herein.
It will be appreciated by those skilled in the art that the structure shown in fig. 2 is not limiting of the operating device and may include more or fewer components than shown, or certain components may be combined, or a different arrangement of components.
As shown in fig. 2, an operating system, a data storage module, a network communication module, and a projection display program may be included in the memory 1004 as one type of storage medium.
In the operating device shown in fig. 2, the network interface 1003 is mainly used for data communication with other devices. The processor 1001 and the memory 1004 in the operation device of the present invention may be provided in an operation device, and the operation device calls the screen display program stored in the memory 1004 through the processor 1001 and performs the following operations:
acquiring a real-time display mode of display equipment;
determining real-time screen recording parameters corresponding to the screen recording equipment according to the real-time display mode;
recording the screen according to the real-time screen recording parameters to obtain a screen recording picture;
and projecting the screen recording picture to the display equipment.
Further, the processor 1001 may call the on-screen display program stored in the memory 1004, and further perform the following operations:
acquiring a preset configuration file and real-time equipment performance parameters of the screen recording equipment, wherein the preset configuration file comprises an association relationship between the equipment performance parameters corresponding to the screen recording equipment and the corresponding screen recording parameters;
And searching corresponding real-time screen recording parameters in the preset configuration file according to the real-time display mode and the real-time equipment performance parameters.
Further, the processor 1001 may call the on-screen display program stored in the memory 1004, and further perform the following operations:
acquiring a real-time CPU occupation value and a corresponding real-time memory occupation value corresponding to the screen recording equipment;
searching corresponding preset resolution and corresponding preset frame rate in the preset configuration file according to the real-time CPU occupation value and the real-time memory occupation value;
and determining the target resolution corresponding to the preset resolution and the target frame rate corresponding to the preset frame rate according to the correction parameters corresponding to the real-time display mode.
Further, the processor 1001 may call the on-screen display program stored in the memory 1004, and further perform the following operations:
determining a screen recording parameter configuration module corresponding to the real-time display mode in the preset configuration file;
acquiring a real-time CPU occupation value and a corresponding real-time memory occupation value corresponding to the screen recording equipment;
and searching corresponding target resolution and corresponding target frame rate in the screen recording parameter configuration module according to the real-time CPU occupation value and the real-time memory occupation value.
Further, the processor 1001 may call the on-screen display program stored in the memory 1004, and further perform the following operations:
judging whether the real-time display mode of the display equipment is changed or not;
if yes, returning to the execution step: determining real-time screen recording parameters corresponding to the screen recording equipment according to the real-time display mode; recording a screen according to the real-time screen recording parameters to obtain a screen recording picture, and projecting the screen recording picture to the display equipment;
if not, recording the screen according to the real-time screen recording parameters to obtain a screen recording picture, and projecting the screen recording picture to the display equipment.
Further, the processor 1001 may call the on-screen display program stored in the memory 1004, and further perform the following operations:
acquiring a real-time display mode corresponding to a display device, and sending the real-time display mode to a screen recording device so that the screen recording device can determine real-time screen recording parameters corresponding to the real-time display mode according to the real-time display mode, and recording a screen according to the real-time screen recording parameters to obtain a screen recording picture;
and receiving the screen recording picture sent by the screen recording equipment, and performing screen projection on the screen recording picture.
Further, the processor 1001 may call the on-screen display program stored in the memory 1004, and further perform the following operations:
Acquiring the screen area size of a screen throwing display area of the display equipment;
if the screen area size is within a preset first size threshold range, judging that the real-time display mode of the display equipment is horizontal screen display;
and if the screen area size is within the preset second size threshold range, judging that the real-time display mode of the display equipment is vertical screen display.
Further, the processor 1001 may call the on-screen display program stored in the memory 1004, and further perform the following operations:
detecting whether a screen-throwing display area of the display equipment is a display window or not;
if yes, acquiring a window display picture in the display window;
judging whether the window display picture is matched with a screen recording picture of the screen recording equipment or not;
if yes, judging that the real-time display mode of the display equipment is window display.
Further, the processor 1001 may call the on-screen display program stored in the memory 1004, and further perform the following operations:
when the screen-throwing display area of the screen-throwing display equipment is detected to be in a minimized state, judging whether a display picture corresponding to the minimized state is matched with a screen-throwing picture of the screen-recording equipment or not;
If yes, judging that the real-time display mode of the display equipment is minimum display.
An embodiment of the present application provides a screen display method, and in an embodiment of the screen display method of the present application, referring to fig. 3, the screen display method includes:
step S10, acquiring a real-time display mode of display equipment;
the execution body of the embodiment may be a projection transmitting end or a projection receiving end, where the projection receiving end is a device for receiving a projection, such as a television, a computer, or a projector, and in one implementation manner, the projection receiving end may also be a signal receiver connected to a display and/or a speaker, where the signal receiver may be connected to the display and/or the speaker by a wired or wireless connection, and after receiving an audio signal and an image signal of a projection, output the audio signal and the image signal received by the projection through the display and/or the speaker connected to the signal receiver; the screen projection transmitting end is a mobile device for transmitting a screen, such as a mobile phone, a computer or a tablet personal computer, and the like, the screen projection transmitting end can communicate with other mobile devices through a traditional communication network or the internet, the screen projection transmitting end and the screen projection receiving end can be connected through wires or wirelessly, in an implementation manner, the screen projection transmitting end can also be a signal transmitter connected with the mobile device, the signal transmitter and the mobile device can be connected through wires or wirelessly, and the mobile device can transmit audio signals and image signals required to be projected to the screen projection receiving end through the signal transmitter. The screen-throwing transmitting end can be screen-recording equipment or screen-recording equipment connected with the screen-throwing transmitter, and the screen-throwing receiving end can be display equipment or display equipment connected with the screen-throwing receiver.
Illustratively, step S10 includes: and receiving a real-time display mode sent by the display device, wherein the real-time display mode can be horizontal screen display, vertical screen display, window display and minimized display.
Step S20, determining real-time screen recording parameters corresponding to the screen recording equipment according to the real-time display mode;
illustratively, step S20 includes: and determining the real-time screen recording parameters corresponding to the screen recording equipment according to the real-time display mode and the corresponding relation between the real-time display mode and the real-time screen recording parameters. For example, when the real-time display mode is a horizontal screen display mode, the real-time screen recording parameter corresponding to the screen recording equipment is indicated to be high; when the real-time display mode is vertical screen display or window display, explaining that the real-time screen recording parameters corresponding to the screen recording equipment are medium; and when the real-time display mode is the minimum display mode, indicating that the real-time screen recording parameters corresponding to the screen recording equipment are low.
In step S20, the step of determining, according to the real-time display manner, a real-time recording parameter corresponding to the recording device includes:
step S21, acquiring a preset configuration file and real-time equipment performance parameters of the screen recording equipment, wherein the preset configuration file comprises an association relation between the equipment performance parameters and the screen recording parameters;
Step S22, searching corresponding real-time screen recording parameters in the preset configuration file according to the real-time display mode and the real-time equipment performance parameters.
Illustratively, steps S21 through S22 include: acquiring a preset configuration file in screen recording equipment and real-time equipment performance parameters of the screen recording equipment; searching preset screen recording parameters corresponding to the real-time equipment performance parameters in the preset configuration file according to the real-time equipment performance parameters; and determining real-time screen recording parameters corresponding to the preset screen recording parameters according to the real-time display mode, wherein the preset configuration file comprises the association relation between the equipment performance parameters and the screen recording parameters.
In step S22, the step of searching the corresponding real-time recording parameters in the preset configuration file according to the real-time display mode and the real-time device performance parameters includes:
step A10, acquiring a real-time CPU occupation value and a corresponding real-time memory occupation value corresponding to the screen recording equipment;
step A20, searching corresponding preset resolution and corresponding preset frame rate in the preset configuration file according to the real-time CPU occupation value and the real-time memory occupation value;
And step A30, determining the target resolution corresponding to the preset resolution and the target frame rate corresponding to the preset frame rate according to the correction parameters corresponding to the real-time display mode.
In this embodiment, it should be noted that the target resolution is a target detail fineness of a screen recording picture of the screen recording device; and the target frame rate is the target rate of continuous display of the screen recording pictures of the screen recording equipment.
Further, the generating step of the preset configuration file is as follows: determining a CPU occupation threshold value and a corresponding memory occupation threshold value corresponding to the screen recording equipment according to the performance of the screen recording equipment; determining different preset resolutions of the screen recording equipment under the condition of stable operation according to the CPU occupation threshold and the memory occupation threshold; respectively acquiring preset frame rates of the screen recording equipment which can stably run under different preset resolutions according to the different preset resolutions, wherein the CPU occupation threshold is a critical value of CPU occupation values of the screen recording equipment which can stably run; the memory occupation threshold is a critical value of memory occupation values of the screen recording equipment capable of running stably.
Further, after the preset configuration file is generated, the preset configuration file is updated according to the setting of the user, and the updating steps of the preset configuration file are as follows: acquiring a set resolution and a set frame rate input by a user according to a use scene, and sending the set resolution and the set frame rate to a test end or a manual operation end; determining real-time equipment performance parameters of the screen recording equipment under the set resolution and the set frame rate according to the set resolution and the set frame rate; acquiring an equipment performance parameter threshold of the screen recording equipment by inquiring a preset configuration file; judging whether the running condition of the real-time equipment of the screen recording equipment is stable or not according to the real-time equipment performance parameters and the equipment performance parameter threshold; if the real-time equipment running condition of the screen recording equipment is stable, updating the preset configuration file; if the real-time equipment running condition of the screen recording equipment is unstable, the original preset configuration file is reserved. The device performance parameter threshold is a threshold value of a device performance parameter obtained according to the performance of the screen recording device in a preset configuration file.
Further, when the performance of the screen recording device changes, the preset configuration file needs to be updated synchronously according to the performance of the screen recording device, and the step of updating the preset configuration file synchronously is as follows: acquiring a real-time memory occupation threshold value and a real-time CPU occupation threshold value of the screen recording equipment according to the performance of the screen recording equipment; judging whether the real-time memory occupation threshold is consistent with the memory occupation threshold corresponding to the screen recording device in the preset configuration file or whether the real-time CPU occupation threshold is consistent with the CPU occupation threshold corresponding to the screen recording device in the preset configuration file or not; if the real-time memory occupation threshold is consistent with the memory occupation threshold corresponding to the screen recording device in the preset configuration file and the real-time CPU occupation threshold is consistent with the CPU occupation threshold corresponding to the screen recording device in the preset configuration file, judging that the memory occupation threshold or the CPU occupation threshold of the screen recording device is not changed, and keeping the original preset configuration file unchanged; if the real-time memory occupation threshold is inconsistent with the memory occupation threshold corresponding to the screen recording device in the preset configuration file or the real-time CPU occupation threshold is inconsistent with the CPU occupation threshold corresponding to the screen recording device in the preset configuration file, judging that the memory occupation threshold or the CPU occupation threshold of the screen recording device is changed, and returning to the execution step: determining different preset resolutions of the screen recording equipment which can record the screen under the condition of stable operation according to the real-time CPU occupation threshold and the real-time memory occupation threshold; according to the different preset resolutions, respectively obtaining preset frame rates of the screen recording equipment which can stably run under the different preset resolutions, and replacing data in the preset configuration file with the real-time CPU occupation threshold value, the real-time memory occupation threshold value, the preset resolution and the preset frame rate corresponding to the preset resolution.
Illustratively, steps a 10-a 30 include: acquiring a real-time CPU occupation value and a corresponding real-time memory occupation value corresponding to the screen recording equipment according to the real-time equipment performance parameters of the screen recording equipment; searching the preset configuration file, and acquiring the CPU occupation threshold value corresponding to the screen recording equipment and the memory occupation threshold value corresponding to the screen recording equipment; determining the real-time CPU utilization rate of the screen recording device according to the real-time CPU occupation value and the CPU occupation threshold; determining the real-time memory utilization rate of the screen recording device according to the real-time memory occupation value and the memory occupation threshold value; searching the preset configuration file according to the real-time CPU utilization rate and the real-time memory utilization rate, and acquiring preset resolution corresponding to the real-time CPU utilization rate and the real-time memory utilization rate, wherein the real-time CPU utilization rate and the preset frame rate corresponding to the real-time memory utilization rate; determining the preset resolution corresponding to the real-time display mode and the correction coefficient corresponding to the frame rate according to the real-time display mode; and determining the target resolution and the target frame rate corresponding to the preset resolution and the preset frame rate according to the correction coefficient. The real-time CPU utilization rate is real-time CPU resources occupied by running programs of the screen recording equipment; the real-time memory utilization rate is real-time memory resources occupied by the running program of the screen recording equipment; the correction coefficient is a scaling coefficient of resolution and frame rate determined according to a real-time display mode, and the correction coefficient may be a scaling coefficient corresponding to the resolution and the frame rate together or may be a scaling coefficient corresponding to the resolution and a scaling coefficient corresponding to the frame rate. For example, a preset resolution A and a preset frame rate B are obtained, when the real-time display mode is the horizontal screen display, the corresponding correction coefficient is 1, the target resolution of the horizontal screen display is A, and the target frame rate is B; when the real-time display mode is vertical screen display, the corresponding correction coefficient is C, the target resolution of the vertical screen display is AC, and the target frame rate is BC.
Step B10, determining a screen recording parameter configuration module corresponding to the real-time display mode in the preset configuration file;
step B20, acquiring a real-time CPU occupation value and a corresponding real-time memory occupation value corresponding to the screen recording equipment;
and step B30, searching a corresponding target resolution and a corresponding target frame rate in the screen recording parameter configuration module according to the real-time CPU occupation value and the real-time memory occupation value.
In this embodiment, it should be noted that, the recording parameter configuration module is a recording parameter module determined according to a display mode, and one display mode corresponds to one recording parameter configuration module.
As an example, steps B10 to B30 include: acquiring a real-time CPU occupation value and a corresponding real-time memory occupation value corresponding to the screen recording equipment according to the real-time equipment performance parameters of the screen recording equipment; searching the preset configuration file, and acquiring a CPU occupation threshold value and a memory occupation threshold value of the screen recording equipment; determining the real-time CPU utilization rate of the screen recording device according to the real-time CPU occupation value and the CPU occupation threshold; determining the real-time memory utilization rate of the screen recording device according to the real-time memory occupation value and the memory occupation threshold value; acquiring preset resolution and preset frame rate corresponding to all display modes according to the real-time CPU utilization rate and the real-time memory utilization rate, and respectively storing the preset resolution and the preset frame rate into corresponding screen recording parameter configuration modules; and searching the screen recording parameter configuration module according to the real-time display mode, and determining the target resolution and the corresponding target frame rate corresponding to the real-time display mode. For example, according to the real-time equipment performance parameters of the screen recording equipment, acquiring preset screen recording parameters ABCD, wherein A > B > C > D, and A corresponds to the real-time screen recording parameters when the real-time display mode is the screen recording parameter configuration module for the horizontal screen display; d corresponds to the real-time screen recording parameters when the real-time display mode is the screen recording parameter configuration module during the minimized display.
As an example, steps B10 to B30 include: searching a screen recording parameter configuration module corresponding to the real-time display mode in a preset configuration file according to the real-time display mode; acquiring a real-time CPU occupation value and a corresponding real-time memory occupation value corresponding to the screen recording equipment according to the real-time equipment performance parameters of the screen recording equipment; searching the preset configuration file, and acquiring a CPU occupation threshold value and a memory occupation threshold value of the screen recording equipment; determining the real-time CPU utilization rate of the screen recording device according to the real-time CPU occupation value and the CPU occupation threshold; determining the real-time memory utilization rate of the screen recording device according to the real-time memory occupation value and the memory occupation threshold value; and searching the screen recording parameter configuration module according to the real-time CPU utilization rate and the real-time memory utilization rate, and determining a target resolution and a corresponding target frame rate corresponding to the real-time display mode. For example, when the real-time display mode is the horizontal screen display, searching a screen recording parameter configuration module corresponding to the horizontal screen display, and determining screen recording parameters corresponding to the real-time equipment performance parameters of the screen recording equipment; and when the real-time display mode is the minimum display mode, searching a screen recording parameter configuration module corresponding to the minimum display mode, and determining screen recording parameters corresponding to the real-time equipment performance parameters of the screen recording equipment.
Step S30, recording the screen according to the real-time screen recording parameters to obtain a screen recording picture;
and S40, projecting the screen recording picture to the display equipment.
Illustratively, steps S30 through S40 include: recording the screen according to the target frame rate and the target resolution to obtain a screen recording picture, and sending the screen recording picture to the display equipment so that the display equipment can receive the screen recording picture and throw the screen recording picture.
Wherein, in step S40, after the step of projecting the screen recording screen onto the display device, the screen projection display method includes:
step C10, judging whether the real-time display mode of the display equipment is changed or not;
step C20, if yes, returning to execute the steps: determining real-time screen recording parameters corresponding to the screen recording equipment according to the real-time display mode; recording a screen according to the real-time screen recording parameters to obtain a screen recording picture, and projecting the screen recording picture to the display equipment;
and step C30, if not, recording according to the real-time recording parameters to obtain a recording picture, and projecting the recording picture to the display equipment.
Illustratively, steps C10 through C30 include: acquiring a real-time display mode of the display device after a screen recording picture is displayed, judging whether the real-time display mode is changed, and if so, determining a target resolution and a target frame rate corresponding to the screen recording device according to the corresponding relation between the real-time display mode and real-time screen recording parameters according to the real-time display mode; and if the real-time display mode is not changed, recording the screen according to the target resolution and the target frame rate to obtain a screen recording picture, and projecting the screen recording picture to the display equipment.
Compared with the method that screen recording equipment is used for screen recording through fixed screen recording parameters to obtain screen recording pictures in the prior art, the method for screen recording pictures to display equipment is achieved, and the real-time display mode of the display equipment is obtained; determining real-time screen recording parameters corresponding to the screen recording equipment according to the real-time display mode; recording the screen according to the real-time screen recording parameters to obtain a screen recording picture; the screen recording picture is projected to the display equipment, the screen recording parameter is dynamically adjusted according to the real-time display mode of the display equipment, so that the screen recording parameter which is matched can be always provided for the screen recording equipment, the real-time display mode can be set by a user, the real-time display mode is indicated by the user requirement, the technical defect that the screen recording equipment can not meet the user requirement at any time when the fixed screen recording parameter is adopted is overcome, and the screen projection display effect is improved.
Further, referring to fig. 4, in another embodiment of the present application, the same or similar contents as those of the first embodiment may be referred to the description above, and will not be repeated. On the basis, the embodiment of the application also provides a screen projection display method, which comprises the following steps:
Step D10, acquiring a real-time display mode corresponding to the display device, and sending the real-time display mode to a screen recording device so that the screen recording device can determine real-time screen recording parameters corresponding to the real-time display mode according to the real-time display mode, and recording a screen according to the real-time screen recording parameters to obtain a screen recording picture;
the execution body of the embodiment may be a projection transmitting end or a projection receiving end, where the projection receiving end is a device for receiving a projection, such as a television, a computer, or a projector, and in one implementation manner, the projection receiving end may also be a signal receiver connected to a display and/or a speaker, where the signal receiver may be connected to the display and/or the speaker by a wired or wireless connection, and after receiving an audio signal and an image signal of a projection, output the audio signal and the image signal received by the projection through the display and/or the speaker connected to the signal receiver; the screen projection transmitting end is a mobile device for transmitting a screen, such as a mobile phone, a computer or a tablet personal computer, and the like, the screen projection transmitting end can communicate with other mobile devices through a traditional communication network or the internet, the screen projection transmitting end and the screen projection receiving end can be connected through wires or wirelessly, in an implementation manner, the screen projection transmitting end can also be a signal transmitter connected with the mobile device, the signal transmitter and the mobile device can be connected through wires or wirelessly, and the mobile device can transmit audio signals and image signals required to be projected to the screen projection receiving end through the signal transmitter. The screen-throwing transmitting end can be screen-recording equipment or screen-recording equipment connected with the screen-throwing transmitter, and the screen-throwing receiving end can be display equipment or display equipment connected with the screen-throwing receiver.
Illustratively, step D10 includes: and acquiring a real-time display mode of the display device according to the screen area display condition of the screen throwing display area of the display device, and sending the real-time display mode to the screen recording device so that the screen recording device can determine real-time screen recording parameters corresponding to the real-time display mode according to the real-time display mode, and recording the screen according to the real-time screen recording parameters to obtain a screen recording picture.
In step D10, the step of determining the real-time display mode of the display device includes:
step E10, obtaining the screen area size of a screen throwing display area of the display equipment;
e20, if the screen area size is within a preset first size threshold range, judging that the real-time display mode of the display equipment is horizontal screen display;
and E30, if the screen area size is within the preset second size threshold range, judging that the real-time display mode of the display equipment is vertical screen display.
In this embodiment, it should be noted that, when the preset first size threshold range is a preset critical value range of a screen area size of a screen-throwing display area of the display device when the display mode of the display device is a horizontal screen display; and when the preset second size threshold range is a preset critical value range of the screen area size of the screen throwing display area of the display equipment in the vertical screen display mode.
Illustratively, steps E10 through E30 include: acquiring the screen area size of a screen throwing display area of the display device according to a screen recording picture of the screen recording device, or acquiring the screen area size of the screen throwing display area of the display device according to the screen area size data input by a user or selecting the screen area size data; if the screen area size of the screen throwing display area of the display equipment is within a preset first size threshold range, judging that the real-time display mode of the display equipment is horizontal screen display; and if the screen area size of the screen throwing display area of the display equipment is within a preset second size threshold range, judging that the real-time display mode of the display equipment is vertical screen display.
In step D10, the step of determining the real-time display mode of the display device includes:
step F10, detecting whether a screen-throwing display area of the display equipment is a display window;
f20, if yes, acquiring a window display picture in the display window;
step F30, judging whether the window display picture is matched with the screen recording picture of the screen recording equipment;
and F40, if yes, judging that the real-time display mode of the display equipment is window display.
In this embodiment, it should be noted that, the window display may be video stream data in the display window within a preset period of time after the start of the determination of whether the real-time display mode is window display, or may be display image data in the display window when the start of the determination of whether the real-time display mode is window display.
As an example, steps F10 to F40 include: detecting a screen-throwing display area of the display device, judging whether the screen-throwing display area is a display window, and if the screen-throwing display area is the display window, acquiring a window display picture in the display window; and if the screen-throwing display area is not the display window, judging that the display mode is not window display. When the window display picture is display picture data, judging whether the window display picture data is matched with the screen recording picture data of the screen recording equipment, and if so, judging that the real-time display mode of the display equipment is window display; and if the window display picture is not matched with the screen recording picture of the screen recording equipment, judging that the real-time display mode of the display equipment is not window display.
As an example, steps F10 to F40 include: detecting a screen-throwing display area of the display device, judging whether the screen-throwing display area is a display window, if so, acquiring first video stream data of a window display picture in the display window in a preset time period and second video stream data of the screen-recording device in the display window in the preset time period; and if the screen-throwing display area is not a display window, judging that the display mode is not window display. Judging whether the first video stream data is consistent with the second video stream data or not, and if the first video stream data is consistent with the second video stream data, judging that the real-time display mode of the display equipment is window display; and if the first video stream data is inconsistent with the second video stream data, judging that the real-time display mode of the display equipment is not window display.
In step D10, the step of determining the real-time display mode of the display device includes:
step G10, judging whether a display picture corresponding to the minimized state is matched with a screen throwing picture of the screen recording device or not when the screen throwing display area of the screen throwing display device is detected to be in the minimized state;
And G20, if so, judging that the real-time display mode of the display equipment is minimum display.
As an example, steps G10 to G20 include: when the screen-throwing display area of the screen-throwing display equipment is detected to be in a minimized state, acquiring display picture data corresponding to the minimized state and screen-recording picture data of the screen-recording equipment, and judging whether the display picture data and the screen-recording picture data are matched; if the display picture data are matched with the screen recording picture data, judging that the real-time display mode of the display equipment is minimum display; and if the display picture data is not matched with the screen recording picture data, judging that the real-time display mode of the display equipment is not minimized display.
As an example, steps G10 to G20 include: when the screen-throwing display area of the screen-throwing display equipment is detected to be in a minimized state, acquiring first video stream data of a display picture corresponding to the minimized state and second video stream data of a screen-recording picture of the screen-recording equipment in preset time, and judging whether the first video stream data is consistent with the second video stream data; if the first video stream data is consistent with the second video stream data, judging that the real-time display mode of the display equipment is minimum display; and if the first video stream data is inconsistent with the second video stream data, judging that the real-time display mode of the display equipment is not minimized display.
And step D20, receiving the screen recording picture sent by the screen recording equipment, and performing screen projection on the screen recording picture.
Illustratively, step D20 includes: and receiving the screen recording picture sent by the screen recording equipment, and throwing the screen recording picture in the real-time display mode.
Compared with the method that screen recording equipment is used for screen recording through fixed screen recording parameters to obtain screen recording pictures and the screen recording pictures are projected to display equipment in the prior art, the method comprises the steps that real-time display modes corresponding to the display equipment are obtained and sent to the screen recording equipment, so that the screen recording equipment can determine real-time screen recording parameters corresponding to the real-time display modes according to the real-time display modes, screen recording is conducted according to the real-time screen recording parameters, and the screen recording pictures are obtained; the screen recording picture sent by the screen recording equipment is received, and the screen recording picture is projected, so that the screen recording parameter is dynamically adjusted according to the real-time display mode of the display equipment, the screen recording parameter which is adaptive can be always provided for the screen recording equipment, the real-time display mode can be set by a user, the real-time display mode is indicated by the user requirement, the technical defect that the screen recording equipment can not meet the user requirement at any time when the fixed screen recording parameter is adopted is overcome, and the screen projection display effect is improved.
The embodiment of the application also provides a screen display device, referring to fig. 5, the screen display device includes:
a display acquisition module 10, configured to acquire a real-time display mode of the display device;
the parameter obtaining module 20 is configured to determine a real-time screen recording parameter corresponding to the screen recording device according to the real-time display mode;
the screen recording picture module 30 is used for recording a screen according to the real-time screen recording parameters to obtain a screen recording picture;
and the screen-throwing display module 40 is used for throwing the screen of the screen-recording picture to the display equipment.
Optionally, in the step of determining the real-time recording parameters corresponding to the recording device according to the real-time display mode, the parameter obtaining module 20 is further configured to:
acquiring a preset configuration file and real-time equipment performance parameters of the screen recording equipment, wherein the preset configuration file comprises an association relation between the equipment performance parameters and the screen recording parameters;
and searching corresponding real-time screen recording parameters in the preset configuration file according to the real-time display mode and the real-time equipment performance parameters.
Optionally, the real-time screen recording parameters include a target resolution and a target frame rate, the real-time device performance parameters include a real-time CPU occupation value and a real-time memory occupation value, and in the step of searching for the corresponding real-time screen recording parameters in the preset configuration file according to the real-time display mode and the real-time device performance parameters, the parameter obtaining module is further configured to:
Acquiring a real-time CPU occupation value and a corresponding real-time memory occupation value corresponding to the screen recording equipment;
searching corresponding preset resolution and corresponding preset frame rate in the preset configuration file according to the real-time CPU occupation value and the real-time memory occupation value;
and determining the target resolution corresponding to the preset resolution and the target frame rate corresponding to the preset frame rate according to the correction parameters corresponding to the real-time display mode.
Optionally, the real-time screen recording parameters include a target resolution and a target frame rate, the real-time device performance parameters include a real-time CPU occupation value and a real-time memory occupation value, and in the step of searching for the corresponding real-time screen recording parameters in the preset configuration file according to the real-time display mode and the real-time device performance parameters, the parameter obtaining module 20 is further configured to:
determining a screen recording parameter configuration module corresponding to the real-time display mode in the preset configuration file;
acquiring a real-time CPU occupation value and a corresponding real-time memory occupation value corresponding to the screen recording equipment;
and searching corresponding target resolution and corresponding target frame rate in the screen recording parameter configuration module according to the real-time CPU occupation value and the real-time memory occupation value.
Optionally, after the step of projecting the screen to the display device, the parameter obtaining module 20 is further configured to:
judging whether the real-time display mode of the display equipment is changed or not;
if yes, returning to the execution step: determining real-time screen recording parameters corresponding to the screen recording equipment according to the real-time display mode; recording a screen according to the real-time screen recording parameters to obtain a screen recording picture, and projecting the screen recording picture to the display equipment;
if not, recording the screen according to the real-time screen recording parameters to obtain a screen recording picture, and projecting the screen recording picture to the display equipment.
The screen-throwing display device provided by the invention solves the technical problem of poor screen-throwing display effect by adopting the screen-throwing display method in the embodiment. Compared with the prior art, the beneficial effects of the screen display device provided by the embodiment of the invention are the same as those of the screen display method provided by the embodiment, and other technical features of the screen display device are the same as those disclosed by the method of the embodiment, so that details are not repeated.
The embodiment of the application also provides a screen display device, referring to fig. 6, the screen display device includes:
The display acquisition module 100 is configured to acquire a real-time display mode corresponding to the display device, and send the real-time display mode to the screen recording device, so that the screen recording device determines a real-time screen recording parameter corresponding to the real-time display mode according to the real-time display mode, and performs screen recording according to the real-time screen recording parameter to obtain a screen recording picture;
and the screen projection display module 200 is used for receiving the screen recording picture sent by the screen recording equipment and projecting the screen recording picture.
Optionally, in the step of determining a real-time display manner of the display device, the display obtaining module 100 is further configured to:
acquiring the screen area size of a screen throwing display area of the display equipment;
if the screen area size is within a preset first size threshold range, judging that the real-time display mode of the display equipment is horizontal screen display;
and if the screen area size is within the preset second size threshold range, judging that the real-time display mode of the display equipment is vertical screen display.
Optionally, in the step of determining a real-time display manner of the display device, the display obtaining module 100 is further configured to:
detecting whether a screen-throwing display area of the display equipment is a display window or not;
If yes, acquiring a window display picture in the display window;
judging whether the window display picture is matched with a screen recording picture of the screen recording equipment or not;
if yes, judging that the real-time display mode of the display equipment is window display.
Optionally, in the step of determining a real-time display manner of the display device, the display obtaining module 100 is further configured to:
when the screen-throwing display area of the screen-throwing display equipment is detected to be in a minimized state, judging whether a display picture corresponding to the minimized state is matched with a screen-throwing picture of the screen-recording equipment or not;
if yes, judging that the real-time display mode of the display equipment is minimum display.
The screen-throwing display device provided by the invention solves the technical problem of poor screen-throwing display effect by adopting the screen-throwing display method in the embodiment. Compared with the prior art, the beneficial effects of the screen display device provided by the embodiment of the invention are the same as those of the screen display method provided by the embodiment, and other technical features of the screen display device are the same as those disclosed by the method of the embodiment, so that details are not repeated.
The present embodiment provides a computer-readable storage medium having computer-readable program instructions stored thereon for performing the method of on-screen display in the above-described embodiments.
The computer readable storage medium according to the embodiments of the present invention may be, for example, a usb disk, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, or device, or a combination of any of the foregoing. More specific examples of the computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In this embodiment, a computer-readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, or device. Program code embodied on a computer readable storage medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, fiber optic cables, RF (radio frequency), and the like, or any suitable combination of the foregoing.
The computer readable storage medium may be embodied in a projector; or may exist alone without being fitted into the projector.
The computer-readable storage medium carries one or more programs that, when executed by the projector, cause the projector to: acquiring a real-time display mode of display equipment; determining real-time screen recording parameters corresponding to the screen recording equipment according to the real-time display mode; recording the screen according to the real-time screen recording parameters to obtain a screen recording picture; the screen recording picture is projected to the display equipment;
or the real-time display mode corresponding to the display device is obtained and sent to the screen recording device, so that the screen recording device can determine the real-time screen recording parameters corresponding to the real-time display mode according to the real-time display mode, and screen recording is carried out according to the real-time screen recording parameters to obtain screen recording pictures; and receiving the screen recording picture sent by the screen recording equipment, and performing screen projection on the screen recording picture.
Computer program code for carrying out operations of the present disclosure may be written in one or more programming languages, including an object oriented programming language such as Java, smalltalk, C ++ and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computer (for example, through the Internet using an Internet service provider).
The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The modules described in the embodiments of the present disclosure may be implemented in software or hardware. Wherein the name of the module does not constitute a limitation of the unit itself in some cases.
The computer readable storage medium provided by the invention stores the computer readable program instructions for executing the screen projection display method, and solves the technical problem of poor screen projection display effect. Compared with the prior art, the beneficial effects of the computer readable storage medium provided by the embodiment of the invention are the same as those of the screen projection display method provided by the implementation, and are not described in detail herein.
The foregoing description is only of the preferred embodiments of the present application and is not intended to limit the scope of the claims, and all equivalent structures or equivalent processes using the descriptions and drawings of the present application, or direct or indirect application in other related technical fields are included in the scope of the claims.

Claims (9)

1. The screen projection display method is characterized by comprising the following steps of:
acquiring a real-time display mode of display equipment, wherein the real-time display mode at least comprises one of horizontal screen display, vertical screen display, window display and minimum display, and the display equipment is set by a user and is used for representing the user requirement;
determining real-time screen recording parameters corresponding to screen recording equipment according to the real-time display mode, wherein the real-time screen recording parameters comprise at least one of a first screen recording parameter, a second screen recording parameter and a third screen recording parameter, the first screen recording parameter is larger than the second screen recording parameter, the second screen recording parameter is larger than the third screen recording parameter, the first screen recording parameter is the real-time screen recording parameter corresponding to the screen recording equipment when the real-time display mode is the horizontal screen display, the second screen recording parameter is the real-time screen recording parameter corresponding to the screen recording equipment when the real-time display mode is the vertical screen display or the window display, and the third screen recording parameter is the real-time screen recording parameter corresponding to the screen recording equipment when the real-time display mode is the minimum display;
Recording the screen according to the real-time screen recording parameters to obtain a screen recording picture;
the screen recording picture is projected to the display equipment;
the step of determining the real-time screen recording parameters corresponding to the screen recording equipment according to the real-time display mode comprises the following steps:
acquiring a preset configuration file and real-time equipment performance parameters of the screen recording equipment, wherein the preset configuration file comprises an association relation between the equipment performance parameters and the screen recording parameters;
searching corresponding real-time screen recording parameters in the preset configuration file according to the real-time display mode and the real-time equipment performance parameters;
the real-time screen recording parameters comprise target resolution and target frame rate, the real-time equipment performance parameters comprise real-time CPU occupation values and real-time memory occupation values, and the step of searching the corresponding real-time screen recording parameters in the preset configuration file according to the real-time display mode and the real-time equipment performance parameters further comprises the following steps:
determining a screen recording parameter configuration module corresponding to the real-time display mode in the preset configuration file, wherein one display mode corresponds to one screen recording parameter configuration module;
acquiring a real-time CPU occupation value and a corresponding real-time memory occupation value corresponding to the screen recording equipment;
And searching corresponding target resolution and corresponding target frame rate in the screen recording parameter configuration module according to the real-time CPU occupation value and the real-time memory occupation value.
2. The method of claim 1, wherein the real-time recording parameters include a target resolution and a target frame rate, the real-time device performance parameters include a real-time CPU occupancy value and a real-time memory occupancy value, and the step of searching for the corresponding real-time recording parameters in the preset configuration file according to the real-time display mode and the real-time device performance parameters includes:
acquiring a real-time CPU occupation value and a corresponding real-time memory occupation value corresponding to the screen recording equipment;
searching corresponding preset resolution and corresponding preset frame rate in the preset configuration file according to the real-time CPU occupation value and the real-time memory occupation value;
and determining the target resolution corresponding to the preset resolution and the target frame rate corresponding to the preset frame rate according to the correction parameters corresponding to the real-time display mode.
3. The screen-projection display method according to claim 1, wherein after the step of projecting the screen-recording screen onto the display device, the screen-projection display method comprises:
Judging whether the real-time display mode of the display equipment is changed or not;
if yes, returning to the execution step: determining real-time screen recording parameters corresponding to the screen recording equipment according to the real-time display mode; recording a screen according to the real-time screen recording parameters to obtain a screen recording picture, and projecting the screen recording picture to the display equipment;
if not, recording the screen according to the real-time screen recording parameters to obtain a screen recording picture, and projecting the screen recording picture to the display equipment.
4. The screen projection display method is characterized by comprising the following steps of:
acquiring a real-time display mode corresponding to a display device, sending the real-time display mode to a screen recording device, determining real-time screen recording parameters corresponding to the real-time display mode by the screen recording device according to the real-time display mode, recording a screen according to the real-time screen recording parameters to obtain a screen recording picture, wherein the real-time display mode at least comprises one of horizontal screen display, vertical screen display, window display and minimum display, the display device is set by a user and is used for representing user requirements, the real-time screen recording parameters are obtained by inquiring a preset configuration file by the screen recording device according to the real-time display mode and the real-time device performance parameters of the screen recording device, the real-time screen recording parameters comprise at least one of a first screen recording parameter, a second screen recording parameter and a third screen recording parameter, and the first screen recording parameter is larger than the second screen recording parameter, the second screen recording parameter is larger than the third screen recording parameter, the first screen recording parameter is a real-time screen recording parameter corresponding to the screen recording device when the real-time display mode is the horizontal screen display mode, the second screen recording parameter is a real-time screen recording parameter corresponding to the screen recording device when the real-time display mode is the vertical screen display mode or the window display mode, the third screen recording parameter is a real-time screen recording parameter corresponding to the screen recording device when the real-time display mode is the minimum display mode, the preset configuration file comprises an association relation between a device performance parameter and the screen recording parameter, the real-time screen recording parameter comprises a target resolution ratio and a target frame rate, the real-time device performance parameter comprises a real-time CPU occupation value and a real-time memory occupation value, the preset configuration file comprises a screen recording parameter configuration module, one display mode corresponds to one screen recording parameter configuration module, the screen recording device is used for determining a screen recording parameter configuration module corresponding to the real-time display mode in the preset configuration file, acquiring a real-time CPU occupation value and a corresponding real-time memory occupation value corresponding to the screen recording device, and searching a corresponding target resolution and a corresponding target frame rate in the screen recording parameter configuration module according to the real-time CPU occupation value and the real-time memory occupation value;
And receiving the screen recording picture sent by the screen recording equipment, and performing screen projection on the screen recording picture.
5. The method of on-screen display of claim 4, wherein the step of determining a real-time display mode of the display device comprises:
acquiring the screen area size of a screen throwing display area of the display equipment;
if the screen area size is within a preset first size threshold range, judging that the real-time display mode of the display equipment is horizontal screen display;
and if the screen area size is within the preset second size threshold range, judging that the real-time display mode of the display equipment is vertical screen display.
6. The method of on-screen display of claim 4, wherein the step of determining a real-time display mode of the display device comprises:
detecting whether a screen-throwing display area of the display equipment is a display window or not;
if yes, acquiring a window display picture in the display window;
judging whether the window display picture is matched with a screen recording picture of the screen recording equipment or not;
if yes, judging that the real-time display mode of the display equipment is window display.
7. The method of on-screen display of claim 4, wherein the step of determining a real-time display mode of the display device comprises:
When the screen-throwing display area of the screen-throwing display equipment is detected to be in a minimized state, judging whether a display picture corresponding to the minimized state is matched with a screen-throwing picture of the screen-recording equipment or not;
if yes, judging that the real-time display mode of the display equipment is minimum display.
8. A screen projector, the screen projector comprising: the system comprises a screen throwing transmitter and a screen throwing receiver, wherein the screen throwing transmitter is used for being connected with first electronic equipment, the screen throwing receiver is used for being connected with second electronic equipment, and the screen throwing transmitter and the screen throwing receiver are used for carrying out data transmission through a wireless network; the screen projector further comprises: memory, a processor and a screen-display program stored on the memory and executable on the processor, which when executed by the processor, implements the steps of the screen-display method according to any one of claims 1 to 7.
9. A computer-readable storage medium, wherein a program for realizing the screen-projection display method is stored on the computer-readable storage medium, and the program for realizing the screen-projection display method is executed by a processor to realize the steps of the screen-projection display method according to any one of claims 1 to 7.
CN202210113589.0A 2022-01-30 2022-01-30 Screen projection display method, electronic equipment and readable storage medium Active CN114428596B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210113589.0A CN114428596B (en) 2022-01-30 2022-01-30 Screen projection display method, electronic equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210113589.0A CN114428596B (en) 2022-01-30 2022-01-30 Screen projection display method, electronic equipment and readable storage medium

Publications (2)

Publication Number Publication Date
CN114428596A CN114428596A (en) 2022-05-03
CN114428596B true CN114428596B (en) 2023-07-07

Family

ID=81313572

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210113589.0A Active CN114428596B (en) 2022-01-30 2022-01-30 Screen projection display method, electronic equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN114428596B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021212463A1 (en) * 2020-04-24 2021-10-28 海信视像科技股份有限公司 Display device and screen projection method
CN113613072A (en) * 2021-08-02 2021-11-05 海信视像科技股份有限公司 Multi-path screen projection display method and display equipment

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108024079B (en) * 2017-11-29 2021-08-03 Oppo广东移动通信有限公司 Screen recording method, device, terminal and storage medium
CN112383820B (en) * 2020-11-09 2023-03-31 深圳康佳电子科技有限公司 Method for identifying horizontal and vertical screens of screen projection equipment, storage medium and terminal equipment
CN112394896B (en) * 2020-11-18 2024-05-17 努比亚技术有限公司 Reverse screen-throwing frame rate control method, device and computer readable storage medium

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021212463A1 (en) * 2020-04-24 2021-10-28 海信视像科技股份有限公司 Display device and screen projection method
CN113613072A (en) * 2021-08-02 2021-11-05 海信视像科技股份有限公司 Multi-path screen projection display method and display equipment

Also Published As

Publication number Publication date
CN114428596A (en) 2022-05-03

Similar Documents

Publication Publication Date Title
CN109218731B (en) Screen projection method, device and system of mobile equipment
WO2022052773A1 (en) Multi-window screen projection method and electronic device
US20100216508A1 (en) Systems and Methods for Driving an External Display Device Using a Mobile Phone Device
KR20170124814A (en) Image display apparatus and operating method for the same
US20220159197A1 (en) Image special effect processing method and apparatus, and electronic device and computer readable storage medium
CN114428598A (en) Screen projection method and device, electronic equipment and storage medium
KR20220124797A (en) Method and apparatus for displaying caption information, electronic device and computer readable medium
US20220408143A1 (en) Control setting method and apparatus, electronic device and interaction system
CN114501089B (en) Screen-throwing communication method and device, electronic equipment and storage medium
US20160191841A1 (en) Display device and display method
US20080058011A1 (en) Apparatus, System and Method for Wireless Transmission for Use in Projection Display Apparatus
WO2019020112A1 (en) Terminal display method, terminal and computer-readable storage medium
CN114428596B (en) Screen projection display method, electronic equipment and readable storage medium
CN114647468B (en) Screen projection image display method and device, electronic equipment and storage medium
CN114489549B (en) Screen projection image processing method and device, electronic equipment and storage medium
CN114567809A (en) Screen projection control method and device, electronic equipment and readable storage medium
CN116248991A (en) Camera position adjustment method, camera position adjustment device, electronic equipment and computer readable medium
CN114489547A (en) Screen projection method and device, electronic equipment and readable storage medium
CN114724528B (en) Display control method and device of display device, electronic device and storage medium
CN115776590A (en) Dynamic image quality video playing method and device, electronic equipment and storage medium
US11880919B2 (en) Sticker processing method and apparatus
CN113099101A (en) Camera shooting parameter adjusting method and device and electronic equipment
CN114727011B (en) Image pickup optimization method, device, electronic equipment and readable storage medium
CN115190342B (en) Display device control method and device, electronic device and readable storage medium
CN114564168A (en) Screen projection reading method, electronic device and readable 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