Screen display parameter determination method, program product, electronic equipment and storage medium
Through a method based on pixel arrangement data, the area to be adjusted and the area division parameters of the display screen are determined, which solves the feasibility and high cost problems of display parameter determination in the existing technology, and achieves efficient screen display parameter optimization.
Patent Information
- Application Number
- CN202410694454.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-31
- Publication Date
- 2024-09-03
AI Technical Summary
The existing display parameter determination method has poor implementability and high cost. It needs to rely on the display screen for adjustment, which requires high operator requirements and increases labor costs.
By determining the display area to be adjusted based on the pixel arrangement data of the target display screen, and determining the screen display parameters based on the area division parameters, the position of the area division line and the outer display area, the implementability of the method is improved and the burden on the operator is reduced. Require.
It realizes that the screen display parameters can be determined without relying on the display screen, reduces the material cost, improves the operating efficiency and display effect, and solves the implementability and cost problems of the existing method.
Smart Images

Figure CN118585162A
Abstract
Description
Technical Field
[0001] The present application relates to the field of display technology, and in particular to a method for determining screen display parameters, a program product, an electronic device, and a storage medium. Background Art
[0002] A display is a display tool that displays certain electronic files on a display screen through a specific transmission device. Among them, the cutting process is an important part of the display manufacturing process, and the display panel needs to be cut into a display screen of appropriate size based on the cutting process.
[0003] The cutting process will cause burrs on the cutting edge of the display screen, affecting the display effect; it is necessary to adjust the display parameters of the display screen before it is put into use to optimize the display effect. The common method of determining the display parameters is: after the display screen is produced, the display parameters are adjusted according to the display parameters and the actual display effect of the upper screen to determine the optimized display parameters that meet the preset display effect.
[0004] The above display parameter determination method needs to be implemented based on the display screen, and its feasibility is poor; and the actual display effect is also judged subjectively by humans, which has high requirements for operators and increases labor costs. Summary of the invention
[0005] In view of this, the purpose of the embodiments of the present application is to provide a screen display parameter determination method, a program product, an electronic device and a storage medium to solve the technical problems of the existing display parameter determination method having poor feasibility and high cost.
[0006] In a first aspect, an embodiment of the present application provides a method for determining screen display parameters, the method comprising:
[0007] Determining a display area to be calibrated of the target display screen according to the pixel arrangement data of the target display screen;
[0008] Determining a corresponding area division method according to the shape of each display area to be adjusted;
[0009] The screen display parameters of the target display screen are determined according to the area division parameters of each display area to be adjusted, the position of the area division line and the outer display area of the area division line.
[0010] In the above implementation process, the screen display parameter determination method determines the display area to be adjusted of the target display screen according to the pixel arrangement data; determines the corresponding area division method according to the shape of the display area to be adjusted; and determines the screen display parameters of the target display screen according to the area division parameters, the position of the area division line, and the outer display area of the area division line. The screen display parameter determination method can determine the corresponding screen display parameters only according to the pixel arrangement data of the target display screen, thereby improving the feasibility of the scheme; and in the process of determining the screen display parameters, there is no need to rely on the display screen, thereby reducing material costs. In addition, based on the position of the area division line and the outer display area of the area division line, the corresponding display effect can be determined, thereby reducing the requirements for the operator and thus reducing the labor cost. The technical problems of poor feasibility and high cost of the existing display parameter determination method are solved.
[0011] Optionally, in an embodiment of the present application, determining the screen display parameters of the target display screen according to the area division parameters of each display area to be adjusted, the position of the area division line, and the outer display area of the area division line includes: when the area division parameters of the display area to be adjusted do not meet the preset display conditions, adjusting the area division parameters according to the position of the area division line and the outer display area of the area division line; when the area division parameters of the display area to be adjusted meet the preset display conditions, determining the area division parameters as area display parameters; determining the screen display parameters according to the area display parameters of each display area to be adjusted.
[0012] In the above implementation process, when the area division parameters do not meet the preset display conditions, the area division parameters are accurately adjusted according to the position of the area division line and the display area outside the area division line; so as to improve the speed of determining the screen display parameters. When the area division parameters of the display area to be adjusted meet the preset display conditions, the area division parameters are determined as the area display parameters; and according to the area display parameters of each display area to be adjusted, the screen display parameters of the target display screen are accurately determined.
[0013] Optionally, in an embodiment of the present application, the preset display condition includes: the area dividing line is located on the inner side of the target display screen, and the outer display area of the area dividing line is smaller than a preset area threshold; when the area dividing parameter of the display area to be adjusted satisfies the preset display condition, the area dividing parameter is determined as the area display parameter, including: when the area dividing line corresponding to the area dividing parameter is located on the inner side of the target display screen, and the outer display area of the area dividing line is smaller than the preset area threshold, the area dividing parameter is determined as the area display parameter.
[0014] Optionally, in an embodiment of the present application, when the area division parameters of the display area to be adjusted do not meet the preset display conditions, the area division parameters are adjusted according to the position of the area division line and the outer display area of the area division line, including: when the area division line corresponding to the area division parameter includes a portion located outside the target display screen or the outer display area of the area division line is greater than or equal to the preset area threshold, the area division parameters are adjusted.
[0015] In the above implementation process, since the area dividing line is located on the inner side of the target display screen, the content to be displayed can be fully displayed based on the target display screen; since the display area outside the area dividing line is smaller than the preset area threshold, the target display screen can be guaranteed to have a high display utilization rate.
[0016] Optionally, in an embodiment of the present application, when the area dividing line corresponding to the area dividing parameter is located on the inner side of the target display screen and the outer display area of the area dividing line is smaller than the preset area threshold, the area dividing parameter is determined as the area display parameter, including: when the area dividing line corresponding to the area dividing parameter is located on the inner side of the target display screen and the outer display area of the area dividing line is the smallest, the area dividing parameter is determined as the area display parameter.
[0017] In the above implementation process, the area division parameter is determined as the area display parameter when the area division line corresponding to the area division parameter is located on the inner side of the target display screen and the display area outside the area division line is the smallest; while ensuring that the target display screen can fully display the content to be displayed, the display utilization rate of the target display screen can be improved as much as possible.
[0018] Optionally, in an embodiment of the present application, determining the display area to be adjusted of the target display screen according to the pixel arrangement data of the target display screen includes: determining the screen area of the target display screen according to the pixel arrangement data; and determining at least one display area to be adjusted according to the shape of the screen area.
[0019] In the above implementation process, the display area where burrs are likely to appear can be determined according to the shape of the screen area; and then the display area to be adjusted can be accurately determined.
[0020] Optionally, in the embodiment of the present application, the screen area includes: a quasi-rectangular area including four rounded-corner sawtooth areas; the display area to be adjusted includes: four of the rounded-corner sawtooth areas;
[0021] The method of determining the screen display parameters of the target display screen according to the area division parameters of each display area to be adjusted, the position of the area division line, and the outer display area of the area division line includes: determining the area display parameters of each rounded corner sawtooth area according to the area division parameters of each rounded corner sawtooth area, the position of the area division line, and the outer display area of the area division line; and determining the screen display parameters according to the area display parameters of each rounded corner sawtooth area.
[0022] In the above implementation process, when the screen area includes a quasi-rectangular area with four rounded-corner sawtooth areas, since the burrs in the rounded-corner sawtooth areas are more obvious, the display effect of the rounded-corner sawtooth areas can be optimized by dividing the four rounded-corner sawtooth areas, thereby optimizing the display effect of the target display screen.
[0023] Optionally, in an embodiment of the present application, when the display area to be adjusted includes the rounded sawtooth area, the corresponding area division method includes: elliptical arc division; the area division line includes: multiple elliptical arcs; the area division parameters include: center position parameters, major and minor axis parameters, starting angle parameters and ending angle parameters of each segment of the elliptical arc;
[0024] The method of determining the area display parameters of each rounded sawtooth area according to the area division parameters of each rounded sawtooth area, the position of the area division line and the outer display area of the area division line includes: determining the position of each segment of the elliptical arc according to the center position parameters, major and minor axis parameters, starting angle parameters and ending angle parameters of each segment of the elliptical arc; and determining the area display parameters of each rounded sawtooth area according to the positions of multiple segments of the elliptical arc and the outer display area of multiple segments of the elliptical arc.
[0025] In the above implementation process, the area division lines based on multiple elliptical arcs can optimize the jagged cutting lines while eliminating smaller invalid jagged areas as much as possible to reduce the impact on the actual display area of the screen and improve the display utilization of the target display screen.
[0026] In a second aspect, an embodiment of the present application provides a computer program product, including a computer program / instruction, which, when executed by a processor, implements the method for determining screen display parameters as described in any one of the first aspects above.
[0027] In a third aspect, an embodiment of the present application further provides an electronic device; the electronic device includes:
[0028] Memory;
[0029] processor;
[0030] The memory stores a computer program executable by the processor. When the computer program is executed by the processor, the method for determining screen display parameters as described in any one of the first aspects above is performed.
[0031] In a fourth aspect, an embodiment of the present application further provides a computer-readable storage medium, on which computer program instructions are stored. When the computer program instructions are executed by a processor, the method for determining screen display parameters as described in any one of the first aspects above is executed.
[0032] The beneficial effects of the present application are as follows: the method for determining screen display parameters can determine the corresponding screen display parameters only based on the pixel arrangement data of the target display screen, thereby improving the feasibility of the solution; and in the process of determining the screen display parameters, there is no need to rely on the display screen, thereby reducing material costs. In addition, based on the position of the area dividing line and the outer display area of the area dividing line, the corresponding display effect can be determined, thereby reducing the requirements for operators and thus reducing labor costs. The technical problems of poor feasibility and high cost of the existing display parameter determination method are solved. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments of the present application will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0034] Figure 1 A flowchart of a method for determining screen display parameters provided in an embodiment of the present application;
[0035] Figure 2 A schematic diagram of a screen area provided in an embodiment of the present application;
[0036] Figure 3 A schematic diagram of a parameter adjustment interface for a display area to be adjusted provided in an embodiment of the present application;
[0037] Figure 4 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0038] The following embodiments of the technical solution of the present application will be described in detail in conjunction with the accompanying drawings. The following embodiments are only used to more clearly illustrate the technical solution of the present application, and are therefore only used as examples, and cannot be used to limit the scope of protection of the present application.
[0039] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by technicians in the technical field to which this application belongs; the terms used herein are only for the purpose of describing specific embodiments and are not intended to limit this application.
[0040] In the description of the embodiments of the present application, the technical terms "first", "second", etc. are only used to distinguish different objects, and cannot be understood as indicating or implying relative importance or implicitly indicating the number, specific order or primary and secondary relationship of the indicated technical features. In the description of the embodiments of the present application, the meaning of "multiple" is two or more, unless otherwise clearly and specifically defined.
[0041] See also Figure 1 The flowchart of a method for determining screen display parameters provided by an embodiment of the present application is shown. The method for determining screen display parameters may include the following steps:
[0042] S101, determining a display area to be adjusted of the target display screen according to pixel arrangement data of the target display screen;
[0043] S102, determining a corresponding area division method according to the shape of each display area to be adjusted;
[0044] S103: Determine the screen display parameters of the target display screen according to the area division parameters of each display area to be adjusted, the position of the area division line, and the display area outside the area division line.
[0045] Among them, in S101, the pixel arrangement data can be the pixel arrangement document data provided by the manufacturer that produces the target display screen; specifically, the pixel arrangement data of the target display screen can be obtained based on the pixel arrangement data when the screen is cut. The target display screen can be a liquid crystal display screen, or an LED display screen, or an OLED display screen, etc., and this application does not make specific limitations on this. The screen shape of the target display screen can be determined based on the pixel arrangement data, and then the display area to be adjusted can be determined based on the screen shape; the edge display area of the target display screen can also be determined based on the pixel arrangement data, and the display area to be adjusted can be determined based on the pixel arrangement of the edge display area.
[0046] In S102, the shape of the display area to be adjusted includes: linear sawtooth, rounded sawtooth, circular sawtooth, etc. The area division method corresponding to the linear sawtooth area can be linear division, the area division method corresponding to the rounded sawtooth area can be elliptical arc division, and the area division method corresponding to the circular sawtooth area can be circular division.
[0047] Among them, in S103, the screen display parameters of the target display screen may include regional display parameters of each display area to be adjusted. The positional relationship between the regional dividing line and the target display screen can be determined according to the position of the regional dividing line; the regional display parameters of each display area to be adjusted can be determined according to the positional relationship between the regional dividing line and the target display screen and the outer display area of the regional dividing line. Specifically, when the regional dividing line corresponding to the regional dividing parameter is located on the inner side of the target display screen and the outer display area of the regional dividing line is less than the preset area threshold, the regional display parameters of the corresponding display area to be adjusted can be determined based on the regional dividing parameter. The regional dividing line can be determined based on the regional dividing parameter, and the regional dividing line is configured to divide the display area to be adjusted into an actual display area and an actual non-display area; the actual display area refers to the screen area that will perform the display function during the actual application process; the actual non-display area refers to the screen area that will not perform the display function during the actual application process. The regional dividing line can be used to divide the actual display area that can achieve a smooth transition of the edge display in the display area to be adjusted. The display driver can adjust the actual display driving parameters according to the determined screen display parameters to drive the actual display area that can achieve smooth transition of edge display and the remaining display areas except the display area to be adjusted to perform display functions, thereby optimizing the screen display effect.
[0048] It can be seen that the screen display parameter determination method provided in the embodiment of the present application can determine the corresponding screen display parameters only based on the pixel arrangement data of the target display screen, thereby improving the feasibility of the solution; and in the process of determining the screen display parameters, there is no need to rely on the display screen, thereby reducing material costs. In addition, based on the position of the area dividing line and the outer display area of the area dividing line, the corresponding display effect can be determined, thereby reducing the requirements for the operator and thus reducing the labor cost. The technical problem that the existing display parameter determination method has poor feasibility and high cost is solved.
[0049] In some optional embodiments, S103, determining the screen display parameters of the target display screen according to the area division parameters of each display area to be adjusted, the position of the area division line, and the outer display area of the area division line, including: when the area division parameters of the display area to be adjusted do not meet the preset display conditions, adjusting the area division parameters according to the position of the area division line and the outer display area of the area division line; when the area division parameters of the display area to be adjusted meet the preset display conditions, determining the area division parameters as the area display parameters; determining the screen display parameters according to the area display parameters of each display area to be adjusted.
[0050] Among them, the preset display conditions may include: position restriction conditions for the area division line and area restriction conditions for the display area outside the area division line. When the area division parameters of the display area to be adjusted meet both the position restriction conditions and the area restriction conditions, it is considered that the area division parameters meet the preset display conditions; when the area division parameters of the display area to be adjusted do not meet the position restriction conditions or do not meet the area restriction conditions, it is considered that the area division parameters do not meet the preset display conditions and need to be adjusted. And when the area division parameters do not meet the preset display conditions, the area division parameters are accurately adjusted according to the position of the area division line and the display area outside the area division line; so as to improve the speed of determining the screen display parameters.
[0051] Among them, it can be judged whether the area division parameters meet the preset display conditions according to the position of the area division line and the outer display area of the area division line; when the area division parameters of the display area to be adjusted do not meet the preset display conditions, the area division parameters are adjusted according to the position of the area division line and the outer display area of the area division line; and again, it is judged whether the area division parameters meet the preset display conditions according to the position of the area division line corresponding to the adjusted area division parameters and the outer display area of the area division line.
[0052] In some optional embodiments, the preset display condition includes: the area dividing line is located on the inner side of the target display screen, and the outer display area of the area dividing line is smaller than a preset area threshold; when the area dividing parameter of the display area to be adjusted satisfies the preset display condition, the area dividing parameter is determined as the area display parameter, including: when the area dividing line corresponding to the area dividing parameter is located on the inner side of the target display screen, and the outer display area of the area dividing line is smaller than the preset area threshold, the area dividing parameter is determined as the area display parameter.
[0053] Among them, the area dividing line being located on the inner side of the target display screen means that the area dividing line does not include the portion located outside the target display screen. The display area outside the area dividing line refers to the area of the portion of the display screen located outside the area dividing line. The preset area threshold can be adjusted according to actual application conditions such as the area size of the display area to be adjusted and the area shape of the display area to be adjusted. Since the area dividing line is located on the inner side of the target display screen, the complete display of the content to be displayed can be achieved based on the target display screen; since the display area outside the area dividing line is smaller than the preset area threshold, the target display screen can be guaranteed to have a high display utilization rate.
[0054] Wherein, when the area division parameters of the display area to be adjusted do not meet the preset display conditions, the area division parameters are adjusted according to the position of the area division line and the outer display area of the area division line, including: when the area division line corresponding to the area division parameter includes a part located outside the target display screen or the outer display area of the area division line is greater than or equal to the preset area threshold, the area division parameters are adjusted.
[0055] In some optional embodiments, when the area dividing line corresponding to the area dividing parameter is located on the inner side of the target display screen and the outer display area of the area dividing line is smaller than the preset area threshold, the area dividing parameter is determined as the area display parameter, including: when the area dividing line corresponding to the area dividing parameter is located on the inner side of the target display screen and the outer display area of the area dividing line is the smallest, the area dividing parameter is determined as the area display parameter.
[0056] The smallest display area outside the region division line means that: when the preset division method and the actual display smoothness requirements are met, the outer display area is the smallest. By determining the region division parameter as the region display parameter when the region division line corresponding to the region division parameter is located inside the target display screen and the outer display area of the region division line is the smallest, the target display screen can be guaranteed to display the content to be displayed completely while the display utilization rate of the target display screen can be improved as much as possible.
[0057] In some optional embodiments, determining the display area to be adjusted of the target display screen according to the pixel arrangement data of the target display screen includes: determining the screen area of the target display screen according to the pixel arrangement data; and determining at least one display area to be adjusted according to the shape of the screen area.
[0058] Among them, the screen area can be the screen area of the target display screen determined according to the pixel arrangement data; it can also be a screen effect schematic diagram obtained by reverse parsing the pixel arrangement data. Taking the pixel arrangement data as a pixel arrangement document in Excel format provided by the manufacturer, in which 1 is used to represent a valid pixel point and 0 is used to represent an invalid pixel point as an example, a white data point can be generated in the software interface based on the valid pixel points in the document based on the existing software tools, and the invalid pixel points are not displayed. By stitching the data points, a screen area schematic diagram similar to the target display screen can be restored in the computer interface based on the above-mentioned pixel arrangement document. According to the shape of the screen area, the display area that is prone to burrs can be determined; and then the display area to be adjusted can be accurately determined. The number of display areas to be adjusted can be adjusted according to the shape of the screen area and the actual requirements for display smoothness.
[0059] In some optional embodiments, the screen area includes: a quasi-rectangular area including four rounded sawtooth areas; the display area to be adjusted includes: four of the rounded sawtooth areas; determining the screen display parameters of the target display screen according to the area division parameters of each of the display areas to be adjusted, the position of the area division line, and the outer display area of the area division line, includes: determining the area display parameters of each of the rounded sawtooth areas according to the area division parameters of each of the rounded sawtooth areas, the position of the area division line, and the outer display area of the area division line; determining the screen display parameters according to the area display parameters of each of the rounded sawtooth areas.
[0060] Among them, the area division parameters include position parameters that can reflect the position of the area division line, and area parameters that can reflect the display area outside the area division line. Specifically, when the display area to be adjusted includes a rounded sawtooth area, the corresponding area division method may include: arc division or elliptical arc division. When the area division method includes arc division, the area division parameters may include the center position parameters, radius parameters, starting angle parameters and ending angle parameters of each arc; when the area division method includes elliptical arc division, the area division parameters may include the center position parameters, major and minor axis parameters, starting angle parameters and ending angle parameters of each elliptical arc. The area division parameters can be adjusted according to the shape of the display area to be adjusted and the corresponding area division method.
[0061] Please refer to Figure 2 , Figure 2 A schematic diagram of a screen area provided in an embodiment of the present application. Figure 2Specifically, a common screen restoration schematic diagram of a rectangular area including four rounded sawtooth areas is shown. The display area to be adjusted can be determined according to the pixel arrangement of the edge display area (ie, the shape of the edge area). Figure 2 In the screen area shown, the display area to be adjusted may include: four rounded corner sawtooth areas: an upper left rounded corner sawtooth area, a lower left rounded corner sawtooth area, an upper right rounded corner sawtooth area, and a lower right rounded corner sawtooth area. Figure 2 The display area to be adjusted corresponding to the screen area shown also includes: the camera peripheral serrated area. In the case of high requirements for display smoothness, the display area to be adjusted may also include: a first linear serrated area between the upper left rounded serrated area and the lower left rounded serrated area, a second linear serrated area between the lower left rounded serrated area and the lower right rounded serrated area, a third linear serrated area between the lower right rounded serrated area and the upper right rounded serrated area, a fourth linear serrated area between the upper right rounded serrated area and the camera peripheral serrated area, and a fifth linear serrated area between the upper left rounded serrated area and the camera peripheral serrated area. Specifically, multiple display areas to be adjusted can be determined based on the shape of the screen area and the actual requirements for display smoothness. It should be noted that Figure 2 Several types of display areas to be adjusted are merely shown as examples, and the specific types of display areas to be adjusted can be adjusted according to actual application scenarios.
[0062] In some optional embodiments, when the display area to be adjusted includes the rounded sawtooth area, the corresponding area division method includes: elliptical arc division; the area division line includes: multiple elliptical arcs; the area division parameters include: center position parameters, major and minor axis parameters, starting angle parameters and ending angle parameters of each segment of the elliptical arc; determining the area display parameters of each rounded sawtooth area according to the area division parameters of each rounded sawtooth area, the position of the area division line and the outer display area of the area division line, includes: determining the position of each segment of the elliptical arc according to the center position parameters, major and minor axis parameters, starting angle parameters and ending angle parameters of each segment of the elliptical arc; determining the area display parameters of each rounded sawtooth area according to the positions of multiple segments of the elliptical arcs and the outer display areas of multiple segments of the elliptical arcs.
[0063] The number of segments of the multi-segment elliptical arc can be three, five or other reasonable values. Based on the area division line of the multi-segment elliptical arc, while optimizing the jagged cutting line, smaller invalid jagged areas can be eliminated as much as possible to reduce the impact on the actual display area of the screen and improve the display utilization rate of the target display screen.
[0064] Please refer to Figure 3 , Figure 3A schematic diagram of a parameter adjustment interface for a display area to be adjusted provided in an embodiment of the present application. Figure 3 The left side shows the display area to be adjusted. Figure 2 The upper left rounded sawtooth area in the image is divided by an elliptical arc, and the area division method is elliptical arc division. The area division line includes five elliptical arcs (the first elliptical arc, the second elliptical arc, the third elliptical arc, the fourth elliptical arc and the fifth elliptical arc); the corresponding parameter adjustment area (including the parameter adjustment button for each elliptical arc) is shown on the right. After restoring the screen area schematic diagram similar to the target display screen in the software interface according to the valid pixel points in the document based on the existing software tools, the five elliptical arcs can be restored in the software interface according to the division parameters corresponding to each elliptical arc; the pixel-level display effect can be achieved for the target display screen and the dividing line. And after adjusting the area division parameters, the positional relationship between the adjusted area division line and the target display screen, the outer display area of the area division line, etc. can be displayed in real time for the operator's reference. Figure 3 As shown, the parameter adjustment interface of the display area to be adjusted may also include multiple parameter display areas and dividing line display areas for the display areas to be adjusted. Based on the parameter display area, the area division parameters (or key parameters) of each display area to be adjusted may be displayed; so as to refer to the parameters of other display areas to be adjusted, and adjust the area division parameters of the current display area to be adjusted more quickly and accurately. Based on the dividing line display area, the dividing lines corresponding to the current area division parameters may be displayed. A unified coordinate system may be established to represent the pixel coordinates and area division parameters in the screen area. It is understandable that Figure 3 The interface diagram of a parameter adjustment method is only shown as an example, and the specific parameter adjustment method can be adjusted according to the actual application situation.
[0065] Among them, the zooming in of the display area to be adjusted can be achieved based on the operation buttons of the software tool such as local zooming in, local zooming out, and global display; according to the positional relationship between the five-segment elliptical arc and the screen area after the zooming in, and the outer display area of the five-segment elliptical arc, it is more convenient and accurate to determine whether the current area division parameters meet the preset display conditions. Since the present application can zoom in on the display area to be adjusted, it is possible to manually and accurately determine whether the area division parameters meet the preset display conditions based on the five-segment elliptical arc and the screen area after the zooming in. It is also possible to calculate the positional relationship between the five-segment elliptical arc and the screen area and the outer display area of the five-segment elliptical arc based on the division parameters corresponding to each segment of the elliptical arc; and then more accurately determine whether the current area division parameters meet the preset display conditions based on the calculated data.
[0066] like Figure 3As shown, since the target display screen is cut, cutting jagged edges are likely to appear in the corner cutting area. When the entire display screen is fully lit, these jagged edges will affect the display effect, resulting in an unsmooth transition of the edge display of the screen. In the case where the screen area includes a quasi-rectangular area with four rounded corner jagged areas, since the burrs in the rounded corner jagged areas are more obvious, the display effect of the rounded corner jagged areas can be optimized by dividing the four rounded corner jagged areas, thereby optimizing the display effect of the target display screen.
[0067] An embodiment of the present application also provides a computer program product, including a computer program / instruction, which, when executed by a processor, implements the method for determining screen display parameters as described in any one of the first aspects.
[0068] Please refer to Figure 4 , Figure 4 The present invention provides a schematic diagram of the structure of an electronic device 200 provided in an embodiment of the present application. The electronic device 200 includes: a memory 202 and a processor 201; the memory 202 stores a computer program executable by the processor 201, and when the computer program is executed by the processor 201, the method for determining screen display parameters as described in any one of the first aspects is executed.
[0069] The memory 202 and the processor 201 may be interconnected and communicate with each other via a communication bus 203 and / or other forms of connection mechanisms (not shown). The memory 202 stores a computer program executable by the processor 201, and when the computer program is executed by the processor 201, the method for determining screen display parameters as described in any one of the first aspects is executed.
[0070] An embodiment of the present application further provides a computer-readable storage medium, on which computer program instructions are stored. When the processor 201 runs the computer program instructions, the method for determining screen display parameters as described in any one of the first aspects is executed.
[0071] Among them, the storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable red-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, disk or optical disk.
[0072] In several embodiments provided by the embodiments of the present application, it should be understood that the disclosed devices and methods can also be implemented in other ways. The method embodiments described above are merely schematic. For example, the flowchart or block diagram in the accompanying drawings shows the possible implementation architecture, functions and operations of the methods and computer program products according to the multiple embodiments of the embodiments of the present application. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of the code, and a part of the module, program segment or code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order than the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, and the combination of boxes in the block diagram and / or flowchart can be implemented with a dedicated hardware-based system that performs a specified function or action, or can be implemented with a combination of dedicated hardware and computer instructions.
[0073] In addition, the functional modules in each embodiment of the present application can be integrated together to form an independent part, or each module can exist separately, or two or more modules can be integrated to form an independent part.
[0074] The above description is only an optional implementation manner of the embodiments of the present application, but the protection scope of the embodiments of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or replacements within the technical scope disclosed in the embodiments of the present application, which should be covered within the protection scope of the embodiments of the present application.
Claims
1. A method for determining screen display parameters, characterized in that: The method comprises: Determining a display area to be calibrated of the target display screen according to the pixel arrangement data of the target display screen; Determining a corresponding area division method according to the shape of each display area to be adjusted; The screen display parameters of the target display screen are determined according to the area division parameters of each display area to be adjusted, the position of the area division line and the outer display area of the area division line.
2. The method according to claim 1, characterized in that Determining the screen display parameters of the target display screen according to the area division parameters of each display area to be adjusted, the position of the area division line, and the outer display area of the area division line includes: When the area division parameters of the display area to be adjusted do not meet the preset display conditions, adjusting the area division parameters according to the position of the area division line and the outer display area of the area division line; In the case where the area division parameter of the display area to be adjusted meets the preset display condition, determining the area division parameter as the area display parameter; The screen display parameters are determined according to the regional display parameters of each display region to be adjusted.
3. The method according to claim 2, characterized in that The preset display condition includes: the area dividing line is located inside the target display screen, and the display area outside the area dividing line is smaller than a preset area threshold; When the area division parameter of the display area to be adjusted meets the preset display condition, the area division parameter is determined as the area display parameter, including: when the area division line corresponding to the area division parameter is located on the inner side of the target display screen, and the outer display area of the area division line is smaller than the preset area threshold, the area division parameter is determined as the area display parameter.
4. The method according to claim 3, characterized in that The step of determining the area division parameter as the area display parameter when the area division line corresponding to the area division parameter is located inside the target display screen and the display area outside the area division line is smaller than the preset area threshold comprises: In the case where the area division line corresponding to the area division parameter is located inside the target display screen and the display area outside the area division line is the smallest, the area division parameter is determined as the area display parameter.
5. The method according to claim 1, characterized in that The step of determining the display area to be adjusted of the target display screen according to the pixel arrangement data of the target display screen comprises: Determining a screen area of the target display screen according to the pixel arrangement data; At least one display area to be adjusted is determined according to the shape of the screen area.
6. The method according to claim 5, characterized in that in, The screen area includes: a quasi-rectangular area including four rounded-corner sawtooth areas; the display area to be adjusted includes: four of the rounded-corner sawtooth areas; Determining the screen display parameters of the target display screen according to the area division parameters of each display area to be adjusted, the position of the area division line, and the outer display area of the area division line includes: Determine the area display parameter of each of the rounded corner sawtooth areas according to the area division parameter of each of the rounded corner sawtooth areas, the position of the area division line, and the outer display area of the area division line; The screen display parameter is determined according to the region display parameter of each of the rounded sawtooth regions.
7. The method according to claim 6, characterized in that In the case where the display area to be adjusted includes the rounded sawtooth area, the corresponding area division method includes: elliptical arc division; the area division line includes: multiple elliptical arcs; the area division parameters include: center position parameters, major and minor axis parameters, starting angle parameters and ending angle parameters of each segment of the elliptical arc; Determining the area display parameter of each of the rounded sawtooth areas according to the area division parameter of each of the rounded sawtooth areas, the position of the area division line, and the outer display area of the area division line includes: Determine the position of each segment of the elliptical arc according to the center position parameters, major and minor axis parameters, starting angle parameters and ending angle parameters of each segment of the elliptical arc; The area display parameter of each of the rounded sawtooth areas is determined according to the positions of the multiple elliptical arcs and the outer display areas of the multiple elliptical arcs.
8. A computer program product comprising a computer program / instructions, characterized in that When the computer program / instruction is executed by a processor, the method for determining screen display parameters as described in any one of claims 1 to 7 is implemented.
9. An electronic device, characterized in that: The electronic device comprises: Memory; processor; The memory stores a computer program / instruction executable by the processor. When the computer program / instruction is executed by the processor, the method for determining screen display parameters according to any one of claims 1 to 7 is executed.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program / instruction, and when the computer program / instruction is executed by a processor, the method for determining screen display parameters according to any one of claims 1 to 7 is executed.
