Display screen setting method, system, computer device and readable storage medium
By using acceleration sensors in the display device to automatically adjust the display direction and resolution, the problem that devices in the prior art cannot adapt to the usage scenarios, and the savings and intelligent experience improvements in a variety of usage scenarios are achieved.
Patent Information
- Application Number
- CN202211683468.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-27
- Publication Date
- 2024-11-01
- Estimated Expiration
- 2042-12-27
AI Technical Summary
Existing display devices cannot automatically adjust the display direction according to the usage scenario, resulting in users needing to purchase multiple devices under different usage needs, which increases cost and space usage.
By using an acceleration sensor in the display device to obtain the placement direction of the device, and set the display direction and resolution of the display screen according to the acceleration, so that it can adapt to the placement direction.
It realizes the use of display devices in multiple placement directions, saves user costs and space, and improves the intelligent experience.
Smart Images

Figure CN116033066B_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the technical field of display devices, and in particular, relates to a method, system, computer device and readable storage medium for setting a display screen of a display device. Background Art
[0002] Display devices usually refer to TV terminals, computer monitors, car monitors, large-screen live broadcast monitors, outdoor advertising machines, projectors, etc. The screens of current display devices are usually rectangular, and the display devices have only one installation orientation. The display direction of the screen is consistent with its orientation, that is, the display image has only one display direction.
[0003] 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 in the new placement direction and still conforms to the viewing direction of the user in the upright state, it will enhance the user's intelligent use experience of the display device. For example, when a TV terminal displays a live program, it is better to place the TV terminal in a wider horizontal placement direction. However, in the scenario where the TV terminal displays text, such as when the e-book application installed on it displays text, if the placement direction of the TV terminal can be changed from horizontal to vertical, the display direction of the screen display screen is also adaptively changed, just like reading a page of vertically laid out paper, which will be more in line with people's reading habits.
[0004] At present, display devices do not have the above functions. If users want to use display devices of different forms, they can generally only achieve this by purchasing multiple display devices, such as purchasing a horizontally placed TV terminal and then purchasing another vertically placed display. This will increase the user's expenses and take up more usage space. Summary of the invention
[0005] The purpose of the present application is to provide a method, system, computer device and readable storage medium for setting a display screen, so as to enable the display screen to be set accordingly according to the placement direction of the display device.
[0006] In a first aspect, the present application provides a method for setting a display screen, comprising:
[0007] Acquiring the acceleration of the display device based on an acceleration sensor;
[0008] Determining a placement direction of the display device according to the acceleration;
[0009] The display screen of the display device is set according to the placement direction.
[0010] Optionally, acquiring the acceleration of the display device based on an acceleration sensor includes:
[0011] The three-dimensional acceleration of the display device is acquired based on a three-axis gravity acceleration sensor.
[0012] Optionally, determining the placement direction of the display device according to the acceleration includes:
[0013] The placement direction of the display device is determined according to whether the acceleration falls within a pre-stored threshold range.
[0014] Optionally, setting the display screen of the display device according to the placement direction includes:
[0015] If the placement direction is the first placement direction, setting the display image to the first display direction and setting the display image to the first resolution;
[0016] If the placement direction is the second placement direction, setting the display image to the second display direction and setting the display image to the second resolution;
[0017] 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.
[0018] Optionally, the display screen includes at least one of the following screens:
[0019] Startup screen, shutdown screen and user interface.
[0020] Optionally, before acquiring the acceleration of the display device based on the acceleration sensor, the method further includes:
[0021] Receive the placement direction detection instruction sent by the user.
[0022] Optionally, after setting the display screen of the display device according to the placement direction, the method further includes:
[0023] The extended display identification data of the display device is changed according to the placement direction.
[0024] In a second aspect, the present application provides a display screen setting system, comprising:
[0025] An acquisition module, used for acquiring the acceleration of the display device based on an acceleration sensor;
[0026] A determination module, used to determine the placement direction of the display device according to the acceleration;
[0027] An adjustment module is used to set the display screen of the display device according to the placement direction.
[0028] Optionally, the determining module is further used for:
[0029] The three-dimensional acceleration of the display device is acquired based on a three-axis gravity acceleration sensor.
[0030] Optionally, the determining module is further used for:
[0031] The placement direction of the display device is determined according to whether the acceleration falls within a pre-stored threshold range.
[0032] Optionally, the adjustment module is further used for:
[0033] If the placement direction is the first placement direction, setting the display image to the first display direction and setting the display image to the first resolution;
[0034] If the placement direction is the second placement direction, setting the display image to the second display direction and setting the display image to the second resolution;
[0035] 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.
[0036] Optionally, the display screen includes at least one of the following screens:
[0037] Startup screen, shutdown screen and user interface.
[0038] Optionally, the system further includes:
[0039] The receiving module is used to receive the placement direction detection instruction sent by the user.
[0040] Optionally, the system further includes:
[0041] A changing module is used to change the extended display identification data of the display device according to the placement direction.
[0042] In a third aspect, the present application provides a computer device, including:
[0043] Processor, memory, bus, input and output interface, network interface;
[0044] The processor is connected to the memory, the input / output interface, and the network interface via a bus;
[0045] The memory stores a program;
[0046] When the processor executes the program stored in the memory, the display screen setting method as described in any one of the first aspects above is implemented.
[0047] In a fourth aspect, the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores instructions, and when the instructions are executed on a computer, the computer executes the display screen setting method as described in any one of the first aspects above.
[0048] It can be seen from the above technical solutions that the embodiments of the present application have the following advantages:
[0049] The display screen setting method provided in the embodiment of the present application can be applied to a display device. The display device is equipped with an acceleration sensor. The acceleration of the display device can be obtained based on the acceleration sensor. The acceleration sensor has at least one dimensional detection direction. Due to the gravity of the planet, the display device always has gravity acceleration toward the inside of the planet. If the placement direction of the display device changes, the data detected by the acceleration sensor will change accordingly. Therefore, the placement direction of the display device can be determined according to the acceleration, and then the display screen of the display device can be set accordingly according to the placement direction, so as 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 to make changes, while saving money and usage space for users, and enhancing the user's smart experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0050] Figure 1 A schematic diagram of an embodiment of a method for setting a display screen of the present application;
[0051] Figure 2 A schematic diagram of a first display direction of a display screen provided in this application;
[0052] Figure 3 A schematic diagram of a second display direction of a display screen provided in the present application;
[0053] Figure 4 This is a flow chart of another embodiment of a method for setting a display screen of the present application;
[0054] Figure 5 A schematic diagram of a third display direction of a display screen provided in this application;
[0055] Figure 6 A schematic diagram of a fourth display direction of a display screen provided in the present application;
[0056] Figure 7 A schematic diagram of the structure of an embodiment of a system for setting a display screen of the present application;
[0057] Figure 8 This is a schematic diagram of another embodiment of the structure of the display screen setting system of the present application;
[0058] Fig. 9 A schematic diagram of the structure of an embodiment of a computer device of the present application;
[0059] Fig.10 Schematic diagram of obtaining three-dimensional acceleration for this application Figure 1 ;
[0060] Fig.11 Schematic diagram of obtaining three-dimensional acceleration for this application Figure 2 ;
[0061] Fig.12 Schematic diagram of obtaining three-dimensional acceleration for this application Figure 3 . DETAILED DESCRIPTION
[0062] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0063] The terms "first", "second", "third", "fourth", etc. (if any) in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments described herein can be implemented in an order other than that illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0064] The display screen setting method provided in this application can be applied to various display devices, such as: TV terminals, computer monitors, car monitors, large-screen live broadcast monitors, outdoor advertising machines, projectors, etc. Among them, the TV terminal can not only be used to watch radio and television programs, but also 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 connected to other devices through the HDMI interface, for example, the TV terminal can be connected to a set-top box, a laptop, a computer host, and a game console to display the images output by these devices. It can also be wirelessly connected to a mobile phone to realize the screen projection function of the mobile phone screen, providing users with a better visual experience.
[0065] The display device described in the present application has at least two placement directions. Taking a TV terminal as an example, its installation method can be placed on a shelf or hung on a wall. When the TV terminal is placed on the shelf, the rotating shaft on the shelf can support the rotation of the TV terminal. The user can change the placement direction by rotating the TV terminal when the TV terminal is in the on or off state. The display screen setting method of the present application can achieve the technical effect of adaptive placement direction of the display screen. For example, if the TV terminal is rotated 90 degrees clockwise from a horizontal placement state to a vertical placement state, the display screen will rotate 90 degrees counterclockwise to achieve the purpose of automatically keeping the display screen consistent with the direction of a person watching the TV terminal in an upright state.
[0066] It should be noted that, in the present application, the direction approximately perpendicular to the ground is regarded as the vertical direction, and the direction perpendicular to the vertical direction on the plane of the display screen of the display device is the horizontal direction; and, assuming that the screen of the display device is a rectangle, and assuming that the display device has two placement directions of horizontal and vertical, the placement direction with the long side in the horizontal direction is the horizontal placement, and vice versa is the vertical placement.
[0067] For details, please refer to Figure 1 An embodiment of a display screen setting method provided in the present application includes: steps 101 to 103.
[0068] 101. Obtain acceleration of a display device based on an acceleration sensor.
[0069] In order to determine the placement direction of the display device, the present application needs to first use an acceleration sensor to obtain the acceleration of the display device, and then determine the placement direction based on the detected acceleration. The display device of the present application is equipped with an acceleration sensor, which can be a linear acceleration sensor and / or an angular acceleration sensor. The angular acceleration sensor can be a gyroscope. The gyroscope can detect the angle between the display device and the three coordinate axes in three-dimensional space. The linear acceleration sensor can detect the linear acceleration in at least one dimension. The linear acceleration sensor used in the present application can be a single-axis acceleration sensor, a dual-axis acceleration sensor, or a three-axis acceleration sensor. In order to pursue the ultimate detection accuracy and accurately know the placement posture 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.
[0070] This step can be executed 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 of a person in an upright state, and provide users with a meticulous detail service experience; or this step can be executed after startup, then the startup screen of the display device has only one default startup screen, that is, the startup screen has only one display direction, and the display direction will not change with the placement direction.
[0071] 102. Determine the placement direction of the display device according to the acceleration.
[0072] After obtaining the acceleration of the display device, the placement direction of the display device can be determined based on the acceleration. The principle is that due to the attraction of the earth, the display device always has a gravitational acceleration toward the inside of the earth. The acceleration of the display device can be detected using a linear acceleration sensor. If the detected acceleration is equal to the gravitational acceleration, the detection direction of the acceleration sensor is the vertical direction. The placement state of the display device can be known based on the relationship between the installation direction of the acceleration sensor and the placement state of the display device.
[0073] As an example, if the display device is in a horizontal position, a one-dimensional acceleration sensor for detecting the vertical direction is placed inside the display device. When the one-dimensional acceleration sensor detects data that is similar to the acceleration of gravity, it can be determined that the display device is in a horizontal position. If the display device is gradually rotated from a horizontal position to a vertical position at this time, the detection value gradually decreases. When it is less than a preset value, it can be determined that the display device has been changed to a vertical position. Alternatively, in order to improve the detection accuracy, a two-dimensional acceleration sensor that can detect both horizontal and vertical directions is used. When the detection data of a certain direction detected by the two-dimensional acceleration sensor is similar to the acceleration of gravity, it can be determined that the direction perpendicular to this direction is the placement direction.
[0074] For example, a three-dimensional acceleration sensor is placed inside the display device. When the three-dimensional data is X h , Y h , Z h When the 3D data is X v , Y v , Z v When the three-dimensional data is X r , Y r , Z r When the display device is placed in an inverted orientation, the display device is determined to be placed in an inverted orientation.
[0075] 103. Set the display screen of the display device according to the placement direction.
[0076] Since the display device pre-stores the setting contents of the display screen corresponding to each placement direction, after determining the placement direction of the display device, the display screen can be set accordingly. The display screen may include: startup screen, shutdown screen and user interface. The setting items for the display screen may be display direction, display ratio, resolution, theme background, etc. Among them, the display direction refers to the direction in which the text and graphics presented on the screen are consistent with the reading method of a person in an upright state.
[0077] As an example, the TV terminal has two placement modes: horizontal placement and vertical placement after being rotated 90 degrees clockwise from the horizontal placement. The setting content of the display screen in the horizontal placement state includes: the display direction is the direction with frame 10 as the top, frame 20 as the right, frame 30 as the bottom and frame 40 as the left. The schematic diagram of the display direction can be referred to Figure 2 , the display ratio is 16:9, and the resolution is 1920x1080; the display screen settings in the vertical state include: the display direction is the direction of frame 10 to the right, frame 20 to the bottom, frame 30 to the left, and frame 40 to the top. The schematic diagram of the display direction can be found in Figure 3 , the display ratio is 9:16, and the resolution is 1080x1920. When the user rotates the TV terminal 90 degrees clockwise and rotates it from horizontal placement to vertical placement, the display screen will rotate 90 degrees counterclockwise to keep consistent with the reading direction of the person in an upright state. In the middle of the display screen change, a rotation effect can be added to increase the fun of use for the user. It should be noted that the setting items and values listed in this example are all examples. In specific practical applications, the setting items of the display screen can also be other items, and the setting parameters are also selected according to the specific actual situation. The display screen may not fill the entire display screen, but it is also possible to use other display ratios. The excess part of the display screen is filled with black or other colors. The display items can also use different desktop backgrounds in different display directions, etc. This embodiment does not limit this.
[0078] The display screen setting method provided in the embodiment of the present application can be applied to a 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 dimensional detection direction. Due to the gravity of the planet, the display device always has gravity acceleration toward the inside of the planet. If the placement direction of the display device changes, the data detected by the acceleration sensor will change accordingly. Therefore, the placement direction of the display device can be determined according to the acceleration, and then the display screen of the display device can be set accordingly according to the placement direction, so as 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 the present application has a variety of placement directions, the user does not need to purchase multiple display devices to enjoy different usage scenarios, and the display screen can adapt to the placement direction of the display device to make changes, while saving money and usage space for the user, and enhancing the user's smart experience.
[0079] In order to facilitate the use of this method in the actual production process, the present application also provides a more detailed embodiment that can be optionally implemented, please refer to Figure 4 , another embodiment provided by the present application includes: step 401-step 409.
[0080] 401. Receive a placement direction detection instruction sent by a user.
[0081] The embodiments of the present application can be applied to various types of display devices, and can detect the placement direction of the display device during the power-on phase, i.e., the boot phase, i.e., execute step 403, so that the display device determines the correct display direction of the startup screen. The authority of when to start detecting the placement direction of the display device can also be opened to the user, i.e., execute step 401. In other words, step 401 can be implemented selectively and is not a must-execute step.
[0082] In the function setting column of the display device, there is a setting item for turning on detection of placement direction. The user can send a placement direction detection instruction to the display device through a remote control, a touch screen, gestures or other methods to control the turning on of this function. When the display device receives the placement direction detection instruction, step 403 can be executed.
[0083] 402. Receive a command from a user to close detection of placement direction.
[0084] In the function setting column of the display device, there is a setting item for turning off detection of placement direction. If the user does not need the display direction to change with the rotation of the placement direction of the display device, the user can send an instruction to turn off detection of placement direction to the display device through a remote control, a touch screen, gestures or other methods. For example, in a scenario where the user needs to lie down to watch the TV terminal, the user can send an instruction to turn off detection of placement direction to the TV terminal through the remote control, and then rotate the display device from horizontal to vertical. In this process, the display picture will not change, that is, steps 403-409 are not executed, and the display direction of the display picture remains unchanged, so the user can read and watch the display screen normally in a lying position.
[0085] 403. Acquire the three-dimensional acceleration of the display device based on the three-axis gravity acceleration sensor.
[0086] Since the display device is not necessarily placed strictly perpendicular to the ground when placed, there may be a certain elevation or depression angle, and in order to be able to detect multiple placement directions, the embodiment of the present application preferably uses a three-axis gravity acceleration sensor to obtain the three-dimensional acceleration of the display device. For example, the STK8321 three-axis gravity acceleration sensor chip is installed on the motherboard of the TV terminal, and 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 a three-dimensional acceleration value with a positive and negative sign, which represents the direction. And because the acceleration is mainly detected in the static state of the TV terminal when using it, the selection of ±2g, ±3g or ±4g ranges can meet the detection of the placement direction of the TV terminal. g represents the acceleration of gravity, and the detection data has a positive and negative sign, which represents the direction.
[0087] The acceleration of the display device can be obtained by periodic reading. The time interval can be set according to specific needs. For example, the detection data of the acceleration sensor is read every 200 milliseconds. The shorter the time interval, the higher the detection sensitivity. The three-dimensional acceleration of the TV terminal can be read in real time when the user rotates the TV terminal. As an example, taking the detection data of the three-dimensional acceleration read every 200 milliseconds as an example, please refer to Fig.10 , Fig.11 and Fig.12 As shown, Fig.10 It is the three-dimensional acceleration data read by the TV terminal in the horizontal position. Fig.11 It is the three-dimensional acceleration data read when the TV terminal is rotated 45 degrees clockwise in the horizontal position. Fig.10 The three-dimensional acceleration data is read when the TV terminal is rotated 90 degrees clockwise in the horizontal position.
[0088] 404. Determine the placement direction of the display device according to whether the acceleration falls within a pre-stored threshold range.
[0089] Since it is difficult to place the display device in a strictly horizontal or vertical state, and some display devices are installed at a certain tilt angle in the normal state to provide users with a comfortable viewing angle, in order to improve the tolerance of the detection result, the placement direction of the display device can be determined by judging whether the three-dimensional acceleration falls within a certain interval threshold range. Since the elevation or depression angles of each display device in the installed state are different, specific tests are required to determine the threshold range in each dimension, and the tolerance can also be selected. For example, the three-dimensional acceleration value when tilted at an angle of ±45 degrees with the three-dimensional coordinate axis is used as the threshold boundary, and the three-dimensional acceleration value is used as the threshold boundary. Fig.10 , Fig.11 and Fig.12 Taking the data shown as an example, when X is greater than or equal to -578 and Y is less than or equal to -636, the display device is placed in the first direction. When X is less than -578 and Y is greater than -636, the display device is placed in the second direction. It should be noted that this is only an example. In actual applications, other values can be selected. For example, the three-dimensional acceleration value at an angle of ±30 degrees is used as the threshold boundary. The threshold of the detection data can also be other values, or the allowable tilt angles of the three-dimensional direction selection are different. This embodiment does not specifically limit the method for selecting the threshold range. And, if the result of the read acceleration is not within any threshold range, the display direction can be set to a default direction.
[0090] After step 404, the placement direction of the display device can be determined by the acceleration falling into the pre-stored threshold range. After the placement direction is determined, the setting content of the display screen corresponding to the placement direction can be executed. The embodiment of the present application provides four placement directions. For details, please refer to Figure 2 , Figure 3 , Figure 5 and Figure 6 The display directions of the display images in the four placement directions shown are arbitrarily selected according to specific needs, that is, the same display device does not necessarily have to have these four placement directions, and only has any two or three of them. Steps 405 to 408 are the setting methods for the four display images in the four placement directions.
[0091] 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.
[0092] As an example, the first placement direction is a direction in which the frame 10 is at the top, the frame 20 is at the right, the frame 30 is at the bottom, and the frame 40 is at the left. The display screen is set to a direction consistent with the placement direction. Figure 2 , and set the display ratio to 16:9 and the resolution to 1920x1080.
[0093] 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.
[0094] As an example, the second placement direction is a direction with frame 10 as the right, frame 20 as the bottom, frame 30 as the left and frame 40 as the top, and the display screen is set to the direction consistent with the placement direction, which can be referred to Figure 3 , and set the ratio of the display screen to 9:16, and the resolution to 1080x1920. It should be noted that in the second placement state, the user interface of the TV terminal can be displayed in a 9:16 state. When in this placement state, if you want to enter the video window for playback, since the original image quality is usually 1920x1080, the TV terminal can use the scaler function. The scaler function is a function that converts the input image from one resolution to another resolution output. The specific method is to change the resolution by directly copying or deleting adjacent pixels in the row or adjacent rows between rows in the original image. The image may be deformed to a certain extent. Therefore, when entering the video window for playback, it can be full-screen display, that is, a video window of 9:16 size is established, or the video window can be temporarily set to a reduced version of 16:9, and the rest of the display screen is filled with black or other colors, so that the video image data transmitted by the radio and television station can be played without deformation, or adjusted to other display ratios and other resolutions. The embodiment of the present application does not specifically limit the display ratio and resolution size of the display screen, and can be selected or adjusted according to actual conditions.
[0095] 407. If the placement direction is the third placement direction, set the display image to the third display direction and set the display image to the first resolution.
[0096] As an example, the first placement direction is a direction in which the frame 10 is at the bottom, the frame 20 is at the left, the frame 30 is at the top, and the frame 40 is at the right. The display screen is set to a direction consistent with the placement direction. Figure 5 , and set the display ratio to 16:9 and the resolution to 1920x1080.
[0097] 408. If the placement direction is the fourth placement direction, set the display image to the fourth display direction and set the display image to the second resolution.
[0098] As an example, the second placement direction is a direction with frame 10 as the left, frame 20 as the top, frame 30 as the right and frame 40 as the bottom, and the display screen is set to a direction consistent with the placement direction, which can be referred to Figure 6 The ratio of the display screen is set to 9:16 and the resolution is set to 1080x1920. Also, the method for setting the screen of the video playback window when playing the video image can refer to step 406, and the repeated parts are not repeated here.
[0099] 409. Change the extended display identification data of the display device according to the placement direction.
[0100] After the placement direction is determined and the display screen is set accordingly according to the placement direction, step 409 may be executed to improve the image quality of the display device when displaying the transmitted image data in the new display screen.
[0101] The display device of 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 to realize the function of displaying images transmitted from other devices. The other devices may be: a set-top box, a laptop computer, a computer host, a game console, etc. Before transmitting the image to the display device, the other devices can actively obtain the extended display identification data (Extended Display Identification Data, English abbreviation: EDID, Chinese alias: Extended Display Identification Data) of the display device through the above-mentioned interface to transmit the display image to the display device according to the specification standards in the EDID. It should be noted here 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 order to enable the display screen of the display device to be adjusted in the adaptive placement direction and to display the screen transmitted from other devices with high quality using the new display screen, the embodiment of the present application deliberately stores two sets of EDID under each interface in the display device, one set corresponding to the first placement direction and the third placement direction, and the other set corresponding 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 a new EDID under the new display screen. The new EDID stores the display ratio, maximum image size, optimal resolution, various supported resolutions, etc. of the display device under the new display screen. For example, in the first placement direction, when other devices transmit pictures to the display device, the resolution of the picture will be adjusted to 1920x1080 before transmitting it to the display device. In the second placement direction, when other devices transmit pictures to the display device, the resolution of the picture will be adjusted to 1080x1920 before transmitting it to the display device.
[0102] 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. The display device does not need to perform further image processing on the image data. The image data can be played on the display screen in an invisible, most suitable size and optimal resolution, thereby enhancing the user's visual viewing experience.
[0103] The display screen setting method of the embodiment of the present application opens the authority of whether to turn on the placement direction detection to the user. The user can choose whether to turn on the function of adaptive placement direction of the display screen according to his own usage scenario. The three-dimensional acceleration of the display device is accurately obtained through the three-axis gravity acceleration sensor, and an appropriate tolerance is provided. The placement direction of the display device is determined according to the acceleration falling into the pre-stored threshold range, and a setting method for the display screen under four placement directions is provided. Two, three or four of these four placement directions can be selected, and after the display screen is set, the EDID of the display device will be changed according to the placement direction, so that the playback source can transmit the image data of the most suitable specifications to the display device, and the display device plays high-quality pictures in the new display direction. The display device using the display screen setting method of the embodiment of the present application has the function of adaptively adjusting the display screen in the placement direction, and after the display screen is adjusted, the image can still be displayed with the best picture quality, which improves the user's intelligent experience and good visual experience.
[0104] The above embodiment describes the display screen setting method of the present application. The following describes a display screen setting system provided by the present application. Figure 7 , an embodiment of a display screen setting system includes:
[0105] An acquisition module 701 is used to acquire the acceleration of the display device based on an acceleration sensor;
[0106] A determination module 702, configured to determine a placement direction of the display device according to the acceleration;
[0107] The adjustment module 703 is used to set the display screen of the display device according to the placement direction.
[0108] The display screen setting system of the present application embodiment performs the same operations as the aforementioned Figure 1 The operations performed in Example 5 are similar and will not be described in detail here.
[0109] See also Figure 8 Another embodiment of the display screen setting system includes:
[0110] An acquisition module 801 is used to acquire the acceleration of the display device based on an acceleration sensor;
[0111] A determination module 802, configured to determine a placement direction of the display device according to the acceleration;
[0112] The adjustment module 803 is used to set the display screen of the display device according to the placement direction.
[0113] Optionally, the determining module 802 is further configured to:
[0114] The three-dimensional acceleration of the display device is acquired based on a three-axis gravity acceleration sensor.
[0115] Optionally, the determining module 802 is further configured to:
[0116] The placement direction of the display device is determined according to whether the acceleration falls within a pre-stored threshold range.
[0117] Optionally, the adjustment module 803 is further used to:
[0118] 5 If the placement direction is the first placement direction, the display screen is set to the first display direction,
[0119] and setting the display image to a first resolution;
[0120] If the placement direction is the second placement direction, setting the display image to the second display direction and setting the display image to the second resolution;
[0121] 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.
[0122] Optionally, the display screen includes at least one of the following screens:
[0123] Startup screen, shutdown screen and user interface.
[0124] Optionally, the system further includes:
[0125] The receiving module 804 is used to receive a placement direction detection instruction sent by a user.
[0126] 5 Optionally, the system further includes:
[0127] The changing module 805 is used to change the extended display identification data of the display device according to the placement direction.
[0128] Another display screen setting system provided in an embodiment of the present application performs the same operations as those described above. Figure 4 The operations performed in the embodiment are similar and will not be described in detail here.
[0129] The following describes the computer device of the embodiment of the present application. Fig. 9 , an embodiment of the computer device in the embodiment of the present application includes:
[0130] The computer device 900 may include one or more processors (central processing units, CPU) 901 and a memory 902, in which one or more application programs or data are stored. Among them, 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 instruction operations in the computer device. Furthermore, the processor 901 can be configured to communicate with the memory 902 to 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 and output interfaces 904, and / or one or more operating systems, such as Windows Server, Mac OS, Unix, Linux, FreeBSD, etc. The processor 901 can execute the aforementioned Figures 1 to 4 The operations performed in the illustrated embodiment will not be described in detail here.
[0131] The present application also provides a computer storage medium for storing computer software instructions used for the above display screen setting method, which includes a program designed for executing the display screen setting method. The method can be as described above. Figure 1 or Figure 4 How to set up the display screen as described in .
[0132] In 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 schematic. For example, the division of the unit is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.
[0133] In addition, each functional unit in each embodiment of the present application can be integrated into a processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of a software functional unit. If the integrated unit is implemented in the form of a software functional 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 the part that contributes 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 enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods of each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, read-only memory), random access memory (RAM, random access memory), disk or optical disk and other media that can store program code.
[0134] The above description is only a preferred embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent substitutions or improvements made within the spirit and principles of the present application should be included in the protection scope of the present application.
Claims
1. A method for setting a display screen, characterized in that: The method is applied to a display device, wherein two sets of extended display identification data are stored under each interface of the display device, wherein one set of extended display identification data corresponds to a first placement direction and a third placement direction, and the other set of extended display identification data corresponds to a second placement direction and a fourth placement direction, and the method comprises: Acquiring the acceleration of the display device based on an acceleration sensor; Determining a placement direction of the display device according to the acceleration; Setting the display screen of the display device according to the placement direction; The step of setting the display screen of the display device according to the placement direction comprises: If the placement direction is the first placement direction, the display screen is set to the first display direction, the display screen is set to the first resolution, and the extended display identification data is adjusted to adapt to the first placement direction, so that other devices connected to the display device will transmit the image data of the extended display identification data adjusted to conform to the first placement direction to the display device; If the placement direction is the second placement direction, the display screen is set to the second display direction, the display screen is set to the second resolution, and the extended display identification data is adjusted to adapt to the second placement direction, so that other devices connected to the display device will transmit the image data of the extended display identification data adjusted to conform to the second placement direction to the display device; If the placement direction is the third placement direction, the display screen is set to the third display direction, the display screen is set to the first resolution, and the extended display identification data is adjusted to adapt to the third placement direction, so that other devices connected to the display device will transmit the image data of the extended display identification data adjusted to conform to the third placement direction to the display device; If the placement direction is the fourth placement direction, the display screen is set to the fourth display direction, and the display screen is set to the second resolution, and the extended display identification data is adjusted to adapt to the fourth placement direction, so that other devices connected to the display device will transmit the image data of the extended display identification data adjusted to conform to the fourth placement direction to the display device.
2. The method for setting a display screen according to claim 1, characterized in that: The acquiring the acceleration of the display device based on the acceleration sensor comprises: The three-dimensional acceleration of the display device is acquired based on a three-axis gravity acceleration sensor.
3. The method for setting a display screen according to claim 1, characterized in that: Determining the placement direction of the display device according to the acceleration includes: The placement direction of the display device is determined according to whether the acceleration falls within a pre-stored threshold range.
4. The method for setting a display screen according to claim 1, characterized in that: The display screen includes at least one of the following screens: Startup screen, shutdown screen and user interface.
5. The method for setting a display screen according to claim 1, characterized in that: 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.
6. A display screen setting system, applied to a display device, wherein two sets of extended display identification data are stored under each interface of the display device, wherein one set of extended display identification data corresponds to a first placement direction and a third placement direction, and the other set of extended display identification data corresponds to a second placement direction and a fourth placement direction, characterized in that: include: An acquisition module, used for acquiring the acceleration of the display device based on an acceleration sensor; A determination module, used to determine the placement direction of the display device according to the acceleration; An adjustment module, used for setting a display screen of the display device according to the placement direction; When the adjustment module sets the display screen of the display device according to the placement direction, it is specifically used to: If the placement direction is the first placement direction, the display screen is set to the first display direction, the display screen is set to the first resolution, and the extended display identification data is adjusted to adapt to the first placement direction, so that other devices connected to the display device will transmit the image data of the extended display identification data adjusted to conform to the first placement direction to the display device; If the placement direction is the second placement direction, the display screen is set to the second display direction, the display screen is set to the second resolution, and the extended display identification data is adjusted to adapt to the second placement direction, so that other devices connected to the display device will transmit the image data of the extended display identification data adjusted to conform to the second placement direction to the display device; If the placement direction is the third placement direction, the display screen is set to the third display direction, the display screen is set to the first resolution, and the extended display identification data is adjusted to adapt to the third placement direction, so that other devices connected to the display device will transmit the image data of the extended display identification data adjusted to conform to the third placement direction to the display device; If the placement direction is the fourth placement direction, the display screen is set to the fourth display direction, and the display screen is set to the second resolution, and the extended display identification data is adjusted to adapt to the fourth placement direction, so that other devices connected to the display device will transmit the image data of the extended display identification data adjusted to conform to the fourth placement direction to the display device.
7. A computer device, characterized in that: include: Processor, memory, bus, input and output interface, network interface; The processor is connected to the memory, the input / output interface, and the network interface via a bus; The memory stores a program; When the processor executes the program stored in the memory, the display screen setting method according to any one of claims 1 to 5 is implemented.
8. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores instructions, and when the instructions are executed on a computer, the computer executes the display screen setting method according to any one of claims 1 to 5.
