CN116033066A - Display screen setting method, system, computer equipment and readable storage medium - Google Patents
Display screen setting method, system, computer equipment and readable storage medium 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
- display screen
- display device
- setting
- placement direction
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 54
- 230000001133 acceleration Effects 0.000 claims abstract description 119
- 238000001514 detection method Methods 0.000 claims description 28
- 230000005484 gravity Effects 0.000 claims description 15
- 238000010586 diagram Methods 0.000 description 13
- 230000006870 function Effects 0.000 description 13
- 230000008859 change Effects 0.000 description 8
- 230000008569 process Effects 0.000 description 4
- 230000003044 adaptive effect Effects 0.000 description 3
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000009434 installation Methods 0.000 description 3
- 238000012545 processing 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
- 238000002474 experimental method Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000002085 persistent effect Effects 0.000 description 1
- 238000010187 selection method Methods 0.000 description 1
- 230000035945 sensitivity Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
Images
Landscapes
- User Interface Of Digital Computer (AREA)
Abstract
Description
技术领域technical field
本申请属于显示设备技术领域,尤其涉及应用于显示设备的显示画面的设置方法、系统、计算机设备及可读存储介质。The present application belongs to the technical field of display devices, and in particular relates to a setting method, a system, a computer device and a readable storage medium applied to a display screen of a display device.
背景技术Background technique
显示设备通常指电视终端、电脑显示器、车载显示器、大屏幕直播显示器、户外广告机、投影仪等。目前的显示设备的屏幕通常为长方形,且显示设备只具有一种安装摆放方向,其屏幕的显示画面的显示方向与其摆放方向一致,即显示画面也只有一种显示方向。Display devices usually refer to TV terminals, computer monitors, vehicle monitors, large-screen live broadcast monitors, outdoor advertising machines, projectors, etc. The screen of the current display device is usually rectangular, and the display device has only one installation direction, and the display direction of the display screen on the screen is consistent with the display direction, that is, the display screen has only one display direction.
但在不同的使用场景下,若一台显示设备的摆放方向是可以改变的,且显示画面的显示方向也能够自动适应显示设备的摆放方向,使显示设备在新的摆放方向下,依然符合用户直立状态时的观赏方向,会提升用户对显示设备的智能使用体验感。例如,电视终端显示直播节目时,以横向较宽的摆放方向来摆放电视终端,此种使用方式是较佳的,但在电视终端显示文字的场景下,例如对其上安装的电子书的应用程序进行文字显示时,若电视终端的摆放方向能够从横向摆放变为竖向摆放,屏幕的显示画面的显示方向也做适应性改变,就像阅读一页竖向排版的纸张一样,会更符合人们的阅读习惯。However, in different usage scenarios, if the placement direction of a display device can be changed, and the display direction of the display screen can also automatically adapt to the placement direction of the display device, so that the display device is placed in the new direction, It still conforms to the viewing direction of the user in the upright state, and will enhance the user's sense of intelligent use experience of the display device. For example, when a TV terminal displays live programs, it is better to place the TV terminal in a horizontally wider orientation. When displaying text in the application program, if the orientation of the TV terminal can be changed from horizontal orientation to vertical orientation, the display orientation of the screen display screen will also be adaptively changed, just like reading a page of vertically typesetting paper The same, it will be more in line with people's reading habits.
目前,显示设备还不具备上述功能,若用户想使用不同形态的显示设备,一般只能通过购买多台显示设备来实现,例如购买一台横向摆放的电视终端,再购买另一台竖向摆放的显示器,如此便会增加用户的开销,还会占据更多的使用空间。At present, display devices do not have the above functions. If users want to use different forms of display devices, they can only achieve it by purchasing multiple display devices, for example, buying a TV terminal that is placed horizontally, and then buying another one that is vertically placed. The placed display will increase the user's overhead and occupy more space.
发明内容Contents of the invention
本申请的目的在于提供一种显示画面的设置方法、系统、计算机设备及可读存储介质,旨在使显示画面能够自适应显示设备的摆放方向而进行相应的设置。The purpose of this application is to provide a display screen setting method, system, computer equipment and readable storage medium, aiming at enabling the display screen to adapt to the placement direction of the display device and perform corresponding settings.
第一方面,本申请提供的一种显示画面的设置方法,包括:In the first aspect, the present application provides a display screen setting method, including:
基于加速度传感器获取所述显示设备的加速度;acquiring the acceleration of the display device based on an acceleration sensor;
根据所述加速度确定所述显示设备的摆放方向;determining a placement direction of the display device according to the acceleration;
根据所述摆放方向设置所述显示设备的显示画面。The display screen of the display device is set according to the placement direction.
可选的,所述基于加速度传感器获取所述显示设备的加速度包括:Optionally, the obtaining the acceleration of the display device based on an acceleration sensor includes:
基于三轴重力加速度传感器获取所述显示设备的三维加速度。The three-dimensional acceleration of the display device is acquired based on a three-axis gravity acceleration sensor.
可选的,所述根据所述加速度确定所述显示设备的摆放方向包括:Optionally, the determining the placement direction of the display device according to the acceleration includes:
根据所述加速度落入预存的阈值范围确定所述显示设备的所述摆放方向。The placement direction of the display device is determined according to the acceleration falling within a prestored threshold range.
可选的,所述根据所述摆放方向设置所述显示设备的显示画面包括:Optionally, setting the display screen of the display device according to the placement direction includes:
若所述摆放方向为第一摆放方向,则将所述显示画面设置为第一显示方向,并将所述显示画面设置为第一分辨率;If the placement direction is the first placement direction, then setting the display screen as the first display direction, and setting the display screen as the first resolution;
若所述摆放方向为第二摆放方向,则将所述显示画面设置为第二显示方向,并将所述显示画面设置为第二分辨率;If the placement direction is the second placement direction, then setting the display screen as the second display direction, and setting the display screen as the second resolution;
若所述摆放方向为第三摆放方向,则将所述显示画面设置为第三显示方向,并将所述显示画面设置为所述第一分辨率。If the placement direction is the third placement direction, the display screen is set to the third display direction, and the display screen is set to the first resolution.
可选的,所述显示画面至少包括以下画面中的一种:Optionally, the display screen includes at least one of the following screens:
开机画面、关机画面和用户界面。Startup screen, shutdown screen and user interface.
可选的,所述基于加速度传感器获取所述显示设备的加速度之前,所述方法还包括:Optionally, before acquiring the acceleration of the display device based on the acceleration sensor, the method further includes:
接收用户发送的摆放方向检测指令。Receive the placement direction detection instruction sent by the user.
可选的,所述根据所述摆放方向设置所述显示设备的显示画面之后,所述方法还包括:Optionally, after setting the display screen of the display device according to the placement direction, the method further includes:
根据所述摆放方向更改所述显示设备的扩展显示器识别数据。Changing the extended display identification data of the display device according to the placement direction.
第二方面,本申请提供的一种显示画面的设置系统,包括:In the second aspect, the present application provides a display screen setting system, including:
获取模块,用于基于加速度传感器获取所述显示设备的加速度;An acquisition module, configured to acquire the acceleration of the display device based on an acceleration sensor;
确定模块,用于根据所述加速度确定所述显示设备的摆放方向;A determining module, configured to determine the placement direction of the display device according to the acceleration;
调整模块,用于根据所述摆放方向设置所述显示设备的显示画面。An adjustment module, configured to set the display screen of the display device according to the placement direction.
可选的,所述确定模块还用于:Optionally, the determining module is also used for:
基于三轴重力加速度传感器获取所述显示设备的三维加速度。The three-dimensional acceleration of the display device is acquired based on a three-axis gravity acceleration sensor.
可选的,所述确定模块还用于:Optionally, the determining module is also used for:
根据所述加速度落入预存的阈值范围确定所述显示设备的所述摆放方向。The placement direction of the display device is determined according to the acceleration falling within a prestored threshold range.
可选的,所述调整模块还用于:Optionally, the adjustment module is also used for:
若所述摆放方向为第一摆放方向,则将所述显示画面设置为第一显示方向,并将所述显示画面设置为第一分辨率;If the placement direction is the first placement direction, then setting the display screen as the first display direction, and setting the display screen as the first resolution;
若所述摆放方向为第二摆放方向,则将所述显示画面设置为第二显示方向,并将所述显示画面设置为第二分辨率;If the placement direction is the second placement direction, then setting the display screen as the second display direction, and setting the display screen as the second resolution;
若所述摆放方向为第三摆放方向,则将所述显示画面设置为第三显示方向,并将所述显示画面设置为所述第一分辨率。If the placement direction is the third placement direction, the display screen is set to the third display direction, and the display screen is set to the first resolution.
可选的,所述显示画面至少包括以下画面中的一种:Optionally, the display screen includes at least one of the following screens:
开机画面、关机画面和用户界面。Startup screen, shutdown screen and user interface.
可选的,所述系统还包括:Optionally, the system also includes:
接收模块,用于接收用户发送的摆放方向检测指令。The receiving module is configured to receive the placement direction detection instruction sent by the user.
可选的,所述系统还包括:Optionally, the system also includes:
更改模块,用于根据所述摆放方向更改所述显示设备的扩展显示器识别数据。A changing module, configured to change the extended display identification data of the display device according to the placement direction.
第三方面,本申请提供一种计算机设备,包括:In a third aspect, the present application provides a computer device, including:
处理器、存储器、总线、输入输出接口、网络接口;Processor, memory, bus, input and output interface, network interface;
所述处理器通过总线与所述存储器、所述输入输出接口、所述网络接口;The processor interfaces with the memory, the input and output interface, and the network through a bus;
所述存储器中存储有程序;a program is stored in the memory;
所述处理器执行所述存储器中存储的所述程序时,实现如前述第一方面中任意一项所述的显示画面的设置方法。When the processor executes the program stored in the memory, the method for setting a display screen according to any one of the aforementioned first aspect is realized.
第四方面,本申请提供一种计算机可读存储介质,所述计算机可读存储介质中存储有指令,所述指令在计算机上执行时,使得所述计算机执行如前述第一方面中任意一项所述的显示画面的设置方法。In a fourth aspect, the present application provides a computer-readable storage medium, where instructions are stored in the computer-readable storage medium, and when the instructions are executed on a computer, the computer executes any one of the above-mentioned first aspects. The setting method of the display screen described above.
以上技术方案可以看出,本申请实施例具有以下优点:It can be seen from the above technical solutions that the embodiments of the present application have the following advantages:
本申请实施例提供的显示画面的设置方法可应用于显示设备,显示设备配有加速度传感器,可基于加速度传感器获取显示设备的加速度,加速度传感器至少具备一个维度的检测方向,由于星球引力使得显示设备始终具有朝向星球内部的重力加速,若显示设备的摆放方向发生改变,加速度传感器检测的数据会跟着变化,因此可根据加速度确定显示设备的摆放方向,继而根据摆放方向对显示设备的显示画面进行相应的设置,达到显示画面自适应显示设备的摆放方向的技术目的,使得用户无需购买多台显示设备即可享受到不同的使用场景,而且显示画面可以自适应显示设备的摆放方向而做出改变,在为用户节约金钱和使用空间的同时,提升用户的智能体验感。The display screen setting method provided by the embodiment of the present application can be applied to the display device. The display device is equipped with an acceleration sensor, and the acceleration of the display device can be obtained based on the acceleration sensor. The acceleration sensor has at least one dimension of detection direction. Due to the gravity of the planet, the display device There is always a gravitational acceleration towards the interior of the planet. If the orientation of the display device changes, the data detected by the acceleration sensor will change accordingly. Therefore, the orientation of the display device can be determined according to the acceleration, and then the display of the display device can be displayed according to the orientation. The screen is set accordingly to achieve the technical purpose of the display screen adapting to the placement direction of the display device, so that users can enjoy different usage scenarios without purchasing multiple display devices, and the display screen can adapt to the placement direction of the display device And make changes to improve the user's sense of smart experience while saving money and space for users.
附图说明Description of drawings
图1为本申请显示画面的设置方法的一个实施例流程示意图;Fig. 1 is a schematic flow chart of an embodiment of the setting method of the display screen of the present application;
图2为本申请提供的显示画面的第一种显示方向的示意图;FIG. 2 is a schematic diagram of the first display direction of the display screen provided by the present application;
图3为本申请提供的显示画面的第二种显示方向的示意图;Fig. 3 is a schematic diagram of the second display direction of the display screen provided by the present application;
图4为本申请显示画面的设置方法的另一个实施例流程示意图;FIG. 4 is a schematic flow diagram of another embodiment of the method for setting the display screen of the present application;
图5为本申请提供的显示画面的第三种显示方向的示意图;FIG. 5 is a schematic diagram of a third display direction of the display screen provided by the present application;
图6为本申请提供的显示画面的第四种显示方向的示意图;FIG. 6 is a schematic diagram of a fourth display direction of the display screen provided by the present application;
图7为本申请显示画面的设置系统的一个实施例结构示意图;Fig. 7 is a schematic structural diagram of an embodiment of the setting system of the display screen of the present application;
图8为本申请显示画面的设置系统的另一个实施例结构示意图;Fig. 8 is a schematic structural diagram of another embodiment of the setting system of the display screen of the present application;
图9为本申请计算机设备的一个实施例结构示意图;Fig. 9 is a schematic structural diagram of an embodiment of the computer equipment of the present application;
图10为本申请获取三维加速度的示意图一;Fig. 10 is a schematic diagram 1 of obtaining three-dimensional acceleration in the present application;
图11为本申请获取三维加速度的示意图二;Fig. 11 is a schematic diagram 2 of obtaining three-dimensional acceleration in the present application;
图12为本申请获取三维加速度的示意图三。FIG. 12 is the third schematic diagram of obtaining three-dimensional acceleration in this application.
具体实施方式Detailed ways
为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。In order to make the purpose, technical solution and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present application, and are not intended to limit the present application.
本申请的说明书和权利要求书及上述附图中的术语“第一”、“第二”、“第三”、“第四”等(如果存在)是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的实施例能够以除了在这里图示或描述的内容以外的顺序实施。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。The terms "first", "second", "third", "fourth", etc. (if any) in the specification and claims of the present application and the above drawings are used to distinguish similar objects, and not necessarily Used to describe a specific sequence or sequence. It is to be understood that the terms so used are interchangeable under appropriate circumstances such that the embodiments described herein can be practiced in sequences other than those illustrated or described herein. Furthermore, the terms "comprising" and "having", as well as any variations thereof, are intended to cover a non-exclusive inclusion, for example, a process, method, product or apparatus comprising a series of steps or elements need not be limited to those steps explicitly listed or units, but may include other steps or units not explicitly listed or inherent to the process, method, product or apparatus.
本申请提供的显示画面的设置方法可应用于各类显示设备,例如:电视终端、电脑显示器、车载显示器、大屏幕直播显示器、户外广告机、投影仪等。其中,电视终端不仅可以用于观看广播电视节目,电视终端也可作为外接显示器来使用,只要其上设有相应的接口,例如HDMI接口,则电视终端可通过HDMI接口与其他设备进行有线连接,例如将电视终端与机顶盒、笔记本电脑、电脑主机、游戏主机连接,以对这些设备输出的画面进行图像显示,还可与手机进行无线连接以实现对手机画面的投屏功能,为用户提供更好的视觉体验。The display screen setting method provided in this application can be applied to various display devices, such as: TV terminals, computer monitors, vehicle monitors, large-screen live broadcast monitors, outdoor advertising machines, projectors, etc. Wherein, the TV terminal can not only be used to watch radio and television programs, but also can be used as an external display, as long as it is provided with a corresponding interface, such as an HDMI interface, the TV terminal can be wired with other devices through the HDMI interface. For example, connect TV terminals with set-top boxes, laptops, computer hosts, and game consoles to display the images output by these devices, and also wirelessly connect with mobile phones to realize the screen projection function of mobile phone screens, providing users with better visual experience.
本申请所述的显示设备至少具有两种摆放方向,以电视终端为例,其安装方式可以是摆放在置物架上,也可以是挂设在墙壁上,电视终端摆放在置物架上时,置物架上的转动轴可以支持电视终端的旋转,用户可在电视终端处于开机或关机状态下通过旋转的方式来改变摆放方向,使用本申请的显示画面的设置方法可以实现显示画面自适应摆放方向的技术效果,例如将电视终端由横向摆放状态顺时针旋转90度至竖向摆放状态,则显示画面会逆时针旋转90度,以实现显示画面自动保持与人直立状态下观赏电视终端的方向一致的目的。The display device described in this application has at least two placement directions. Taking the TV terminal as an example, the installation method can be placed on a shelf or hung on the wall, and the TV terminal is placed on the shelf. At this time, the rotating shaft on the shelf can support the rotation of the TV terminal, and the user can change the orientation of the TV terminal by rotating it when the TV terminal is turned on or off. Using the display screen setting method of this application can realize the automatic display of the screen. The technical effect of adapting to the placement direction. For example, if the TV terminal is rotated 90 degrees clockwise from the horizontal placement state to the vertical placement state, the display screen will be rotated 90 degrees counterclockwise to realize that the display screen will automatically keep upright with the person. The purpose of viewing the direction of the TV terminal is consistent.
需要说明的是,在本申请中,将近似与地面垂直的方向视为竖向,在显示设备的显示屏幕的平面上,与竖向垂直的方向为横向;以及,假设显示设备的屏幕为长方形,假设显示设备具有横向摆放和竖向摆放两种摆放方向,则以长边在横向的摆放方向为横向摆放,反之为竖向摆放。It should be noted that, in this application, the direction approximately perpendicular to the ground is regarded as vertical, and on the plane of the display screen of the display device, the direction perpendicular to the vertical is horizontal; and, it is assumed that the screen of the display device is rectangular , assuming that the display device has two orientations: horizontal orientation and vertical orientation, the orientation in which the long side is horizontal is defined as horizontal orientation, and vice versa for vertical orientation.
具体的,请参阅图1,本申请提供的一种显示画面的设置方法的一个实施例,包括:步骤101-步骤103。Specifically, please refer to FIG. 1 , an embodiment of a method for setting a display screen provided by the present application includes: Step 101 -
101、基于加速度传感器获取显示设备的加速度。101. Acquire acceleration of a display device based on an acceleration sensor.
为确定显示设备的摆放方向,本申请需要先采用加速度传感器来获取显示设备的加速度,继而根据检测到的加速度来确定摆放方向。本申请的显示设备内装配有加速度传感器,加速度传感器可以是线加速度传感器和/或角加速度传感器,角加速度传感器可以是陀螺仪,利用陀螺仪能够检测显示设备在三维空间中与三个坐标轴的夹角,线加速度传感器可检测至少一个维度上的线性加速度,本申请使用的线加速度传感器可以是单轴加速度传感器、双轴加速度传感器或三轴加速度传感器,若为了追求极致的检测准确性,以精确的获知显示设备的摆放姿态,可同时安装角加速度传感器和线加速度传感器以用于后续精确的检测出显示设备的摆放方向。In order to determine the placement direction of the display device, the application first needs to use an acceleration sensor to obtain the acceleration of the display device, and then determine the placement direction according to the detected acceleration. The display device of the present application is equipped with an 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, and the gyroscope can detect the distance between the display device and the three coordinate axes in three-dimensional space. Included angle, the linear acceleration sensor can detect linear acceleration in at least one dimension. The linear acceleration sensor used in this application can be a single-axis acceleration sensor, a dual-axis acceleration sensor or a three-axis acceleration sensor. If in order to pursue the ultimate detection accuracy, use Accurately knowing the placement attitude of the display device, an angular acceleration sensor and a linear acceleration sensor can be installed at the same time for subsequent accurate detection of the placement direction of the display device.
本步骤可以在显示设备开机时就执行,以便于显示设备确定开机画面的显示方向,使显示方向与人直立状态下的阅读方向一致,为用户提供细致的细节服务体验;或者本步骤也可在开机后再执行,则该显示设备的开机画面只有一种默认开机画面,即开机画面只有一种显示方向,不会随着摆放方向改变显示方向也是可以的。This step can be performed when the display device is turned on, so that the display device can determine the display direction of the startup screen, so that the display direction is consistent with the reading direction in the upright state, and provide users with detailed service experience; or this step can also be performed in If it is executed after booting, the booting screen of the display device has only one default booting screen, that is, the booting screen has only one display direction, and it is also possible that the display direction does not change with the placement direction.
102、根据加速度确定显示设备的摆放方向。102. Determine the placement direction of the display device according to the acceleration.
在获取到显示设备的加速度后,可根据加速度来确定显示设备的摆放方向,其原理是由于地球的吸引力,显示设备始终具有一个朝向地球内部的重力加速度,使用线加速度传感器可以检测显示设备的加速度,若检测到的加速度与重力加速度相等,则加速度传感器的检测方向为竖直方向,根据该加速度传感器的安装方向与显示设备的摆放状态的关系,即可获知显示设备的摆放状态。After obtaining the acceleration of the display device, the orientation of the display device can be determined according to the acceleration. The principle is that due to the attraction of the earth, the display device always has a gravitational acceleration towards the interior of the earth. The linear acceleration sensor can detect the display device. If the detected acceleration is equal to the acceleration of gravity, the detection direction of the acceleration sensor is the vertical direction. According to the relationship between the installation direction of the acceleration sensor and the placement status of the display device, the placement status of the display device can be known. .
作为一个示例,若显示设备在横向摆放状态下,在显示设备内部放置一个检测竖直方向的一维加速度传感器,当该一维加速度传感器检测到与重力加速度近似的数据时,则可确定显示设备为横向摆放,若此时显示设备由横向摆放逐渐旋转至竖向摆放,则检测数值逐渐减小,当小于某一预设数值时,则可确定显示设备已变为竖向摆放;或者,为了提高检测准确度,使用一个可检测横向和竖向两个方向的二维加速度传感器,则当使用该二维加速度传感器检测到某一方向的检测数据与重力加速度近似时,则可确定与该方向垂直的方向为摆放方向。As an example, if the display device is placed horizontally, a one-dimensional acceleration sensor that detects the vertical direction is placed inside the display device, and when the one-dimensional acceleration sensor detects data that is approximate to the acceleration of gravity, it can be determined to display The device is placed horizontally. If the display device is gradually rotated from horizontal to vertical, the detection value will gradually decrease. When it is less than a certain preset value, it can be determined that the display device has changed to vertical swing. Or, in order to improve the detection accuracy, use a two-dimensional acceleration sensor that can detect both horizontal and vertical directions. When the two-dimensional acceleration sensor detects that the detection data in a certain direction is similar to the acceleration of gravity, then The direction perpendicular to the direction can be determined as the placement direction.
又例如,在显示设备内部放置一个三维加速度传感器,当读取到三维数据为Xh,Yh,Zh时,则确定显示设备的摆放方向为横向摆放;当读取到三维数据为Xv,Yv,Zv时,则确定显示设备的摆放方向为竖向摆放;当读取到三维数据为Xr,Yr,Zr时,则确定显示设备的摆放方向为倒装摆放。For another example, if a three-dimensional acceleration sensor is placed inside the display device, when the read three-dimensional data is X h , Y h , Z h , it is determined that the placement direction of the display device is horizontal; when the three-dimensional data read is When X v , Y v , Z v , determine that the placement direction of the display device is vertical; when the read three-dimensional data is X r , Y r , Z r , then determine that the display device is placed in the Put it upside down.
103、根据摆放方向设置显示设备的显示画面。103. Set the display screen of the display device according to the placement direction.
由于显示设备内预先存有与各摆放方向对应的显示画面的设置内容,因此在确定显示设备的摆放方向后,即可对显示画面进行相应的设置,显示画面可以包括:开机画面、关机画面和用户界面,对显示画面的设置项目可以是显示方向、显示比例、分辨率、主题背景等,其中,显示方向指的是其画面呈现出的文字和图形符合人直立状态下的阅读方式的方向。Since the setting content of the display screen corresponding to each placement direction is stored in the display device in advance, after the placement direction of the display device is determined, the display screen can be set accordingly. The display screen can include: startup screen, shutdown Screen and user interface, the setting items for the display screen can be display direction, display scale, resolution, theme background, etc., where the display direction refers to the text and graphics presented on the screen conform to the reading mode of a person in an upright state direction.
作为一个示例,电视终端具有横向摆放,以及经横向摆放顺时针旋转90度后呈现出的竖向摆放,两种摆放方式,其在横向摆放状态下的显示画面的设置内容包括:显示方向是以边框10为上、边框20为右、边框30为下和边框40为左的方向,显示方向的示意图可以参阅图2,显示比例为16:9,分辨率为1920x1080;在竖向摆放状态下的显示画面的设置内容包括:显示方向是以边框10为右、边框20为下、边框30为左和边框40为上的方向,显示方向的示意图可以参阅图3,显示比例为9:16,分辨率为1080x1920。当用户顺时针旋转电视终端90度,将其由横向摆放旋转至竖向摆放时,显示画面会逆时针旋转90度,以与人直立状态下的阅读方向保持一致,在显示画面变换的中间可以添加旋转特效等,为用户增加使用的趣味性。需要说明的是此示例中列举的设置项目和数值均为一种示例,在具体实际应用中,显示画面的设置项目还可以是其他项目,设置的参数也根据具体实际情况进行选择,并且显示画面也可不填充满整个显示屏幕,而是采用其他显示比例的方式也是可以的,显示屏幕上多余的部分以黑色或其他颜色填充,显示项目也可以是在不同显示方向下使用不同的桌面背景等,本实施例对此不作限制。As an example, the TV terminal can be placed horizontally and vertically after being rotated 90 degrees clockwise after being horizontally placed. There are two ways to place the TV terminal. The setting content of the display screen in the horizontally placed state includes: : The display direction is based on
本申请实施例提供的显示画面的设置方法可应用于显示设备,显示设备配有加速度传感器,可基于加速度传感器获取显示设备的加速度,加速度传感器至少具备一个维度的检测方向,由于星球引力使得显示设备始终具有朝向星球内部的重力加速,若显示设备的摆放方向发生改变,加速度传感器检测的数据会跟着变化,因此可根据加速度确定显示设备的摆放方向,继而根据摆放方向对显示设备的显示画面进行相应的设置,达到显示画面自适应显示设备的摆放方向的技术目的,由于使用本申请提供的显示画面的设置方法的显示设备具有多种摆放方向,使得用户无需购买多台显示设备即可享受到不同的使用场景,而且显示画面可以自适应显示设备的摆放方向而做出改变,在为用户节约金钱和使用空间的同时,提升用户的智能体验感。The display screen setting method provided by the embodiment of the present application can be applied to the display device. The display device is equipped with an acceleration sensor, and the acceleration of the display device can be obtained based on the acceleration sensor. The acceleration sensor has at least one dimension of detection direction. Due to the gravity of the planet, the display device There is always a gravitational acceleration towards the interior of the planet. If the orientation of the display device changes, the data detected by the acceleration sensor will change accordingly. Therefore, the orientation of the display device can be determined according to the acceleration, and then the display of the display device can be displayed according to the orientation. The screen is set accordingly to achieve the technical purpose of the display screen adapting to the placement direction of the display device. Since the display device using the display screen setting method provided by this application has multiple placement directions, the user does not need to purchase multiple display devices. You can enjoy different usage scenarios, and the display screen can adapt to the placement direction of the display device to make changes, saving money and space for users while improving the user's sense of smart experience.
为便于在实际生产过程中使用本方法,本申请还提供了一种可选择实施的更为详细的实施例,请参阅图4,本申请所提供的另一个实施例包括:步骤401-步骤409。In order to facilitate the use of this method in the actual production process, the application also provides a more detailed embodiment of an optional implementation, please refer to Figure 4, another embodiment provided by the application includes: step 401-
401、接收用户发送的摆放方向检测指令。401. Receive a placement direction detection instruction sent by a user.
本申请实施例可以应用于各类显示设备,并可在开机阶段,即boot引导阶段就检测显示设备的摆放方向,即执行步骤403,以使显示设备确定正确的开机画面的显示方向,也可以将何时开始检测显示设备的摆放方向的权限开放给用户,即执行步骤401,也就是说步骤401可以选择性实施,不是必须要执行的步骤。The embodiment of the present application can be applied to various display devices, and can detect the placement direction of the display device during the boot stage, that is, the boot guide stage, that is, execute
在显示设备的功能设置栏目中,设有开启检测摆放方向的设置项目,用户可通过遥控器、触摸显示屏、手势或其他方式,向显示设备发送摆放方向检测指令来控制该功能的开启,当显示设备接收到摆放方向检测指令后,即可执行步骤403。In the function setting column of the display device, there is a setting item to enable the detection of the placement direction. The user can control the opening of the function by sending a placement direction detection command to the display device through the remote control, touch screen, gesture or other methods. , when the display device receives the placement direction detection instruction,
402、接收用户发送的关闭检测摆放方向的指令。402. Receive an instruction of disabling the detection of the placement direction sent by the user.
在显示设备的功能设置栏目中,设有关闭检测摆放方向的设置项目,若用户不需要显示方向跟随显示设备的摆放方向的旋转而改变,可通过遥控器、触摸显示屏、手势或其他方式,向显示设备发送关闭检测摆放方向的指令,例如在用户需要躺着观看电视终端的情景下,用户可以通过遥控器向电视终端发送关闭检测摆放方向的指令,然后将显示设备从横向摆放旋转至竖向摆放,则在此过程中显示画面不会发生变化,即没有执行步骤403-步骤409,显示画面的显示方向依然保持不变,用户即可以躺着的姿势正常阅读观看显示屏幕。In the function setting column of the display device, there is a setting item to turn off the detection of the placement direction. If the user does not need the display direction to follow the rotation of the display device's placement direction, you can use the remote control, touch screen, gestures or other way, to send an instruction to turn off the detection of the placement direction to the display device. For example, in the situation where the user needs to lie down to watch the TV terminal, the user can send an instruction to turn off the detection of the placement direction to the TV terminal through the remote control, and then turn the display device from the horizontal direction If the placement is rotated to vertical placement, the display screen will not change during this process, that is, the display direction of the display screen remains unchanged without performing steps 403-409, and the user can read and watch normally in a lying posture display screen.
403、基于三轴重力加速度传感器获取显示设备的三维加速度。403. Acquire the three-dimensional acceleration of the display device based on the three-axis gravity acceleration sensor.
由于显示设备在摆放时不一定是严格的垂直于地面方向摆放,也可能会存在一定的仰角或俯角,以及为了能够检测多种摆放方向,本申请实施例优选三轴重力加速度传感器获取显示设备的三维加速度,例如在电视终端的主板上安装STK8321三轴重力加速度传感器芯片,SOC主芯片通过i2c接口读取STK8321三轴重力加速度传感器芯片检测到的坐标数据,读取到的坐标数据是三维加速度数值,并带有正负号,正负号代表方向。且由于使用电视终端时主要是以其静止状态进行加速度的检测,因此选用±2g、±3g或±4g量程都可满足对电视终端的摆放方向的检测,g代表重力加速度,检测数据带有正负号,正负号代表方向。Since the display device is not necessarily placed strictly perpendicular to the ground, there may also be a certain elevation or depression angle, and in order to be able to detect various placement directions, the embodiment of the present application preferably uses a three-axis gravity acceleration sensor to obtain Display the three-dimensional acceleration of the device. For example, install the STK8321 three-axis gravity acceleration sensor chip on the main board of the TV terminal. The SOC main chip reads the coordinate data detected by the STK8321 three-axis gravity acceleration sensor chip through the i2c interface. The read coordinate data is Three-dimensional acceleration value, with plus and minus signs, the plus and minus signs represent the direction. And since the TV terminal is mainly used to detect the acceleration in its static state, the selection of ±2g, ±3g or ±4g range can meet the detection of the direction of the TV terminal, g represents the acceleration of gravity, and the detection data contains The plus and minus signs represent the direction.
获取显示设备的加速度的方式可以是定时读取,时间间隔可根据具体需要进行设定,例如每200毫秒读取一次加速度传感器的检测数据,时间间隔越短则检测的灵敏度越高,能够在用户旋转电视终端的过程中,实时读取电视终端的三维加速度。作为一个示例,以每200毫秒读取一次三维加速度的检测数据为例,可参阅图10、图11和图12所示,图10为电视终端在横向摆放状态下读取到的三维加速度的数据,图11为电视终端在横向摆放状态下顺时针旋转45度时读取到的三维加速度的数据,图10为电视终端在横向摆放状态下顺时针旋转90度时读取到的三维加速度的数据。The way to obtain the acceleration of the display device can be to read regularly, and the time interval can be set according to specific needs, for example, to read the detection data of the acceleration sensor every 200 milliseconds, the shorter the time interval, the higher the detection sensitivity, which can be used by the user During the process of rotating the TV terminal, the three-dimensional acceleration of the TV terminal is read in real time. As an example, take the detection data of the three-dimensional acceleration read every 200 milliseconds as an example, as shown in Fig. 10, Fig. 11 and Fig. 12. Data, Figure 11 is the data of the three-dimensional acceleration read when the TV terminal is rotated 45 degrees clockwise in the horizontal state, and Figure 10 is the three-dimensional acceleration data read when the TV terminal is rotated 90 degrees clockwise in the horizontal state acceleration data.
404、根据加速度落入预存的阈值范围确定显示设备的摆放方向。404. Determine an orientation of the display device according to the acceleration falling within a prestored threshold range.
由于显示设备在摆放时很难做到严格的水平竖直状态,并且有的显示设备在正常摆放状态下为了给用户舒适的观看角度,会以某个倾斜角度进行安装,为了提升检测结果的容许度,可通过判断三维加速度是否落入某一区间阈值范围内来判断显示设备的摆放方向,由于各显示设备处在安装好的状态下的仰角或俯角是不同的,因此还需通过具体的试验来确定各维度上的阈值范围,在容许度方面也可进行选择,例如都以与三维坐标轴倾斜±45度夹角时的三维加速度数值为阈值边界,以图10、图11和图12所示的数据为例,当X大于等于-578,Y小于等于-636时,确定显示设备的摆放方向为第一摆放方向,当X小于-578,Y大于-636时,确定显示设备的摆放方向为第二摆放方向,需要说明的是,此处仅为一种示例,在实际应用中还可以选择其他数值,例如以倾斜±30度夹角时的三维加速度数值为阈值边界,检测数据的阈值也可以是其他数值,又或者三维方向选择的容许倾斜角度都不同也是可以的,本实施例对阈值范围的选择方法不作具体限制。以及,若读取的加速度的结果不在任何阈值范围内,可将显示方向设置为某一默认方向。Because it is difficult to achieve a strict horizontal and vertical state when the display device is placed, and some display devices are installed at a certain inclination angle in order to provide users with a comfortable viewing angle in the normal display state, in order to improve the detection results Tolerance, the placement direction of the display device can be judged by judging whether the three-dimensional acceleration falls within the threshold range of a certain interval. Since the elevation angle or depression angle of each display device in the installed state is different, it is necessary to pass Specific experiments are used to determine the threshold ranges in each dimension, and selections can also be made in terms of tolerances. For example, the three-dimensional acceleration values at an angle of ±45 degrees from the three-dimensional coordinate axis are used as threshold boundaries, as shown in Figures 10, 11 and The data shown in Figure 12 is taken as an example. When X is greater than or equal to -578 and Y is less than or equal to -636, determine that the placement direction of the display device is the first placement direction. When X is less than -578 and Y is greater than -636, determine The placement direction of the display device is the second placement direction. It should be noted that this is only an example, and other values can also be selected in practical applications. For example, the three-dimensional acceleration value at an angle of ±30 degrees is The threshold boundary and the threshold of the detection data may also be other values, or the allowable inclination angles for the selection of three-dimensional directions are all different, and this embodiment does not specifically limit the selection method of the threshold range. And, if the result of the acceleration read is not within any threshold range, the display direction can be set to a certain default direction.
在经过步骤404后,可通过加速度落入预存的阈值范围来确定出显示设备的摆放方向,在确定出摆放方向后,即可执行该摆放方向下对应的显示画面的设置内容,本申请实施例提供了四种摆放方向,具体可参阅图2、图3、图5和图6所示的在四种摆放方向下的显示画面的显示方向,这四种摆放方向可根据具体需要任意选择,也就是说同一显示设备不一定要具备这个四种摆放方向,只具备其中的任意两种或三种也是可以的。步骤405-步骤408是对四种摆放方向下的四种显示画面的设置方法。After
405、若摆放方向为第一摆放方向,则将显示画面设置为第一显示方向,并将显示画面设置为第一分辨率。405. If the placement direction is the first placement direction, set the display image to the first display direction, and set the display image to the first resolution.
作为一个示例,第一摆放方向是以边框10为上、边框20为右、边框30为下和边框40为左的方向,将显示画面设置为与摆放方向一致的方向,可参阅图2,并将显示画面的比例设置为16:9,分辨率设置为1920x1080。As an example, the first placement direction is the direction in which the
406、若摆放方向为第二摆放方向,则将显示画面设置为第二显示方向,并将显示画面设置为第二分辨率。406. If the placement direction is the second placement direction, set the display image to the second display direction, and set the display image to the second resolution.
作为一个示例,第二摆放方向是以边框10为右、边框20为下、边框30为左和边框40为上的方向,将显示画面设置为与摆放方向一致的方向,可参阅图3,并将显示画面的比例设置为9:16,分辨率设置为1080x1920。需要说明的是,在第二摆放状态下,电视终端的用户界面可以是9:16的状态进行显示,当在此摆放状态下,若要进入视频窗口进行播放时,由于原画质通常为1920x1080的画面,因此电视终端可采用scaler功能,scaler功能是一种将输入图像从一种分辨率转换到另一种分辨率输出的功能,具体做法就是在原始图像里利用行内相邻像素或者行间的相邻行直接复制或删除的方式来改变分辨率,图像可能会产生一定的形变,因此在进入视频窗口进行播放时,可以是全屏显示,即建立9:16的大小的视频窗口,也可临时将视频窗口设置为缩小版的16:9,显示屏幕的其余部分填充为黑色或其他颜色,如此便可无形变的播放广播电视台传来的视频图像数据,或者调整为其他显示比例和其他分辨率,本申请实施例对显示画面的显示比例和分辨率的大小不作具体限制,可根据实际情况进行选择或调整。As an example, the second placement direction is a direction in which
407、若摆放方向为第三摆放方向,则将显示画面设置为第三显示方向,并将显示画面设置为第一分辨率。407. If the placement direction is the third placement direction, set the display picture to the third display direction, and set the display picture to the first resolution.
作为一个示例,第一摆放方向是以边框10为下、边框20为左、边框30为上和边框40为右的方向,将显示画面设置为与摆放方向一致的方向,可参阅图5,并将显示画面的比例设置为16:9,分辨率设置为1920x1080。As an example, the first placement direction is the direction in which the
408、若摆放方向为第四摆放方向,则将显示画面设置为第四显示方向,并将显示画面设置为第二分辨率。408. If the placement direction is the fourth placement direction, set the display picture to the fourth display direction, and set the display picture to the second resolution.
作为一个示例,第二摆放方向是以边框10为左、边框20为上、边框30为右和边框40为下的方向,将显示画面设置为与摆放方向一致的方向,可参阅图6,并将显示画面的比例设置为9:16,分辨率设置为1080x1920。以及,在播放视频图像时对视频播放窗口的画面设置方法可参考步骤406,重复的部分在此不再赘述。As an example, the second placement direction is a direction in which
409、根据摆放方向更改显示设备的扩展显示器识别数据。409. Change the extended display identification data of the display device according to the placement direction.
在确定了摆放方向,并根据摆放方向对显示画面进行了相应的设置后,为了提升显示设备在新显示画面下对传输来的图像数据进行显示时的画质,可执行步骤409。After the placement direction is determined, and the display screen is set accordingly according to the placement direction, in order to improve the image quality of the display device when displaying the transmitted image data on the new display screen,
本申请实施例的显示设备可通过HDMI接口、DVI接口、DP接口或VGA接口与其他设备连接,以实现对其他设备传输过来的画面进行图像显示的功能,所述的其他设备可以是:机顶盒、笔记本电脑、电脑主机、游戏主机等,其他设备在将画面传输给显示设备前,可通过上述的接口来主动获取显示设备的扩展显示器识别数据(Extended DisplayIdentification Data,英文简称:EDID,中文别称:扩展显示标识数据),以按照EDID中的规格标准来将显示画面传输给显示设备,这里需要说明的是,虽然同一显示设备的不同接口的EDID是不同的,但同一接口下的EDID通常只有一种。本申请实施例为了使显示设备的显示画面在自适应摆放方向而做出调整后,还能够以新的显示画面来对其他设备传输来的画面进行优质的显示,因此特意在显示设备内的每一种接口下存储两套EDID,一套对应第一摆放方向和第三摆放方向,另一套对应第二摆放方向和第四摆放方向,即在显示画面做出调整后,也会将EDID调整为新显示画面下的新的EDID,新的EDID中存储有该显示设备的在新显示画面下的显示比例、最大图像大小、最佳分辨率、可支持的各种分辨率等内容,例如在第一摆放方向下,当其他设备在向显示设备传输画面时,会先将画面的分辨率调整为1920x1080后再传输给显示设备,在第二摆放方向下,当其他设备在向显示设备传输画面时,会先将画面的分辨率调整为1080x1920后再传输给显示设备。The display device in the embodiment of the present application can be connected to other devices through an HDMI interface, a DVI interface, a DP interface or a VGA interface, so as to realize the function of displaying images transmitted from other devices, and the other devices described can be: a set-top box, Laptops, computer hosts, game consoles, etc., before transmitting the screen to the display device, other devices can actively obtain the extended display identification data (Extended Display Identification Data, English abbreviation: EDID, Chinese nickname: extended display device) through the above interface Display identification data) to transmit the display screen to the display device according to the specifications in the EDID. What needs to be explained here is that although the EDIDs of different interfaces of the same display device are different, there is usually only one EDID under the same interface . In the embodiment of the present application, after adjusting the display screen of the display device in an adaptive placement direction, the new display screen can also be used to display the screen transmitted by other devices with high quality. Two sets of EDID are stored under each interface, one set corresponds to the first placement direction and the third placement direction, and the other set corresponds to the second placement direction and the fourth placement direction, that is, after the display screen is adjusted, The EDID will also be adjusted to the new EDID under the new display screen. The new EDID stores the display ratio, maximum image size, optimal resolution, and various supported resolutions of the display device under the new display screen. For example, in the first placement orientation, when other devices are transmitting images to the display device, they will first adjust the resolution of the images to 1920x1080 before transmitting them to the display device; in the second orientation, when other devices When the device transmits the picture to the display device, it will first adjust the resolution of the picture to 1080x1920 and then transmit it to the display device.
显示设备根据摆放方向更改EDID后,与该显示设备连接的其他设备会将调整好的符合显示要求的图像数据传输给显示设备,无需显示设备对图像数据做进一步的图像处理,即可以无形变的、最合适的大小和最佳分辨率的画质播放在显示屏幕上,提升用户的视觉观赏体验感。After the display device changes the EDID according to the placement direction, other devices connected to the display device will transmit the adjusted image data that meets the display requirements to the display device, without further image processing on the image data by the display device, that is, no deformation The picture quality of the most suitable size and the best resolution can be played on the display screen to enhance the user's visual viewing experience.
本申请实施例的显示画面的设置方法,将是否开启摆放方向检测的权限开放给用户,用户可根据自身使用情景选择是否开启显示画面自适应摆放方向的功能,通过三轴重力加速度传感器精确的获取显示设备的三维加速度,并提供了适当的容许度,根据加速度落入预存的阈值范围来确定显示设备的摆放方向,并提供了四种摆放方向下对显示画面的设置方法,这四种摆放方向可任选其中两个、三个或四个,以及在显示画面设置完成后,还会根据摆放方向更改显示设备的EDID,以使得播放源端能够将最合适的规格的图像数据传输给显示设备,显示设备以新的显示方向进行优质的画面播放。使用本申请实施例的显示画面的设置方法的显示设备,具有自适应摆放方向调整显示画面的功能,并且在显示画面调整后,仍可以最佳的画质进行图像显示,提升了用户的智能体验感和良好的视觉体验。The setting method of the display screen in the embodiment of the present application opens the authority of whether to enable the detection of the placement direction to the user. The user can choose whether to enable the function of the adaptive placement direction of the display screen according to his own use situation, and the three-axis gravity acceleration sensor can accurately Acquire the three-dimensional acceleration of the display device, and provide an appropriate tolerance, determine the placement direction of the display device according to the acceleration falling into the pre-stored threshold range, and provide four ways to set the display screen in the placement direction, which You can choose two, three or four of the four placement directions, and after the display screen setting is completed, the EDID of the display device will be changed according to the placement direction, so that the playback source can use the most suitable specification The image data is transmitted to the display device, and the display device performs high-quality picture playback in a new display direction. The display device using the display screen setting method of the embodiment of the present application has the function of adjusting the display screen in an adaptive placement direction, and after the display screen is adjusted, the image can still be displayed with the best image quality, which improves the intelligence of the user. Experience and good visual experience.
上述实施例对本申请显示画面的设置方法进行了描述,下面对本申请提供的一种显示画面的设置系统进行描述,请参阅图7,显示画面的设置系统的一个实施例包括:The above-mentioned embodiment has described the setting method of the display screen of the present application, and a setting system of a display screen provided by the present application is described below, please refer to FIG. 7, an embodiment of the setting system of the display screen includes:
获取模块701,用于基于加速度传感器获取所述显示设备的加速度;An
确定模块702,用于根据所述加速度确定所述显示设备的摆放方向;A determining module 702, configured to determine the placement direction of the display device according to the acceleration;
调整模块703,用于根据所述摆放方向设置所述显示设备的显示画面。An
本申请实施例显示画面的设置系统,其所执行的操作与前述图1实施例中5所执行的操作类似,在此不再进行赘述。The operation performed by the system for setting the display screen in the embodiment of the present application is similar to the operation performed in 5 in the foregoing embodiment of FIG. 1 , and will not be repeated here.
请参阅图8,显示画面的设置系统的另一个实施例包括:Referring to Fig. 8, another embodiment of the setting system of the display screen includes:
获取模块801,用于基于加速度传感器获取所述显示设备的加速度;An
确定模块802,用于根据所述加速度确定所述显示设备的摆放方向;A determining
调整模块803,用于根据所述摆放方向设置所述显示设备的显示画面。The
0可选的,所述确定模块802还用于:0 Optionally, the determining
基于三轴重力加速度传感器获取所述显示设备的三维加速度。The three-dimensional acceleration of the display device is acquired based on a three-axis gravity acceleration sensor.
可选的,所述确定模块802还用于:Optionally, the determining
根据所述加速度落入预存的阈值范围确定所述显示设备的所述摆放方向。The placement direction of the display device is determined according to the acceleration falling within a prestored threshold range.
可选的,所述调整模块803还用于:Optionally, the
5若所述摆放方向为第一摆放方向,则将所述显示画面设置为第一显示方向,5. If the placement direction is the first placement direction, setting the display screen as the first display direction,
并将所述显示画面设置为第一分辨率;and setting the display screen as the first resolution;
若所述摆放方向为第二摆放方向,则将所述显示画面设置为第二显示方向,并将所述显示画面设置为第二分辨率;If the placement direction is the second placement direction, then setting the display screen as the second display direction, and setting the display screen as the second resolution;
若所述摆放方向为第三摆放方向,则将所述显示画面设置为第三显示方向,0并将所述显示画面设置为所述第一分辨率。If the placement direction is the third placement direction, the display screen is set to the third display direction, and the display screen is set to the first resolution.
可选的,所述显示画面至少包括以下画面中的一种:Optionally, the display screen includes at least one of the following screens:
开机画面、关机画面和用户界面。Startup screen, shutdown screen and user interface.
可选的,所述系统还包括:Optionally, the system also includes:
接收模块804,用于接收用户发送的摆放方向检测指令。The receiving
5可选的,所述系统还包括:5 Optionally, the system also includes:
更改模块805,用于根据所述摆放方向更改所述显示设备的扩展显示器识别数据。A modifying
本申请实施例提供的另一种显示画面的设置系统,其所执行的操作与前述图4实施例中所执行的操作类似,在此不再进行赘述。Another display screen setting system provided by the embodiment of the present application performs operations similar to those performed in the embodiment of FIG. 4 , and details are not repeated here.
下面对本申请实施例的计算机设备进行描述,请参阅图9,本申请实施例中计算机设备的一个实施例包括:The computer device of the embodiment of the present application is described below, please refer to FIG. 9, an embodiment of the computer device in the embodiment of the present application includes:
该计算机设备900可以包括一个或一个以上处理器(central processing units,CPU)901和存储器902,该存储器902中存储有一个或一个以上的应用程序或数据。其中,存储器902是易失性存储或持久存储。存储在存储器902的程序可以包括一个或一个以上模块,每个模块可以包括对计算机设备中的一系列指令操作。更进一步地,处理器901可以设置为与存储器902通信,在计算机设备900上执行存储器902中的一系列指令操作。计算机设备900还可以包括一个或一个以上网络接口903,一个或一个以上输入输出接口904,和/或,一个或一个以上操作系统,例如Windows Server,Mac OS,Unix,Linux,FreeBSD等。该处理器901可以执行前述图1至图4所示实施例中所执行的操作,具体此处不再赘述。The computer device 900 may include one or more processors (central processing units, CPU) 901 and a memory 902, and one or more application programs or data are stored in the memory 902. Wherein, the memory 902 is a volatile storage or a persistent storage. The program stored in the memory 902 may include one or more modules, and each module may include a series of instructions to operate on the computer device. Furthermore, the
本申请实施例还提供了一种计算机存储介质,该计算机存储介质用于储存为上述显示画面的设置方法所用的计算机软件指令,其包括用于执行为显示画面的设置方法所设计的程序,该方法可以如前述图1或图4中所描述的显示画面的设置方法。The embodiment of the present application also provides a computer storage medium, the computer storage medium is used to store the computer software instructions used for the setting method of the above display screen, which includes a program for executing the program designed for the setting method of the display screen, the The method may be the same as the setting method of the display screen described above in FIG. 1 or FIG. 4 .
在本申请实施例所提供的几个实施例中,本领域技术人员应该理解到,所揭露的系统,装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,该单元的划分,仅仅为逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in the embodiments of the present application, those skilled in the art should understand that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of the unit is only logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or integrated into Another system, or some features may be ignored, or not implemented. In another point, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,read-only memory)、随机存取存储器(RAM,randomaccess memory)、磁碟或者光盘等各种可以存储程序代码的介质。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit. The above-mentioned integrated units can be implemented in the form of hardware or in the form of software functional units. If the integrated unit is realized in the form of a software function unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or part of the contribution to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium , including several instructions to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the methods in various embodiments of the present application. And aforementioned storage medium comprises: various mediums that can store program codes such as U disk, mobile hard disk, read-only memory (ROM, read-only memory), random access memory (RAM, random access memory), magnetic disk or optical disc.
以上所述仅为本申请的较佳实施例而已,并不用以限制本申请,凡在本申请的精神和原则之内所作的任何修改、等同替换或改进等,均应包含在本申请的保护范围之内。The above description is only a preferred embodiment of the application, and is not intended to limit the application. Any modification, equivalent replacement or improvement made within the spirit and principles of the application shall be included in the protection of the application. within range.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211683468.6A CN116033066B (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 CN116033066B (en) | 2022-12-27 | 2022-12-27 | Method, system, computer device and readable storage medium for setting display screen |
Publications (2)
Publication Number | Publication Date |
---|---|
CN116033066A true CN116033066A (en) | 2023-04-28 |
CN116033066B CN116033066B (en) | 2024-11-01 |
Family
ID=86080641
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211683468.6A Active CN116033066B (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) | CN116033066B (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/CN116033066B/en active Active
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 |
Also Published As
Publication number | Publication date |
---|---|
CN116033066B (en) | 2024-11-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US12279070B2 (en) | Method for frame interpolation and related products | |
CN109309857B (en) | Method for adjusting output image and multi-screen display system | |
CN113395558B (en) | Display equipment and display picture rotation adaptation method | |
TWI611345B (en) | System and method for controlling multiple displays | |
CN113254130B (en) | Method for adaptively adjusting resolution of cloud desktop | |
CN114816641B (en) | Display device, multimedia content display method, and storage medium | |
WO2020140758A1 (en) | Image display method, image processing method, and related devices | |
KR20170065926A (en) | Display apparatus and control method thereof | |
JP7191853B2 (en) | Head mounted display and method | |
EP3648463A1 (en) | Server, display device and control method therefor | |
CN113938730B (en) | Projection assembly correction method of display device and display device | |
CN101179646B (en) | Computer system and its control method | |
CN115334340B (en) | Display device and extended display identification data setting method | |
CN113474749B (en) | Screen display control method, device and system | |
TW201401165A (en) | Display angle processing apparatus and image processor | |
US20170243327A1 (en) | Determining whether to rotate content based on identification of angular velocity and/or acceleration of device | |
CN114793294A (en) | Display device and boot animation display method | |
CN112199061B (en) | Display method and device | |
TW201413572A (en) | Display-controlling method and displaying device | |
EP4297414A1 (en) | Electronic device and operating method therefor | |
CN102148019A (en) | Rotatable display device and image display method thereof | |
CN114647468A (en) | Screen projection image display method and device, electronic equipment and storage medium | |
CN116033066B (en) | Method, system, computer device and readable storage medium for setting display screen | |
EP4557724A1 (en) | Projection apparatus and operating method thereof | |
US20220198991A1 (en) | Display apparatus and display method for display apparatus with rotatable display |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |