CN116033066A - Method, system, computer device and readable storage medium for setting display screen - Google Patents
Method, system, computer device and readable storage medium for setting display screen Download PDFInfo
- Publication number
- CN116033066A CN116033066A CN202211683468.6A CN202211683468A CN116033066A CN 116033066 A CN116033066 A CN 116033066A CN 202211683468 A CN202211683468 A CN 202211683468A CN 116033066 A CN116033066 A CN 116033066A
- Authority
- CN
- China
- Prior art keywords
- display
- setting
- placement direction
- acceleration
- display screen
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 53
- 230000001133 acceleration Effects 0.000 claims abstract description 122
- 238000001514 detection method Methods 0.000 claims description 25
- 230000005484 gravity Effects 0.000 claims description 13
- 230000006870 function Effects 0.000 description 12
- 238000010586 diagram Methods 0.000 description 11
- 230000008569 process Effects 0.000 description 6
- 230000008859 change Effects 0.000 description 5
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 230000000007 visual effect Effects 0.000 description 3
- 239000003086 colorant Substances 0.000 description 2
- 238000004891 communication Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 238000009434 installation Methods 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 238000006243 chemical reaction Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000002085 persistent effect Effects 0.000 description 1
- 230000035945 sensitivity Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
Images
Landscapes
- User Interface Of Digital Computer (AREA)
Abstract
The application is applicable to the technical field of display equipment, and provides a setting method, a setting system, computer equipment and a readable storage medium for a display picture of the display equipment, which are used for enabling the display picture to be self-adaptive to the placement direction of the display equipment so as to carry out corresponding setting. The method mainly comprises the following steps: acquiring acceleration of the display device based on an acceleration sensor; determining the placement direction of the display equipment according to the acceleration; and setting a display picture of the display equipment according to the placement direction.
Description
Technical Field
The application belongs to the technical field of display equipment, and particularly relates to a setting method and system of a display picture applied to the display equipment, computer equipment and a readable storage medium.
Background
Display devices are commonly referred to as television terminals, computer displays, vehicle displays, large screen live displays, outdoor advertising machines, projectors, and the like. The screen of the current display device is generally rectangular, and the display device only has one installation and placement direction, and the display direction of the display picture of the screen is consistent with the placement direction, namely, the display picture also has one display direction.
However, under different use scenes, if the placement direction of one display device can be changed, and the display direction of the display screen can be automatically adapted to the placement direction of the display device, so that the display device still accords with the viewing direction of the user in the upright state in the new placement direction, and the intelligent use experience of the user on the display device can be improved. For example, when the television terminal displays a live program, the television terminal is placed in a laterally wider placement direction, and the use mode is better, but when the television terminal displays characters, for example, an application program of an electronic book installed on the television terminal displays the characters, if the placement direction of the television terminal can be changed from horizontal placement to vertical placement, the display direction of a display picture of a screen is also adaptively changed, and the television terminal is more suitable for the reading habit of people just like reading a page of vertically typeset paper.
At present, the display device does not have the functions, and if a user wants to use different types of display devices, the user can only purchase a plurality of display devices, for example, purchase a television terminal horizontally placed and purchase another display vertically placed, so that the cost of the user is increased and more using space is occupied.
Disclosure of Invention
The present application provides a method, a system, a computer device and a readable storage medium for setting a display screen, which aim to enable the display screen to be set in a corresponding manner by adapting to the arrangement direction of the display device.
In a first aspect, a method for setting a display screen provided in the present application includes:
acquiring acceleration of the display device based on an acceleration sensor;
determining the placement direction of the display equipment according to the acceleration;
and setting a display picture of the display equipment according to the placement direction.
Optionally, the acquiring the acceleration of the display device based on the acceleration sensor includes:
and acquiring the three-dimensional acceleration of the display device based on a three-axis gravity acceleration sensor.
Optionally, the determining the placement direction of the display device according to the acceleration includes:
and determining the placement direction of the display equipment according to the fact that the acceleration falls into a pre-stored threshold range.
Optionally, the setting the display screen of the display device according to the placement direction includes:
if the placement direction is the first placement direction, setting the display picture as a first display direction and setting the display picture as a first resolution;
if the placement direction is the second placement direction, setting the display picture to be the second display direction and setting the display picture to be the second resolution;
and if the placement direction is a third placement direction, setting the display picture to be in a third display direction, and setting the display picture to be in the first resolution.
Optionally, the display screen includes at least one of the following:
a startup picture, a shutdown picture and a user interface.
Optionally, before the acceleration sensor acquires the acceleration of the display device, the method further includes:
and receiving a placement direction detection instruction sent by a user.
Optionally, after the setting the display screen of the display device according to the placement direction, the method further includes:
and changing the identification data of the expansion display of the display equipment according to the placement direction.
In a second aspect, the present application provides a setting system for a display screen, including:
an acquisition module for acquiring acceleration of the display device based on an acceleration sensor;
the determining module is used for determining the placing direction of the display equipment according to the acceleration;
and the adjusting module is used for setting the display picture of the display equipment according to the placement direction.
Optionally, the determining module is further configured to:
and acquiring the three-dimensional acceleration of the display device based on a three-axis gravity acceleration sensor.
Optionally, the determining module is further configured to:
and determining the placement direction of the display equipment according to the fact that the acceleration falls into a pre-stored threshold range.
Optionally, the adjusting module is further configured to:
if the placement direction is the first placement direction, setting the display picture as a first display direction and setting the display picture as a first resolution;
if the placement direction is the second placement direction, setting the display picture to be the second display direction and setting the display picture to be the second resolution;
and if the placement direction is a third placement direction, setting the display picture to be in a third display direction, and setting the display picture to be in the first resolution.
Optionally, the display screen includes at least one of the following:
a startup picture, a shutdown picture and a user interface.
Optionally, the system further comprises:
the receiving module is used for receiving the placement direction detection instruction sent by the user.
Optionally, the system further comprises:
and the changing module is used for changing the identification data of the expansion display of the display equipment according to the placement direction.
In a third aspect, the present application provides a computer device comprising:
processor, memory, bus, input/output interface, network interface;
the processor is connected with the memory, the input/output interface and the network interface through buses;
the memory stores a program;
the processor, when executing the program stored in the memory, implements the method for setting a display screen according to any one of the foregoing first aspects.
In a fourth aspect, the present application provides a computer-readable storage medium having stored therein instructions that, when executed on a computer, cause the computer to perform the method for setting a display screen according to any one of the preceding first aspects.
The above technical solution can be seen that the embodiment of the application has the following advantages:
the setting method of the display screen provided by the embodiment of the application can be applied to the display equipment, the display equipment is provided with the acceleration sensor, the acceleration of the display equipment can be obtained based on the acceleration sensor, the acceleration sensor is provided with at least one dimension of detection direction, the display equipment always has gravity acceleration towards the inside of the planet due to the attraction of the planet, if the placement direction of the display equipment changes, the data detected by the acceleration sensor can change, so that the placement direction of the display equipment can be determined according to the acceleration, then the display screen of the display equipment is correspondingly set according to the placement direction, the technical purpose of the placement direction of the display screen self-adaptive display equipment is achieved, a user can enjoy different use scenes without purchasing a plurality of display equipment, the placement direction of the display screen can be changed, money and use space are saved for the user, and meanwhile the intelligent experience sense of the user is improved.
Drawings
FIG. 1 is a flowchart illustrating an embodiment of a method for setting a display screen according to the present application;
fig. 2 is a schematic diagram of a first display direction of a display screen provided in the present application;
fig. 3 is a schematic diagram of a second display direction of a display screen provided in the present application;
FIG. 4 is a flowchart illustrating another embodiment of a method for setting a display screen according to the present application;
fig. 5 is a schematic diagram of a third display direction of a display screen provided in the present application;
fig. 6 is a schematic diagram of a fourth display direction of a display screen provided in the present application;
FIG. 7 is a schematic structural diagram of an embodiment of a setting system for display frames of the present application;
FIG. 8 is a schematic structural diagram of another embodiment of a display screen setting system of the present application;
FIG. 9 is a schematic diagram illustrating the structure of one embodiment of a computer device of the present application;
FIG. 10 is a schematic diagram of acquiring three-dimensional acceleration according to the present application;
FIG. 11 is a second schematic diagram of the present application for acquiring three-dimensional acceleration;
fig. 12 is a schematic diagram III of the three-dimensional acceleration obtained by the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application will be further described in detail with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the present application.
The terms "first," "second," "third," "fourth" and the like in the description and in the claims of this application and in the above-described figures, if any, are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments described herein may be implemented in other sequences than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
The setting method of the display screen provided by the application can be applied to various display devices, for example: television terminals, computer displays, vehicle-mounted displays, large-screen live broadcast displays, outdoor advertising machines, projectors, and the like. The television terminal can be used for watching broadcast television programs, can be used as an external display, and can be connected with other devices in a wired mode through an HDMI (high-definition multimedia interface) as long as the corresponding interface, such as an HDMI interface, is arranged on the television terminal, for example, the television terminal is connected with a set top box, a notebook computer, a computer host and a game host to display images of pictures output by the devices, and can be connected with a mobile phone in a wireless mode to realize a screen throwing function of the mobile phone pictures, so that better visual experience is provided for users.
The application display device at least has two kinds of direction of putting, take the TV terminal as the example, its mounting means can be put on the supporter, also can hang and establish on the wall, when the TV terminal put on the supporter, the rotation axis on the supporter can support the rotation of TV terminal, the user can be in the TV terminal under the start-up or shut-down state through rotatory mode change the direction of putting, the setting method of the display screen of this application can realize the technical effect of display screen self-adaptation direction of putting, for example rotate the TV terminal 90 degrees to vertical state of putting from horizontal state of putting clockwise, then the display screen can anticlockwise rotate 90 degrees, in order to realize that the display screen keeps the mesh unanimous with the orientation of ornamental TV terminal under the people's upright state voluntarily.
In the present application, a direction approximately perpendicular to the ground is regarded as vertical, and a direction perpendicular to the vertical is horizontal on a plane of a display screen of the display device; and assuming that the screen of the display device is rectangular, assuming that the display device has two placing directions of horizontal placing and vertical placing, the long side is placed horizontally in the horizontal placing direction, and otherwise, placed vertically.
Specifically, referring to fig. 1, an embodiment of a method for setting a display screen provided in the present application includes: step 101-step 103.
101. The acceleration of the display device is acquired based on the acceleration sensor.
In order to determine the placement direction of the display device, the acceleration sensor is adopted to acquire the acceleration of the display device, and then the placement direction is determined according to the detected acceleration. The display device of the application is equipped with the acceleration sensor, the acceleration sensor can be a linear acceleration sensor and/or an angular acceleration sensor, the angular acceleration sensor can be a gyroscope, the gyroscope can be utilized to detect the included angle between the display device and three coordinate axes in a three-dimensional space, the linear acceleration sensor can detect linear acceleration in at least one dimension, the linear acceleration sensor can be a single-axis acceleration sensor, a double-axis acceleration sensor or a three-axis acceleration sensor, if extremely detection accuracy is pursued, the placement posture of the display device can be accurately known, and the angular acceleration sensor and the linear acceleration sensor can be simultaneously installed for accurately detecting the placement direction of the display device.
The step can be executed when the display equipment is started, so that the display equipment can conveniently determine the display direction of a starting picture, the display direction is consistent with the reading direction of a person in an upright state, and fine detail service experience is provided for a user; or the step can be executed after the display device is started, the starting-up picture of the display device only has one default starting-up picture, namely the starting-up picture only has one display direction, and the display direction cannot be changed along with the placement direction.
102. And determining the placement direction of the display equipment according to the acceleration.
After the acceleration of the display device is obtained, the placement direction of the display device can be determined according to the acceleration, and the principle is that the display device always has a gravity acceleration facing the interior of the earth due to the attractive force of the earth, the acceleration of the display device can be detected by using a linear acceleration sensor, if the detected acceleration is equal to the gravity acceleration, the detection direction of the acceleration sensor is a vertical direction, and the placement state of the display device can be known according to the relation between the installation direction of the acceleration sensor and the placement state of the display device.
As an example, if the display device is in a horizontal placement state, a one-dimensional acceleration sensor for detecting a vertical direction is placed inside the display device, when the one-dimensional acceleration sensor detects data similar to gravitational acceleration, the display device can be determined to be in a horizontal placement, if the display device is gradually rotated from the horizontal placement to the vertical placement at this time, a detection value is gradually reduced, and when the detection value is smaller than a certain preset value, the display device can be determined to be in the vertical placement; or, in order to improve the detection accuracy, a two-dimensional acceleration sensor capable of detecting both the horizontal direction and the vertical direction is used, and when the two-dimensional acceleration sensor detects that the detection data of a certain direction is similar to the gravitational acceleration, the direction perpendicular to the direction can be determined as the placement direction.
For another example, a three-dimensional acceleration sensor is arranged in the display device, when the three-dimensional data is read as X h ,Y h ,Z h When the display device is arranged, the arrangement direction of the display device is determined to be transverse; when the three-dimensional data is read as X v ,Y v ,Z v When the display equipment is placed vertically, the placement direction of the display equipment is determined; when the three-dimensional data is read as X r ,Y r ,Z r And determining that the placement direction of the display equipment is inverted placement.
103. And setting a display picture of the display device according to the placement direction.
Since the display device has the setting content of the display screen corresponding to each placement direction stored in advance, after determining the placement direction of the display device, the display screen can be set correspondingly, and the display screen can include: the setting items of the display picture can be display direction, display proportion, resolution, theme background and the like, wherein the display direction refers to the direction that characters and graphics displayed on the picture accord with the reading mode of a person in an upright state.
As an example, a television terminal has a horizontal placement and a vertical placement which is displayed after being rotated 90 degrees clockwise by the horizontal placement, and the setting contents of the display screen in the horizontal placement state include: the display direction is the direction with the frame 10 as the upper side, the frame 20 as the right side, the frame 30 as the lower side and the frame 40 as the left side, and the schematic diagram of the display direction can be seen from fig. 2, the display ratio is 16:9, and the resolution is 1920x1080; the setting contents of the display screen in the vertical placement state include: the display direction is the direction with the frame 10 being right, the frame 20 being down, the frame 30 being left and the frame 40 being up, and the display direction is shown in fig. 3, the display ratio is 9:16, and the resolution is 1080x1920. When a user rotates the television terminal by 90 degrees clockwise and rotates the television terminal from horizontal placement to vertical placement, the display screen can rotate by 90 degrees anticlockwise so as to keep consistent with the reading direction of a person in an upright state, a rotating special effect and the like can be added in the middle of display screen conversion, and the user's interest is increased. It should be noted that, in this example, the setting items and the numerical values listed in this example are only examples, in a specific practical application, the setting items of the display screen may be other items, the set parameters may also be selected according to a specific practical situation, the display screen may not be filled with the whole display screen, but may also be filled with other display proportions, the redundant portion on the display screen may be black or other colors, the display items may also be different desktop backgrounds used in different display directions, and the embodiment is not limited to this.
The setting method of the display screen provided by the embodiment of the application can be applied to the display equipment, the display equipment is provided with the acceleration sensor, the acceleration of the display equipment can be obtained based on the acceleration sensor, the acceleration sensor is provided with at least one dimension of detection direction, the display equipment always has gravity acceleration towards the inside of a planet due to the attraction of the planet, if the placement direction of the display equipment changes, the data detected by the acceleration sensor can change, so that the placement direction of the display equipment can be determined according to the acceleration, then the display screen of the display equipment is correspondingly set according to the placement direction, the technical purpose of the placement direction of the display screen self-adaptive display equipment is achieved, and due to the fact that the display equipment using the setting method of the display screen provided by the application has multiple placement directions, a user can enjoy different use scenes without purchasing multiple display equipment, moreover, the display screen can be changed in a self-adaptive manner, money and a use space are saved for the user, and meanwhile, the intelligent experience sense of the user is improved.
To facilitate the use of the method in a practical production process, the present application also provides an alternative implementation of a more detailed embodiment, referring to fig. 4, another embodiment provided in the present application includes: step 401-step 409.
401. And receiving a placement direction detection instruction sent by a user.
The embodiment of the present application may be applied to various display devices, and may detect the placement direction of the display device in a boot stage, that is, execute step 403, so that the display device determines the correct display direction of the boot screen, or may open the right of when to start detecting the placement direction of the display device to the user, that is, execute step 401, that is, step 401 may be selectively implemented, which is not necessarily executed.
In the function setting column of the display device, a setting item for opening and detecting the placement direction is set, and the user can send a placement direction detection instruction to the display device to control the opening of the function through a remote controller, a touch display screen, a gesture or other modes, and after the display device receives the placement direction detection instruction, step 403 can be executed.
402. And receiving an instruction for closing and detecting the placement direction sent by a user.
In the function setting column of the display device, a setting item for closing the detection setting direction is set, if the user does not need to change the display direction along with the rotation of the setting direction of the display device, an instruction for closing the detection setting direction can be sent to the display device through a remote controller, a touch display screen, a gesture or other modes, for example, under the situation that the user needs to lie down to watch the television terminal, the user can send an instruction for closing the detection setting direction to the television terminal through the remote controller, then the display device is rotated from horizontal setting to vertical setting, the display picture cannot be changed in the process, namely, the steps 403-409 are not executed, the display direction of the display picture is still unchanged, and the user can read and watch the display screen normally in the lying posture.
403. Three-dimensional acceleration of the display device is acquired based on a three-axis gravitational acceleration sensor.
Because the display device is not strictly placed in the direction perpendicular to the ground when placed, a certain elevation angle or depression angle may exist, and in order to be able to detect various placing directions, the three-axis gravity acceleration sensor is preferred to obtain three-dimensional acceleration of the display device in the embodiment of the present application, for example, a STK8321 three-axis gravity acceleration sensor chip is installed on a main board of a television terminal, the SOC main chip reads coordinate data detected by the STK8321 three-axis gravity acceleration sensor chip through an i2c interface, the read coordinate data is a three-dimensional acceleration value, and the sign represents a direction. And because the television terminal is mainly used for detecting acceleration in a static state, the detection of the placement direction of the television terminal can be satisfied by selecting the measuring range of +/-2 g, +/-3 g or +/-4 g, g represents the gravity acceleration, the detection data has signs, and the signs represent the directions.
The method for acquiring the acceleration of the display device may be a timing reading, and the time interval may be set according to specific needs, for example, the detection data of the acceleration sensor is read once every 200 ms, the shorter the time interval is, the higher the detection sensitivity is, and the three-dimensional acceleration of the television terminal can be read in real time in the process of rotating the television terminal by the user. As an example, taking the detection data of the three-dimensional acceleration read every 200 ms as an example, fig. 10, 11 and 12 can be referred to, fig. 10 is the data of the three-dimensional acceleration read by the television terminal in the transverse arrangement state, fig. 11 is the data of the three-dimensional acceleration read by the television terminal when rotated 45 degrees clockwise in the transverse arrangement state, and fig. 10 is the data of the three-dimensional acceleration read by the television terminal when rotated 90 degrees clockwise in the transverse arrangement state.
404. And determining the placement direction of the display equipment according to the range of the acceleration falling into the pre-stored threshold value.
Because the display devices are difficult to achieve a strict horizontal and vertical state in the placement process, and some display devices are installed at a certain inclination angle in order to provide a comfortable viewing angle for users in a normal placement state, in order to improve the tolerance of detection results, the placement direction of the display devices can be judged by judging whether the three-dimensional acceleration falls within a certain interval threshold range, and since the elevation angle or the depression angle of each display device in the installed state is different, the threshold range in each dimension is also required to be determined through a specific test, the tolerance can be selected, for example, three-dimensional acceleration values when the three-dimensional acceleration values incline by an included angle of +/-45 degrees with respect to the three-dimensional coordinate axis are taken as threshold boundaries, and data shown in fig. 10, 11 and 12 are taken as examples, the placement direction of the display devices is determined to be the first placement direction when X is greater than-578, Y is less than-636, and the placement direction of the display devices is determined to be the second placement direction when X is greater than-636, therefore, the threshold range is required to be described only one example, other values can be selected in practical application, for example, the three-dimensional acceleration values when the three-dimensional acceleration values incline by an included angle of +/-30 degrees is used as an included angle, the threshold value can be selected as a specific threshold value, and the threshold value can be selected not be different from the threshold values. And if the result of the read acceleration is not within any threshold value range, setting the display direction as a default direction.
After step 404, the setting direction of the display device may be determined by the acceleration falling within the pre-stored threshold range, and after the setting direction is determined, the setting content of the display screen corresponding to the setting direction may be executed. Steps 405 to 408 are setting methods for four display screens in four placement directions.
405. If the placement direction is the first placement direction, the display picture is set to be the first display direction, and the display picture is set to be the first resolution.
As an example, the first placement direction is a direction in which the frame 10 is the upper, the frame 20 is the right, the frame 30 is the lower, and the frame 40 is the left, the display screen is set to be in the same direction as the placement direction, see fig. 2, the ratio of the display screen is set to 16:9, and the resolution is set to 1920x1080.
406. If the placement direction is the second placement direction, the display picture is set to be the second display direction, and the display picture is set to be the second resolution.
As an example, the second placement direction is a direction in which the frame 10 is right, the frame 20 is down, the frame 30 is left, and the frame 40 is up, the display screen is set to be in the same direction as the placement direction, fig. 3 can be referred to, the ratio of the display screen is set to 9:16, and the resolution is set to 1080x1920. It should be noted that, in the second placement state, the user interface of the television terminal may be 9:16, when a video window is to be entered for playing, the original image quality is usually 1920x1080, so that the television terminal may adopt a scaler function, and the scaler function is a function of converting an input image from one resolution to another resolution for outputting, specifically, the resolution is changed in the original image by directly copying or deleting adjacent pixels in a row or adjacent rows between rows, and the image may generate a certain deformation, so that when the video window is entered for playing, the video window may be full-screen display, that is, a video window with a size of 9:16 is established, or the video window may be temporarily set to 16:9 of a reduced version, and the rest of the display screen is filled with black or other colors, so that video image data transmitted from a broadcasting television station may be played without deformation, or may be adjusted to other display ratios and other resolutions.
407. If the placement direction is the third placement direction, the display picture is set to be the third display direction, and the display picture is set to be the first resolution.
As an example, the first placement direction is a direction in which the frame 10 is the lower, the frame 20 is the left, the frame 30 is the upper, and the frame 40 is the right, the display screen is set to be in the same direction as the placement direction, see fig. 5, the ratio of the display screen is set to 16:9, and the resolution is set to 1920x1080.
408. If the placement direction is the fourth placement direction, the display picture is set to be the fourth display direction, and the display picture is set to be the second resolution.
As an example, the second placement direction is a direction in which the frame 10 is left, the frame 20 is up, the frame 30 is right, and the frame 40 is down, the display screen is set to be in the same direction as the placement direction, see fig. 6, the ratio of the display screen is set to 9:16, and the resolution is set to 1080x1920. And, the method for setting the frame of the video playing window when playing the video image can refer to step 406, and the repeated parts will not be described herein.
409. And changing the identification data of the expansion display of the display device according to the placement direction.
After determining the placement direction and setting the display screen accordingly, step 409 may be executed to improve the image quality of the display device when displaying the transmitted image data on the new display screen.
The display device of the embodiment of the application may be connected with other devices through an HDMI interface, a DVI interface, a DP interface or a VGA interface, so as to implement a function of performing image display on pictures transmitted by the other devices, where the other devices may be: before transmitting the pictures to the display device, other devices can actively acquire the identification data (Extended Display Identification Data, english: EDID, chinese name: extended display identification data) of the extended display of the display device through the interfaces, so as to transmit the display pictures to the display device according to the specification standard in the EDID. In order to adjust the display screen of the display device in the self-adaptive arrangement direction, the embodiment of the invention can also perform high-quality display on the screen transmitted by other devices with a new display screen, so that two sets of EDID are specially stored under each interface in the display device, one set corresponds to the first arrangement direction and the third arrangement direction, the other set corresponds to the second arrangement direction and the fourth arrangement direction, that is, after the display screen is adjusted, the EDID is also adjusted to be a new EDID under the new display screen, and the new EDID stores contents such as display proportion, maximum image size, optimal resolution, supportable various resolutions and the like of the display device under the new display screen, for example, in the first arrangement direction, when the other device transmits the screen to the display device, the resolution of the screen is adjusted to 1920x1080 first, and in the second arrangement direction, when the other device transmits the screen to the display device, the resolution of the screen is adjusted to 1080x first, and then the display device is transmitted to the display device.
After the display equipment changes the EDID according to the placement direction, other equipment connected with the display equipment can transmit the adjusted image data meeting the display requirement to the display equipment, the display equipment is not required to further process the image data, and the image quality with the most proper size and the best resolution without deformation can be played on a display screen, so that the visual viewing experience of a user is improved.
According to the setting method of the display picture, whether the permission of the setting direction detection is opened to a user, the user can select whether the self-adaptive setting direction function of the display picture is opened according to the self-use situation, the three-dimensional acceleration of the display device is accurately obtained through the three-axis gravity acceleration sensor, proper tolerance is provided, the setting direction of the display device is determined according to the fact that the acceleration falls into a pre-stored threshold range, the setting method of the display picture in four setting directions is provided, two, three or four of the four setting directions can be selected, and after the setting of the display picture is completed, the EDID of the display device is changed according to the setting directions, so that the display source end can transmit image data with the most proper specification to the display device, and the display device plays high-quality pictures in the new display direction. The display equipment using the display picture setting method has the function of adjusting the display picture in the self-adaptive arrangement direction, and can display the image with the optimal picture quality after the display picture is adjusted, so that the intelligent experience of a user and good visual experience are improved.
The foregoing embodiment describes a method for setting a display screen of the present application, and the following describes a system for setting a display screen provided in the present application, referring to fig. 7, an embodiment of the system for setting a display screen includes:
an acquisition module 701, configured to acquire an acceleration of the display device based on an acceleration sensor;
a determining module 702, configured to determine a placement direction of the display device according to the acceleration;
and the adjusting module 703 is configured to set a display screen of the display device according to the placement direction.
The operation performed by the setting system of the display screen in the embodiment of the present application is similar to the operation performed by the operation 5 in the embodiment of fig. 1, and will not be described herein.
Referring to fig. 8, another embodiment of a display setting system includes:
an acquisition module 801 for acquiring an acceleration of the display device based on an acceleration sensor;
a determining module 802, configured to determine a placement direction of the display device according to the acceleration;
and the adjusting module 803 is configured to set a display screen of the display device according to the placement direction.
0, the determining module 802 is further configured to:
and acquiring the three-dimensional acceleration of the display device based on a three-axis gravity acceleration sensor.
Optionally, the determining module 802 is further configured to:
and determining the placement direction of the display equipment according to the fact that the acceleration falls into a pre-stored threshold range.
Optionally, the adjusting module 803 is further configured to:
5 if the placement direction is the first placement direction, setting the display picture as the first display direction,
setting the display picture to a first resolution;
if the placement direction is the second placement direction, setting the display picture to be the second display direction and setting the display picture to be the second resolution;
and if the placement direction is a third placement direction, setting the display picture to be in a third display direction, and setting the display picture to be in the first resolution.
Optionally, the display screen includes at least one of the following:
a startup picture, a shutdown picture and a user interface.
Optionally, the system further comprises:
the receiving module 804 is configured to receive a placement direction detection instruction sent by a user.
5, the system further comprises:
and a changing module 805, configured to change the extended display identification data of the display device according to the placement direction.
The operation performed by the setting system of another display screen provided in the embodiment of the present application is similar to the operation performed in the embodiment of fig. 4, and will not be described herein.
Turning now to the description of the computer device of the embodiments of the present application, referring to fig. 9, one embodiment of the computer device of the embodiments of the present application includes:
the computer device 900 may include one or more processors (central processing units, CPU) 901 and memory 902, with one or more applications or data stored in the memory 902. Wherein the memory 902 is volatile storage or persistent storage. The program stored in the memory 902 may include one or more modules, each of which may include a sequence of instruction operations in a computer device. Still further, the processor 901 may be arranged to communicate with the memory 902 and execute a series of instruction operations in the memory 902 on the computer device 900. The computer device 900 may also include one or more network interfaces 903, one or more input output interfaces 904, and/or one or more operating systems, such as Windows Server, mac OS, unix, linux, freeBSD, etc. The processor 901 may perform the operations performed in the embodiments shown in fig. 1 to 4, and detailed descriptions thereof are omitted herein.
The embodiments of the present application also provide a computer storage medium for storing computer software instructions for the above-described display screen setting method, which includes a program for executing the program designed for the display screen setting method, which may be the display screen setting method as described in fig. 1 or fig. 4.
In the several embodiments provided in the embodiments of the present application, it should be understood by those skilled in the art that the disclosed systems, apparatuses and methods may be implemented in other manners. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of the units is merely a logical function division, and there may be additional divisions in actual implementation, e.g., multiple units or components may be combined or integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
In addition, each functional unit in each embodiment of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units. The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be embodied in essence or a part contributing to the prior art or all or part of the technical solution in the form of a software product stored in a storage medium, including several instructions to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods of the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a read-only memory (ROM), a random access memory (RAM, random access memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The foregoing description of the preferred embodiments of the present application is not intended to be limiting, but is intended to cover any and all modifications, equivalents, or alternatives falling within the spirit and principles of the present application.
Claims (10)
1. A setting method of a display screen, wherein the method is applied to a display device, the method comprising:
acquiring acceleration of the display device based on an acceleration sensor;
determining the placement direction of the display equipment according to the acceleration;
and setting a display picture of the display equipment according to the placement direction.
2. The method according to claim 1, wherein the acquiring the acceleration of the display device based on the acceleration sensor includes:
and acquiring the three-dimensional acceleration of the display device based on a three-axis gravity acceleration sensor.
3. The method for setting a display screen according to claim 1, wherein the determining a placement direction of the display device according to the acceleration includes:
and determining the placement direction of the display equipment according to the fact that the acceleration falls into a pre-stored threshold range.
4. The method of setting a display screen according to claim 1, wherein the setting the display screen of the display device according to the placement direction includes:
if the placement direction is the first placement direction, setting the display picture as a first display direction and setting the display picture as a first resolution;
if the placement direction is the second placement direction, setting the display picture to be the second display direction and setting the display picture to be the second resolution;
and if the placement direction is a third placement direction, setting the display picture to be in a third display direction, and setting the display picture to be in the first resolution.
5. The method of setting up a display screen according to claim 1, wherein the display screen includes at least one of:
a startup picture, a shutdown picture and a user interface.
6. The method for setting a display screen according to claim 1, wherein before the acceleration sensor acquires the acceleration of the display device, the method further comprises:
and receiving a placement direction detection instruction sent by a user.
7. The method for setting a display screen according to claim 1, wherein after the setting of the display screen of the display device according to the placement direction, the method further comprises:
and changing the identification data of the expansion display of the display equipment according to the placement direction.
8. A display setting system, comprising:
an acquisition module for acquiring acceleration of the display device based on an acceleration sensor;
the determining module is used for determining the placing direction of the display equipment according to the acceleration;
and the adjusting module is used for setting the display picture of the display equipment according to the placement direction.
9. A computer device, comprising:
processor, memory, bus, input/output interface, network interface;
the processor is connected with the memory, the input/output interface and the network interface through buses;
the memory stores a program;
the processor, when executing the program stored in the memory, implements the setting method of a display screen according to any one of claims 1 to 7.
10. A computer-readable storage medium, wherein instructions are stored in the computer-readable storage medium, which when executed on a computer, cause the computer to perform the method of setting a display screen according to any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211683468.6A CN116033066A (en) | 2022-12-27 | 2022-12-27 | Method, system, computer device and readable storage medium for setting display screen |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211683468.6A CN116033066A (en) | 2022-12-27 | 2022-12-27 | Method, system, computer device and readable storage medium for setting display screen |
Publications (1)
Publication Number | Publication Date |
---|---|
CN116033066A true CN116033066A (en) | 2023-04-28 |
Family
ID=86080641
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211683468.6A Pending CN116033066A (en) | 2022-12-27 | 2022-12-27 | Method, system, computer device and readable storage medium for setting display screen |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116033066A (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20120077356A (en) * | 2010-12-30 | 2012-07-10 | 주식회사 케이티 | Mobile terminal and method for changing display mode based on the device wobbles thereof |
CN112114765A (en) * | 2020-09-27 | 2020-12-22 | 北京小米移动软件有限公司 | Screen projection method and device and storage medium |
CN113556591A (en) * | 2020-04-24 | 2021-10-26 | 青岛海信传媒网络技术有限公司 | Display equipment and projection screen image rotation display method |
CN113630639A (en) * | 2020-05-07 | 2021-11-09 | 海信视像科技股份有限公司 | Display device |
CN114866834A (en) * | 2020-03-13 | 2022-08-05 | 海信视像科技股份有限公司 | Display device and boot animation display method |
-
2022
- 2022-12-27 CN CN202211683468.6A patent/CN116033066A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20120077356A (en) * | 2010-12-30 | 2012-07-10 | 주식회사 케이티 | Mobile terminal and method for changing display mode based on the device wobbles thereof |
CN114866834A (en) * | 2020-03-13 | 2022-08-05 | 海信视像科技股份有限公司 | Display device and boot animation display method |
CN113556591A (en) * | 2020-04-24 | 2021-10-26 | 青岛海信传媒网络技术有限公司 | Display equipment and projection screen image rotation display method |
CN113630639A (en) * | 2020-05-07 | 2021-11-09 | 海信视像科技股份有限公司 | Display device |
CN112114765A (en) * | 2020-09-27 | 2020-12-22 | 北京小米移动软件有限公司 | Screen projection method and device and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109309857B (en) | Method for adjusting output image and multi-picture display system | |
CN101499253B (en) | Output picture regulation method and apparatus | |
US9202444B2 (en) | Generating translated display image based on rotation of a display device | |
US20120050314A1 (en) | Automatic split-screen controller | |
US9196228B2 (en) | Image displaying apparatus and image displaying method | |
KR20210012863A (en) | Displaying Methods of a projected screen and Rotating Method for a projected screen for display | |
TW200919364A (en) | Image processing method and system | |
EP2075761A1 (en) | Method and device for adjusting output frame | |
CN106980510B (en) | Window self-adaption method and device of player | |
US11303871B2 (en) | Server and display apparatus, and control methods thereof | |
WO2022048424A1 (en) | Screen picture adaptive adjustment method, apparatus and device, and storage medium | |
CN105376501A (en) | Image adjusting device and image adjusting method | |
CN101110942A (en) | Remote instruction system and method | |
CN110569013B (en) | Image display method and device based on display screen | |
CN104112440A (en) | Double-frame display device and method | |
US7375729B2 (en) | Animation display apparatus and method | |
JPH06161703A (en) | Multi-display device and method for fitting flat plate type display | |
CN113474749B (en) | Screen display control method, device and system | |
CN114428597A (en) | Multi-channel terminal screen projection control method and device, screen projector and storage medium | |
US20150054838A1 (en) | Electronic apparatus and method of displaying image thereof | |
CN112199061B (en) | Display method and device | |
CN101001353A (en) | Display apparatus and control method thereof | |
CN112532962A (en) | Panoramic video subtitle display method and display equipment | |
CN116033066A (en) | Method, system, computer device and readable storage medium for setting display screen | |
US8471958B2 (en) | Method for controlling display device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |