CN115734041A - Screen picture scanning method and device, storage medium and electronic equipment - Google Patents

Screen picture scanning method and device, storage medium and electronic equipment Download PDF

Info

Publication number
CN115734041A
CN115734041A CN202111025990.0A CN202111025990A CN115734041A CN 115734041 A CN115734041 A CN 115734041A CN 202111025990 A CN202111025990 A CN 202111025990A CN 115734041 A CN115734041 A CN 115734041A
Authority
CN
China
Prior art keywords
screen
aspect ratio
target
scanning
picture
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111025990.0A
Other languages
Chinese (zh)
Inventor
冯林
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen TCL New Technology Co Ltd
Original Assignee
Shenzhen TCL New Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen TCL New Technology Co Ltd filed Critical Shenzhen TCL New Technology Co Ltd
Priority to CN202111025990.0A priority Critical patent/CN115734041A/en
Publication of CN115734041A publication Critical patent/CN115734041A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Transforming Electric Information Into Light Information (AREA)

Abstract

The embodiment of the application provides a screen picture scanning method, a screen picture scanning device, a storage medium and electronic equipment, wherein the method comprises the following steps: detecting the aspect ratio of the picture display of the target video; comparing the aspect ratio of the picture display of the target video with the aspect ratio of the screen; and if the picture display aspect ratio of the target video is not matched with the screen aspect ratio, controlling the screen to determine a target screen picture scanning area matched with the picture display aspect ratio through the first control signal and scanning the target screen picture scanning area so as to display the target video in the target screen picture scanning area. Wherein the first control signal has a picture display aspect ratio. According to the embodiment of the application, when the picture display aspect ratio of the target video to be displayed is not matched with the screen aspect ratio, the screen picture scanning area is determined again to scan the screen picture scanning area after the screen picture scanning area is determined again, and the screen picture scanning area is not scanned in a black edge inserting mode, so that the scanning time can be saved, and the refreshing rate of the screen can be improved.

Description

Screen picture scanning method and device, storage medium and electronic equipment
Technical Field
The present disclosure relates to the field of screen scanning technologies, and in particular, to a method and an apparatus for scanning a screen, a storage medium, and an electronic device.
Background
With the popularization of large-screen televisions and HDMI2.1, 16. But inserting a black edge causes the input signal delay time to increase.
In addition, in order to better display the game moving picture, the moving game picture can be displayed more smoothly by increasing the refresh rate of the television and the display device, and meanwhile, the response frequency range of the variable frame rate can be increased by the high refresh rate, so that the problems of time delay, pause, picture tearing and the like can be improved. The refresh rate of the screen cannot be increased by inserting the black border, and if a screen with a higher refresh rate and a matched signal processing chip are adopted, more expensive parts are used, and the burden of a consumer is increased.
Therefore, the prior art has defects and needs to be improved and developed.
Disclosure of Invention
The embodiment of the application provides a screen picture scanning method and device, a storage medium and an electronic device, which can save screen scanning time and further improve the refresh rate of a screen.
The embodiment of the application provides a screen picture scanning method, which comprises the following steps:
detecting the aspect ratio of the picture display of the target video;
comparing the aspect ratio of the picture display of the target video with the aspect ratio of the screen;
and if the aspect ratio of the picture display of the target video is not matched with the aspect ratio of the screen, controlling the screen to determine a target screen picture scanning area matched with the aspect ratio of the picture display through a first control signal and scanning the target screen picture scanning area so as to display the target video in the target screen picture scanning area. Wherein the first control signal carries the picture display aspect ratio.
In the method for scanning a screen image according to the embodiment of the present application, if the image display aspect ratio of the target video is greater than the screen aspect ratio, the controlling the screen to determine a target screen image scanning area matching the image display aspect ratio and perform scanning according to a first control signal includes:
controlling a scanning start line and a scanning end line of the screen adjustment screen picture scanning area through a first control signal to obtain a target screen picture scanning area;
and controlling the screen to scan in the target screen picture scanning area.
In the method for scanning a screen image according to the embodiment of the present application, if the image display aspect ratio of the target video is smaller than the screen aspect ratio, the controlling the screen to determine a target screen image scanning area matching the image display aspect ratio and perform scanning according to a first control signal includes:
controlling a scanning start column and a scanning end column of the screen adjusting screen picture scanning area through a first control signal to obtain the target screen picture scanning area;
and controlling the screen to scan in the target screen picture scanning area.
In the method for scanning a screen image according to the embodiment of the present application, if the image display aspect ratio of the target video does not match the screen aspect ratio, the controlling the screen to determine a target screen image scanning area matching the image display aspect ratio and scan the target screen image by using a first control signal includes:
and if the image display aspect ratio of the target video is not matched with the screen aspect ratio, outputting a first control signal through a time sequence control module on the mainboard to control the screen to determine a target screen image scanning area matched with the image display aspect ratio and scan.
In the method for scanning a screen image according to the embodiment of the present application, if the image display aspect ratio of the target video does not match the screen aspect ratio, the controlling the screen to determine a target screen image scanning area matching the image display aspect ratio and scan the target screen image by using a first control signal further includes:
and if the image display aspect ratio of the target video is not matched with the screen aspect ratio, outputting a first control signal through a time schedule controller to control the screen to determine a target screen image scanning area matched with the image display aspect ratio and scan.
In the method for scanning a screen image according to the embodiment of the present application, before the timing controller outputs the first control signal to control the screen to determine the target screen image scanning area matched with the image display aspect ratio and perform scanning, the method further includes:
the time sequence controller converts a video signal corresponding to the target video into a low-voltage differential signal which can be identified by the screen, and generates the first control signal based on the low-voltage differential signal.
In the method for scanning a screen image according to the embodiment of the present application, after detecting an image display aspect ratio of a target video, the method further includes:
and if the image display aspect ratio of the target video is equal to the screen aspect ratio, controlling the screen to scan based on a default scanning starting line and a default scanning ending line through a second control signal, wherein the second control signal does not carry the image display aspect ratio.
The embodiment of the present application further provides a screen image scanning device, where the device includes:
the detection module is used for detecting the aspect ratio of the picture display of the target video;
the comparison module is used for comparing the image display aspect ratio and the screen aspect ratio of the target video;
and the control module is used for controlling the screen to determine a target screen picture scanning area matched with the picture display aspect ratio and scan the target screen picture scanning area through a first control signal if the picture display aspect ratio of the target video is not matched with the screen aspect ratio so as to display the target video in the target screen picture scanning area. Wherein the first control signal carries the picture display aspect ratio.
An embodiment of the present application further provides a storage medium, where a computer program is stored in the storage medium, and when the computer program runs on a computer, the computer is enabled to execute the screen scanning method according to any of the above embodiments.
An embodiment of the present application further provides an electronic device, where the electronic device includes a processor and a memory, where a computer program is stored in the memory, and the processor is configured to execute the screen scanning method according to any of the above embodiments by calling the computer program stored in the memory.
According to the embodiment of the application, when the picture display aspect ratio of the target video to be displayed is not matched with the screen aspect ratio, the scanning area of the screen picture is determined again, namely the scanning starting line and the scanning ending line of the scanning area of the screen picture are determined again, the scanning is carried out on the scanning area of the screen picture after the determination is carried out again, and the scanning is not carried out in a mode of inserting black edges, so that the scanning time can be saved, and the refreshing rate of a screen can be improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings used in the description of the embodiments will be briefly introduced below. It is obvious that the drawings in the following description are only some embodiments of the application, and that for a person skilled in the art, other drawings can be derived from them without inventive effort.
Fig. 1 is a schematic flowchart of a screen scanning method according to an embodiment of the present disclosure.
Fig. 2 is a schematic structural diagram of a screen scanning apparatus according to an embodiment of the present application.
Fig. 3 is a schematic structural diagram of another screen scanning apparatus according to an embodiment of the present application.
Fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application. It is to be understood that the embodiments described are only a few embodiments of the present application and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without inventive step, are intended to be within the scope of the present application.
The embodiment of the application provides a screen scanning method, which can be applied to electronic equipment. The electronic device may be a display device such as a television.
Referring to fig. 1, fig. 1 is a schematic flow chart of a screen scanning method according to an embodiment of the present disclosure. The screen scanning method is applied to electronic equipment, and can comprise the following steps:
step 101, detecting the aspect ratio of the frame display of the target video.
In some embodiments, the aspect ratio of the target video is determined by detecting the video signal corresponding to the target video. The video signal has a signal format, which refers to a display scale format of the signal, and the common formats include 4. The target video signal format is 4. Therefore, the aspect ratio of the picture display of the target video can be determined by detecting the video signal corresponding to the target video.
In some embodiments, after detecting the aspect ratio of the frame display of the target video, the method further includes:
and if the image display aspect ratio of the target video is equal to the screen aspect ratio, controlling the screen to scan based on a default scanning starting line and a default scanning ending line through a second control signal, wherein the second control signal does not carry the image display aspect ratio.
Wherein the default scanning start behavior is the first line of the screen, and the default scanning end behavior is the last line of the screen. The second control signal does not have a picture display aspect ratio, that is, the screen does not need to consider the picture display aspect ratio of the target video, so that the scanning starting line and the scanning ending line of the screen do not need to be determined again, and the scanning can be directly carried out according to the default scanning starting line and the default scanning ending line. Since the picture display aspect ratio of the target video at this time is equal to the screen aspect ratio, the picture of the target video can be displayed exactly on the screen, and there is no area on the screen where the picture is not displayed.
In some embodiments, after detecting the aspect ratio of the frame display of the target video, the method further includes:
and if the image display aspect ratio of the target video is equal to the screen aspect ratio, controlling the screen to scan based on a default scanning start column and a default scanning end column through a second control signal, wherein the second control signal does not carry the image display aspect ratio.
The default scanning starting column is the first column of the screen, and the default scanning ending column is the last column of the screen. The second control signal does not have the picture display aspect ratio, namely the screen does not need to consider the picture display aspect ratio of the target video, so that the scanning start column and the scanning end column of the screen do not need to be determined again, and the scanning is directly carried out according to the default scanning start column and the default scanning end column. Since the picture display aspect ratio of the target video at this time is equal to the screen aspect ratio, the picture of the target video can be displayed exactly on the screen, and there is no area on the screen where the picture is not displayed.
And 102, comparing the aspect ratio of the picture display of the target video with the aspect ratio of the screen.
After detecting the aspect ratio of the target video, the aspect ratio of the target video needs to be compared with the aspect ratio of the target video.
Step 103, if the aspect ratio of the picture display of the target video is not matched with the aspect ratio of the screen, controlling the screen to determine a target screen picture scanning area matched with the aspect ratio of the picture display through a first control signal and scanning the target screen picture scanning area so as to display the target video in the target screen picture scanning area. Wherein the first control signal carries the picture display aspect ratio.
The aspect ratio of the picture display of the target video does not match the aspect ratio of the screen, that is, the aspect ratio of the picture display of the target video is larger or smaller than the aspect ratio of the screen. At this time, the screen needs to be controlled by the first control signal to re-determine the screen image scanning area, so that the re-determined screen image scanning area (target screen image scanning area) matches the image display aspect ratio of the target video, and then the screen is controlled to scan according to the target screen image scanning area, so that the target video is displayed in the target screen image scanning area.
The first control signal has a picture display aspect ratio, that is, the screen needs to re-determine a screen picture scanning area according to the picture display aspect ratio of the target video, and then scan according to the re-determined screen picture scanning area (target screen picture scanning area).
In some embodiments, if the aspect ratio of the target video is greater than the aspect ratio of the screen, the controlling the screen to determine a target screen image scanning area matching the aspect ratio of the screen display and scan the target screen image scanning area by the first control signal includes:
controlling a scanning start line and a scanning end line of the screen adjustment screen picture scanning area through a first control signal to obtain a target screen picture scanning area;
and controlling the screen to scan in the target screen picture scanning area.
For example, if the aspect ratio of the picture display of the target video is 21, and the aspect ratio of the screen is 16, then the screen is controlled by the first control signal to adjust the scanning start line and the scanning end line of the scanning area of the screen, that is, the scanning start line is changed from the original first line to the 281 th line, and the scanning end line is changed from the original last line (2160) to the 1880 th line, so as to obtain the target screen scanning area of the scanning start line and the scanning end line 1880 th line, and finally the screen is controlled to scan in the target screen scanning area. That is, a picture of 21.
If the screen specification is 3840 × 2160@60hz, the scan time per line is about:
line scan time t =1/60/2160 ≈ 7.7ns
21 (picture display aspect ratio of 21):
refresh rate (field frequency) f = 1/(1/2160/60 ≈ 2160-560)) ≈ 81Hz
That is, when the aspect ratio of the picture display of the target video is 21, if the optimal resolution is 3840 × 1600, the field frequency can be supported up to 81Hz, so that the over-frequency function can be realized without sacrificing the picture quality. Therefore, compared with the mode of scanning by inserting the black edge, the scheme can save the scanning time and further improve the refresh rate of the screen.
For another example, if the picture display aspect ratio of the target video is 32 and the screen aspect ratio is 16. That is, a screen of 32.
If the screen specification is 3840 × 2160@60hz, the screen supports about scan time per line:
line scan time t =1/60/2160 ≈ 7.7ns
The best resolution of a picture of 32 (picture display aspect ratio is 32):
the refresh rate (field frequency) of the signal at this time can be calculated by the following equation:
refresh rate (field frequency) f = 1/(1/2160/60 × (2160-1080)) =120Hz
That is, when the picture display aspect ratio of the target video is 32. Therefore, compared with the mode of scanning by inserting the black edge, the scheme can save the scanning time and further improve the refresh rate of the screen.
In some embodiments, if the aspect ratio of the picture display of the target video is smaller than the aspect ratio of the screen, the controlling the screen to determine and scan the target screen picture scanning area matching the aspect ratio of the picture display by the first control signal includes:
controlling a scanning start column and a scanning end column of the screen adjusting screen picture scanning area through a first control signal to obtain the target screen picture scanning area;
and controlling the screen to scan in the target screen picture scanning area.
For example, if the picture display aspect ratio of the target video is 4 and the screen aspect ratio is 16, the screen is controlled by the first control signal to adjust the scan start column and the scan end column of the scan area of the screen picture, that is, the scan start column is changed from the original first column to the 480 th column, the scan end column is changed from the original last column (3840) to the 3360 th column, so as to obtain the target screen picture scan area with the scan start column being the 480 th column and the scan end column being the 3360 th column, and finally the screen is controlled to scan in the target screen picture scan area.
In some embodiments, if the frame display aspect ratio of the target video does not match the screen aspect ratio, controlling the screen to determine a target screen frame scanning area matching the frame display aspect ratio and scan the target screen frame scanning area by using a first control signal includes:
and if the picture display aspect ratio of the target video is not matched with the screen aspect ratio, outputting a first control signal through a time sequence control module on a mainboard to control the screen to determine a target screen picture scanning area matched with the picture display aspect ratio and scan.
The electronic equipment comprises a main board, a timing controller and a timing control module, wherein the main board is provided with the timing controller, and the timing controller is used for controlling the timing of the electronic equipment. Therefore, for the electronic equipment without an independent time sequence controller, when the picture display aspect ratio of the target video is not matched with the screen aspect ratio, the time sequence control module on the mainboard outputs the first control signal to control the screen to determine the target screen picture scanning area matched with the picture display aspect ratio and scan the target screen picture scanning area.
In some embodiments, before the timing control module outputs the first control signal to control the screen to determine the target screen picture scanning area matched with the picture display aspect ratio and scan, the method further includes:
the time sequence control module converts a video signal corresponding to the target video into a low-voltage differential signal which can be identified by the screen, and generates the first control signal based on the low-voltage differential signal.
Since the screen cannot directly identify the video signal, the video signal corresponding to the target video needs to be converted into a low-voltage differential signal that can be identified by the screen through the timing control module.
In some embodiments, if the aspect ratio of the picture display of the target video does not match the aspect ratio of the screen, the controlling the screen to determine the target screen picture scanning area matching the aspect ratio of the picture display and scan the target screen picture scanning area through the first control signal further includes:
and if the image display aspect ratio of the target video is not matched with the screen aspect ratio, outputting a first control signal through a time schedule controller to control the screen to determine a target screen image scanning area matched with the image display aspect ratio and scanning.
When the image display aspect ratio of the target video is not matched with the screen aspect ratio, the screen is controlled to determine a target screen image scanning area matched with the image display aspect ratio through the first control signal output by the time sequence controller and scan.
In some embodiments, before the timing controller outputs the first control signal to control the screen to determine the target screen picture scanning area matching with the picture display aspect ratio and scan, the method further comprises:
the time sequence controller converts a video signal corresponding to the target video into a low-voltage differential signal which can be identified by the screen, and generates the first control signal based on the low-voltage differential signal.
Since the screen cannot directly recognize the video signal, the video signal corresponding to the target video needs to be converted into a low voltage differential signal that can be recognized by the screen through the timing controller.
All the above optional technical solutions may be combined arbitrarily to form optional embodiments of the present application, and are not described herein again.
In particular implementation, the present application is not limited by the execution sequence of the described steps, and some steps may be performed in other sequences or simultaneously without conflict.
As can be seen from the above, the screen image scanning method provided in the embodiment of the present application detects the image display aspect ratio of the target video; comparing the aspect ratio of the picture display of the target video with the aspect ratio of the screen; and if the aspect ratio of the picture display of the target video is not matched with the aspect ratio of the screen, controlling the screen to determine a target screen picture scanning area matched with the aspect ratio of the picture display through a first control signal and scanning the target screen picture scanning area so as to display the target video in the target screen picture scanning area. Wherein the first control signal carries the picture display aspect ratio. According to the embodiment of the application, when the picture display aspect ratio of the target video to be displayed is not matched with the screen aspect ratio, the scanning area of the screen picture is determined again, namely the scanning starting line and the scanning ending line of the scanning area of the screen picture are determined again, the scanning is carried out on the scanning area of the screen picture after the determination is carried out again, and the scanning is not carried out in a mode of inserting black edges, so that the scanning time can be saved, and the refreshing rate of a screen can be improved.
The embodiment of the application also provides a screen scanning device, and the screen scanning device can be integrated in electronic equipment. The electronic equipment comprises a television and other equipment.
Referring to fig. 2, fig. 2 is a schematic structural diagram of a screen scanning device according to an embodiment of the present disclosure. The screen scanning device 30 may include:
a detecting module 31, configured to detect a frame display aspect ratio of the target video;
a comparison module 32, configured to compare a picture display aspect ratio of the target video with a screen aspect ratio;
the control module 33 is configured to, if the picture display aspect ratio of the target video does not match the screen aspect ratio, control the screen to determine a target screen picture scanning area matching the picture display aspect ratio through a first control signal and perform scanning, so as to display the target video in the target screen picture scanning area. Wherein the first control signal carries the picture display aspect ratio.
In some embodiments, the control module 33 is configured to control a scanning start line and a scanning end line of the screen adjustment screen scanning area through a first control signal to obtain the target screen scanning area; and controlling the screen to scan in the target screen picture scanning area.
In some embodiments, the control module 33 is configured to control a scan start column and a scan end column of the screen adjustment screen scanning area through a first control signal to obtain the target screen scanning area; and controlling the screen to scan in the target screen picture scanning area.
In some embodiments, the control module 33 is configured to output a first control signal through a timing control module on the motherboard to control the screen to determine a target screen image scanning area matching the image display aspect ratio and scan the target screen image scanning area if the image display aspect ratio of the target video does not match the screen aspect ratio.
In some embodiments, the control module 33 is configured to, if the frame display aspect ratio of the target video does not match the screen aspect ratio, output a first control signal through a timing controller to control the screen to determine a target screen frame scanning area matching the frame display aspect ratio and scan the target screen frame scanning area.
In some embodiments, the control module 33 controls the screen to scan based on a default scanning start line and a default scanning end line by a second control signal if the picture display aspect ratio for the target video is equal to the screen aspect ratio, wherein the second control signal does not carry the picture display aspect ratio.
In specific implementation, the modules may be implemented as independent entities, or may be combined arbitrarily and implemented as one or several entities.
As can be seen from the above, the screen scanning device 30 provided in the embodiment of the present application detects the aspect ratio of the image display of the target video through the detection module 31; comparing the aspect ratio of the target video with the aspect ratio of the screen by a comparison module 32; if the aspect ratio of the image display of the target video is not matched with the aspect ratio of the screen, the control module 33 controls the screen to determine and scan a target screen image scanning area matched with the aspect ratio of the image display so as to display the target video in the target screen image scanning area. Wherein the first control signal carries the picture display aspect ratio. According to the embodiment of the application, when the picture display aspect ratio of the target video to be displayed is not matched with the screen aspect ratio, the scanning area of the screen picture is determined again, namely the scanning starting line and the scanning ending line of the scanning area of the screen picture are determined again, the scanning is carried out on the screen picture scanning area after the determination is carried out again, and the scanning is not carried out in a mode of inserting black edges, so that the scanning time can be saved, and the refreshing rate of a screen can be improved.
Referring to fig. 3, fig. 3 is another structural diagram of the osd scanning apparatus according to the embodiment of the present disclosure, the osd scanning apparatus 30 includes a memory 120, one or more processors 180, and one or more applications, where the one or more applications are stored in the memory 120 and configured to be executed by the processor 180; the processor 180 may include a detection module 31, a comparison module 32, and a control module 33. For example, the structures and connection relationships of the above components may be as follows:
the memory 120 may be used to store applications and data. The memory 120 stores applications containing executable code. The application programs may constitute various functional modules. The processor 180 executes various functional applications and data processing by running the application programs stored in the memory 120. Further, the memory 120 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, the memory 120 may also include a memory controller to provide the processor 180 access to the memory 120.
The processor 180 is a control center of the device, connects various parts of the entire terminal using various interfaces and lines, performs various functions of the device and processes data by running or executing an application program stored in the memory 120 and calling data stored in the memory 120, thereby monitoring the entire device. Optionally, processor 180 may include one or more processing cores; preferably, the processor 180 may integrate an application processor and a modem processor, wherein the application processor mainly processes an operating system, a user interface, an application program, and the like.
Specifically, in this embodiment, the processor 180 loads the executable code corresponding to the process of one or more application programs into the memory 120 according to the following instructions, and the processor 180 runs the application programs stored in the memory 120, thereby implementing various functions:
a detecting module 31, configured to detect a frame display aspect ratio of the target video;
a comparison module 32, configured to compare a picture display aspect ratio of the target video with a screen aspect ratio;
the control module 33 is configured to, if the picture display aspect ratio of the target video does not match the screen aspect ratio, control the screen to determine a target screen picture scanning area matching the picture display aspect ratio through a first control signal and perform scanning, so as to display the target video in the target screen picture scanning area. Wherein the first control signal carries the picture display aspect ratio.
In some embodiments, the control module 33 is configured to control a scanning start line and a scanning end line of the screen adjustment screen scanning area through a first control signal to obtain the target screen scanning area; and controlling the screen to scan in the target screen picture scanning area.
In some embodiments, the control module 33 is configured to control a scan start column and a scan end column of the screen adjustment screen scanning area through a first control signal to obtain the target screen scanning area; and controlling the screen to scan in the target screen picture scanning area.
In some embodiments, the control module 33 is configured to output a first control signal through a timing control module on the motherboard to control the screen to determine a target screen image scanning area matching the image display aspect ratio and scan the target screen image scanning area if the image display aspect ratio of the target video does not match the screen aspect ratio.
In some embodiments, the control module 33 is configured to, if the frame display aspect ratio of the target video does not match the screen aspect ratio, output a first control signal through a timing controller to control the screen to determine a target screen frame scanning area matching the frame display aspect ratio and scan the target screen frame scanning area.
In some embodiments, the control module 33 controls the screen to scan based on a default scanning start line and a default scanning end line by a second control signal if the picture display aspect ratio for the target video is equal to the screen aspect ratio, wherein the second control signal does not carry the picture display aspect ratio.
The embodiment of the application also provides the electronic equipment. The electronic device may be a display device such as a television.
Referring to fig. 4, fig. 4 is a schematic structural diagram of an electronic device provided in an embodiment of the present application, where the electronic device may be used to implement the screen scanning method provided in the foregoing embodiment. The electronic device 1200 may be a television or other display device.
As shown in fig. 4, the electronic device 1200 may include an RF (Radio Frequency) circuit 110, a memory 120 including one or more computer-readable storage media (only one shown), an input unit 130, a display unit 140, a sensor 150, an audio circuit 160, a transmission module 170, a processor 180 including one or more processing cores (only one shown), and a power supply 190. Those skilled in the art will appreciate that the configuration of the electronic device 1200 shown in FIG. 4 is not intended to be limiting of the electronic device 1200 and may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. Wherein:
the RF circuit 110 is used for receiving and transmitting electromagnetic waves, and performs interconversion between the electromagnetic waves and electrical signals, so as to communicate with a communication network or other devices. The RF circuitry 110 may include various existing circuit elements for performing these functions, such as an antenna, a radio frequency transceiver, a digital signal processor, an encryption/decryption chip, a Subscriber Identity Module (SIM) card, memory, and so forth. The RF circuitry 110 may communicate with various networks such as the internet, an intranet, a wireless network, or with other devices over a wireless network.
The memory 120 may be configured to store software programs and modules, such as program instructions/modules corresponding to the vibration adjustment method in the foregoing embodiment, and the processor 180 may execute various functional applications and data processing by running the software programs and modules stored in the memory 120, so that when the aspect ratio of the picture display of the target video to be displayed does not match the aspect ratio of the screen, the newly determined screen scanning area may be scanned by newly determining the screen scanning area, that is, the scanning start line and the scanning end line of the screen scanning area, instead of scanning by inserting a black border, so that the scanning time may be saved, and the refresh rate of the screen may be improved. Memory 120 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 120 may further include memory located remotely from the processor 180, which may be connected to the electronic device 1200 via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input unit 130 may be used to receive input numeric or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control. In particular, the input unit 130 may include a touch-sensitive surface 131 as well as other input devices 132. The touch-sensitive surface 131, also referred to as a touch display screen or a touch pad, may collect touch operations by a user on or near the touch-sensitive surface 131 (e.g., operations by a user on or near the touch-sensitive surface 131 using a finger, a stylus, or any other suitable object or attachment), and drive the corresponding connection device according to a predetermined program. Alternatively, the touch sensitive surface 131 may comprise two parts, a touch detection means and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 180, and can receive and execute commands sent by the processor 180. Additionally, the touch sensitive surface 131 may be implemented using various types of resistive, capacitive, infrared, and surface acoustic waves. In addition to the touch-sensitive surface 131, the input unit 130 may also include other input devices 132. In particular, other input devices 132 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
The display unit 140 may be used to display information input by or provided to a user and various graphical user interfaces of the electronic device 1200, which may be made up of graphics, text, icons, video, and any combination thereof. The Display unit 140 may include a Display panel 141, and optionally, the Display panel 141 may be configured in the form of an LCD (Liquid Crystal Display), an OLED (Organic Light-Emitting Diode), or the like. Further, touch sensitive surface 131 may overlay display panel 141, and when touch operation is detected on or near touch sensitive surface 131, the touch operation is transmitted to processor 180 to determine the type of touch event, and then processor 180 provides a corresponding visual output on display panel 141 according to the type of touch event. Although in FIG. 4, touch-sensitive surface 131 and display panel 141 are shown as two separate components to implement input and output functions, in some embodiments, touch-sensitive surface 131 may be integrated with display panel 141 to implement input and output functions.
The electronic device 1200 may also include at least one sensor 150, 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 panel 141 according to the brightness of ambient light, and a proximity sensor that may turn off the display panel 141 and/or the backlight when the electronic device 1200 is moved to the ear. As one of the motion sensors, the gravity acceleration sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when the mobile phone is stationary, and can be used for applications of recognizing the posture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor that may be configured in the electronic device 1200, further description is omitted here.
Audio circuitry 160, speaker 161, and microphone 162 may provide an audio interface between a user and electronic device 1200. The audio circuit 160 may transmit the electrical signal converted from the received audio data to the speaker 161, and convert the electrical signal into a sound signal for output by the speaker 161; on the other hand, the microphone 162 converts the collected sound signal into an electric signal, converts the electric signal into audio data after being received by the audio circuit 160, and then outputs the audio data to the processor 180 for processing, and then to the RF circuit 110 to be transmitted to, for example, another terminal, or outputs the audio data to the memory 120 for further processing. The audio circuitry 160 may also include an earbud jack to provide communication of peripheral headphones with the electronic device 1200.
The electronic device 1200, via the transport module 170 (e.g., a Wi-Fi module), may assist a user in emailing, browsing web pages, accessing streaming media, etc., which provides the user with wireless broadband internet access. Although fig. 4 shows the transmission module 170, it is understood that it does not belong to the essential constitution of the electronic device 1200, and may be omitted entirely as needed within a range not changing the essence of the invention.
The processor 180 is a control center of the electronic device 1200, connects various parts of the entire mobile phone using various interfaces and lines, and performs various functions of the electronic device 1200 and processes data by operating or executing software programs and/or modules stored in the memory 120 and calling data stored in the memory 120, thereby performing overall monitoring of the mobile phone. Optionally, processor 180 may include one or more processing cores; in some embodiments, the processor 180 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 180.
The electronic device 1200 also includes a power supply 190 (e.g., a battery) that powers the various components, and in some embodiments, may be logically coupled to the processor 180 via a power management system to manage charging, discharging, and power consumption management functions via the power management system. The power supply 190 may also include any component including one or more of a dc or ac power source, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and the like.
Although not shown, the electronic device 1200 may further include a camera (e.g., a front camera, a rear camera), a bluetooth module, and the like, which are not described in detail herein. Specifically in this embodiment, the display unit 140 of the electronic device 1200 is a touch screen display, the electronic device 1200 further comprises a memory 120, and one or more programs, wherein the one or more programs are stored in the memory 120, and the one or more programs are configured to be executed by the one or more processors 180 and comprise instructions for:
detecting the aspect ratio of the picture display of the target video;
comparing the aspect ratio of the picture display of the target video with the aspect ratio of the screen;
and if the aspect ratio of the picture display of the target video is not matched with the aspect ratio of the screen, controlling the screen to determine a target screen picture scanning area matched with the aspect ratio of the picture display through a first control signal and scanning the target screen picture scanning area so as to display the target video in the target screen picture scanning area. Wherein the first control signal carries the picture display aspect ratio.
In some embodiments, the processor 180 is configured to control the screen to determine a target screen picture scanning area matching the picture display aspect ratio and scan the target screen picture if the picture display aspect ratio of the target video is greater than the screen aspect ratio through the first control signal, and includes:
controlling a scanning starting line and a scanning ending line of the screen adjustment screen picture scanning area through a first control signal to obtain the target screen picture scanning area;
and controlling the screen to scan in the target screen picture scanning area.
In some embodiments, the processor 180 is configured to control the screen to determine and scan a target screen picture scanning area matching the picture display aspect ratio through the first control signal if the picture display aspect ratio of the target video is smaller than the screen aspect ratio, and includes:
controlling a scanning start column and a scanning end column of the screen adjusting screen picture scanning area through a first control signal to obtain the target screen picture scanning area;
and controlling the screen to scan in the target screen picture scanning area.
In some embodiments, the processor 180 is configured to control the screen to determine a target screen picture scanning area matching the picture display aspect ratio and scan the target screen picture scanning area through a first control signal if the picture display aspect ratio of the target video does not match the screen aspect ratio, and includes:
and if the image display aspect ratio of the target video is not matched with the screen aspect ratio, outputting a first control signal through a time sequence control module on the mainboard to control the screen to determine a target screen image scanning area matched with the image display aspect ratio and scan.
In some embodiments, the processor 180 is configured to control the screen to determine a target screen picture scanning area matching the screen display aspect ratio and scan the target screen picture scanning area through the first control signal if the screen display aspect ratio of the target video does not match the screen aspect ratio, and further includes:
and if the image display aspect ratio of the target video is not matched with the screen aspect ratio, outputting a first control signal through a time schedule controller to control the screen to determine a target screen image scanning area matched with the image display aspect ratio and scanning.
In some embodiments, before the timing controller outputs the first control signal to control the screen to determine and scan the target screen picture scanning area matching the picture display aspect ratio, the processor 180 further includes:
the time sequence controller converts a video signal corresponding to the target video into a low-voltage differential signal which can be identified by the screen, and generates the first control signal based on the low-voltage differential signal.
In some embodiments, after the detecting the aspect ratio of the frame display of the target video, the processor 180 further includes:
and if the picture display aspect ratio of the target video is equal to the screen aspect ratio, controlling the screen to scan based on a default scanning starting line and a default scanning ending line through a second control signal, wherein the second control signal does not carry the picture display aspect ratio.
As can be seen from the above, an embodiment of the present application provides an electronic device 1200, where the electronic device 1200 executes the following steps: detecting the aspect ratio of the picture display of the target video; comparing the aspect ratio of the picture display of the target video with the aspect ratio of the screen; and if the aspect ratio of the picture display of the target video is not matched with the aspect ratio of the screen, controlling the screen to determine a target screen picture scanning area matched with the aspect ratio of the picture display through a first control signal and scanning the target screen picture scanning area so as to display the target video in the target screen picture scanning area. Wherein the first control signal carries the picture display aspect ratio. According to the embodiment of the application, when the picture display aspect ratio of the target video to be displayed is not matched with the screen aspect ratio, the scanning area of the screen picture is determined again, namely the scanning starting line and the scanning ending line of the scanning area of the screen picture are determined again, the scanning is carried out on the scanning area of the screen picture after the determination is carried out again, and the scanning is not carried out in a mode of inserting black edges, so that the scanning time can be saved, and the refreshing rate of a screen can be improved.
An embodiment of the present application further provides a storage medium, where a computer program is stored in the storage medium, and when the computer program runs on a computer, the computer executes the screen scanning method according to any of the above embodiments.
It should be noted that, for the screen scanning method described in this application, it can be understood by those skilled in the art that all or part of the process of implementing the screen scanning method described in this application may be implemented by controlling related hardware through a computer program, where the computer program may be stored in a computer readable storage medium, such as a memory of an electronic device, and executed by at least one processor in the electronic device, and during the execution, the process of implementing the embodiment of the vibration adjusting method may be included as described above. The storage medium may be a magnetic disk, an optical disk, a Read Only Memory (ROM), a Random Access Memory (RAM), or the like.
In the vibration adjustment apparatus according to the embodiment of the present application, each functional module may be integrated into one processing chip, or each module may exist alone physically, or two or more modules are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may also be stored in a computer readable storage medium, such as a read-only memory, a magnetic or optical disk, or the like.
The screen image scanning method, the screen image scanning device, the storage medium, and the electronic device provided in the embodiments of the present application are described in detail above. The principle and the implementation of the present application are explained herein by applying specific examples, and the above description of the embodiments is only used to help understand the method and the core idea of the present application; meanwhile, for those skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (10)

1. A method for screen scanning, the method comprising:
detecting the aspect ratio of the picture display of the target video;
comparing the aspect ratio of the picture display of the target video with the aspect ratio of the screen;
and if the picture display aspect ratio of the target video is not matched with the screen aspect ratio, controlling the screen to determine a target screen picture scanning area matched with the picture display aspect ratio through a first control signal and scanning the target screen picture scanning area so as to display the target video in the target screen picture scanning area. Wherein the first control signal carries the picture display aspect ratio.
2. The method of claim 1, wherein if the aspect ratio of the target video is greater than the aspect ratio, the controlling the screen to determine a target aspect scanning area matching the aspect ratio and scan by the first control signal comprises:
controlling a scanning starting line and a scanning ending line of the screen adjustment screen picture scanning area through a first control signal to obtain the target screen picture scanning area;
and controlling the screen to scan in the target screen picture scanning area.
3. The method for scanning a screen of claim 1, wherein if the aspect ratio of the target video is smaller than the aspect ratio, the controlling the screen to determine a target screen scanning area matching the aspect ratio of the target video and scan the target screen by the first control signal comprises:
controlling a scanning start column and a scanning end column of the screen adjusting screen picture scanning area through a first control signal to obtain the target screen picture scanning area;
and controlling the screen to scan in the target screen picture scanning area.
4. The method as claimed in claim 1, wherein if the aspect ratio of the target video does not match the aspect ratio, the controlling the screen to determine the target screen scanning area matching the aspect ratio and scan the target screen by the first control signal comprises:
and if the image display aspect ratio of the target video is not matched with the screen aspect ratio, outputting a first control signal through a time sequence control module on the mainboard to control the screen to determine a target screen image scanning area matched with the image display aspect ratio and scan.
5. The method of claim 1, wherein if the aspect ratio of the target video does not match the aspect ratio of the target video, the screen is controlled by a first control signal to determine a target aspect scanning area matching the aspect ratio of the target video and scan the target aspect scanning area, further comprising:
and if the image display aspect ratio of the target video is not matched with the screen aspect ratio, outputting a first control signal through a time schedule controller to control the screen to determine a target screen image scanning area matched with the image display aspect ratio and scanning.
6. The method of claim 5, wherein before the timing controller outputting the first control signal to control the screen to determine and scan a target screenshot scan region matching the frame display aspect ratio, further comprising:
the time schedule controller converts a video signal corresponding to the target video into a low-voltage differential signal which can be identified by the screen, and generates the first control signal based on the low-voltage differential signal.
7. The method of claim 1, wherein after detecting the aspect ratio of the target video, further comprising:
and if the picture display aspect ratio of the target video is equal to the screen aspect ratio, controlling the screen to scan based on a default scanning starting line and a default scanning ending line through a second control signal, wherein the second control signal does not carry the picture display aspect ratio.
8. A screen scanning apparatus, comprising:
the detection module is used for detecting the aspect ratio of the picture display of the target video;
the comparison module is used for comparing the image display aspect ratio and the screen aspect ratio of the target video;
and the control module is used for controlling the screen to determine a target screen picture scanning area matched with the picture display aspect ratio and scan the target screen picture scanning area through a first control signal if the picture display aspect ratio of the target video is not matched with the screen aspect ratio so as to display the target video in the target screen picture scanning area. Wherein the first control signal carries the picture display aspect ratio.
9. A storage medium having stored therein a computer program which, when run on a computer, causes the computer to execute the screen scanning method of any one of claims 1 to 7.
10. An electronic device, comprising a processor and a memory, wherein the memory stores a computer program, and the processor is configured to execute the screen scanning method according to any one of claims 1 to 7 by calling the computer program stored in the memory.
CN202111025990.0A 2021-09-02 2021-09-02 Screen picture scanning method and device, storage medium and electronic equipment Pending CN115734041A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111025990.0A CN115734041A (en) 2021-09-02 2021-09-02 Screen picture scanning method and device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111025990.0A CN115734041A (en) 2021-09-02 2021-09-02 Screen picture scanning method and device, storage medium and electronic equipment

Publications (1)

Publication Number Publication Date
CN115734041A true CN115734041A (en) 2023-03-03

Family

ID=85292275

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111025990.0A Pending CN115734041A (en) 2021-09-02 2021-09-02 Screen picture scanning method and device, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN115734041A (en)

Similar Documents

Publication Publication Date Title
US11243653B2 (en) Method for display control and mobile terminal
JP7541091B2 (en) Application sharing method, electronic device and computer-readable storage medium
CN108551636B (en) Loudspeaker control method and mobile terminal
US20220286503A1 (en) Synchronization method and electronic device
CN109240577B (en) Screen capturing method and terminal
CN111897480B (en) Playing progress adjusting method and device and electronic equipment
CN108334272B (en) Control method and mobile terminal
US20230291827A1 (en) Screen state control method and apparatus, and storage medium
US11165950B2 (en) Method and apparatus for shooting video, and storage medium
CN109683764B (en) Icon management method and terminal
CN108108113B (en) Webpage switching method and device
US20210127279A1 (en) Method of controlling radio resource management measurement of neighboring cell, mobile communication terminal, and network side device
CN111147919A (en) Play adjustment method, electronic equipment and computer readable storage medium
US20220132250A1 (en) Mobile Terminal and Control Method
CA3092598A1 (en) Display method and mobile terminal
CN109144393B (en) Image display method and mobile terminal
CN111078186A (en) Playing method and electronic equipment
CN109597546B (en) Icon processing method and terminal equipment
CN108229423B (en) Fingerprint identification scanning method and mobile terminal
CN110809186B (en) Video processing method and electronic equipment
CN110456959B (en) Terminal control method and terminal
CN109067429B (en) Control method and terminal equipment
CN111352558A (en) Application program switching method and electronic equipment
CN111368238A (en) Status bar adjusting method and device, mobile terminal and storage medium
CN111443968A (en) Screenshot method and electronic equipment

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