Display control method, apparatus, device, medium, and product
Patent Information
- Application Number
- CN202210716494.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-22
- Publication Date
- 2026-10-30
- Estimated Expiration
- 2042-06-22
AI Technical Summary
但是,在实际应用中,由于产品本身的误差,即使完全相同型号的屏幕,在显示参数设置为同一取值,获得的显示效果也无法保证完全一致,例如,两个屏幕的亮度均设置为100时,会出现亮度一高一低的现象
[0021]第四方面,本公开实施例提供一种计算机可读存储介质,计算机可读存储介质中存储有计算机执行指令,当处理器执行计算机执行指令时,实现如上第一方面以及第一方面各种可能的设计的显示控制方法。
Smart Images

Figure CN117316082B_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of computer technology, and in particular to a display control method, apparatus, device, medium, and product. Background Technology
[0002] With the rapid development of technology, terminal devices are becoming increasingly diverse. Many terminal devices may use two or more screens; for example, VR devices, foldable phones, and large-screen displays typically have multiple screens. To ensure screen consistency across terminal devices, such as consistent brightness and color, it's usually necessary to uniformly set the screen parameters for all screens. For instance, when brightness is used as a screen parameter, all screens can be set to the same value. This is especially true in extended reality devices, which often employ a design where each eye corresponds to a separate screen. In this design, to achieve a more comfortable display, the actual display on the left and right eye screens needs to be consistent. However, in practical applications, due to inherent product variations, even screens of the exact same model, with identical display parameters, cannot guarantee completely consistent display effects. For example, if both screens are set to 100 brightness, one will appear brighter than the other. Summary of the Invention
[0003] This disclosure provides a display control method, apparatus, device, medium, and product.
[0004] In a first aspect, embodiments of this disclosure provide a display control method applied to a head-mounted device, the head-mounted device including a first screen and a second screen, comprising:
[0005] Determine the parameter mapping relationship between the first screen and the second screen in the target display parameters;
[0006] Retrieve the target parameter value set for the target display parameters;
[0007] Based on the target parameter values and parameter mapping relationships, determine the first parameter value corresponding to the first screen and the second parameter value corresponding to the second screen;
[0008] Set the first screen's target display parameter to the first parameter value, and simultaneously set the second screen's target display parameter to the second parameter value.
[0009] In a second aspect, embodiments of this disclosure provide a display control device disposed in a head-mounted device, the head-mounted device including a first screen and a second screen, comprising:
[0010] The parameter mapping unit is used to determine the parameter mapping relationship between the first screen and the second screen in the target display parameters;
[0011] The target acquisition unit is used to acquire the target parameter values set for the target display parameters.
[0012] The parameter adjustment unit is used to determine the first parameter value corresponding to the first screen and the second parameter value corresponding to the second screen based on the target parameter value and the parameter mapping relationship.
[0013] The display setting unit is used to set the target display parameters of the first screen to a first parameter value, and at the same time set the target display parameters of the second screen to a second parameter value.
[0014] Thirdly, embodiments of this disclosure provide a head-mounted device, including: a processor and a memory, a first screen, and a second screen; the processor, the memory, the first screen, and the second screen are interconnected by circuitry.
[0015] The memory stores the instructions that the computer executes;
[0016] The processor executes computer execution instructions stored in memory, enabling the processor to perform:
[0017] Determine the parameter mapping relationship between the first screen and the second screen in the target display parameters;
[0018] Retrieve the target parameter value set for the target display parameters;
[0019] Based on the target parameter values and parameter mapping relationships, determine the first parameter value corresponding to the first screen and the second parameter value corresponding to the second screen;
[0020] Set the first screen to the target display parameter value and the second screen to the target display parameter value.
[0021] Fourthly, embodiments of this disclosure provide a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, implement the display control method described in the first aspect and various possible designs of the first aspect.
[0022] Fifthly, embodiments of this disclosure provide a computer program product, including a computer program that, when executed by a processor, implements the display control method described in the first aspect above and various possible designs of the first aspect.
[0023] The head-mounted device in this embodiment may include a first screen and a second screen. By determining the parameter mapping relationship between the first screen and the second screen corresponding to the target display parameters, parameter analysis is performed between two or more screens. Furthermore, after obtaining the target parameter value set for the target display parameters, a first parameter value corresponding to the first screen and a second parameter value corresponding to the second screen can be determined based on the target parameter value and the parameter mapping relationship. This allows setting the first screen to the first parameter value and the second screen to the second parameter value in the target display parameters. Through the parameter mapping relationship between screens, accurate parameter settings can be performed across multiple screens, enabling accurate parameter settings for different screens using the target parameter value, thereby improving the accuracy and efficiency of display parameter settings. Attached Figure Description
[0024] To more clearly illustrate the technical solutions in the embodiments of this disclosure or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of this disclosure. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0025] Figure 1 An application network architecture diagram of the display control method provided in the embodiments of this disclosure;
[0026] Figure 2 A flowchart of one embodiment of a display control method provided in this disclosure;
[0027] Figure 3 A flowchart of yet another embodiment of a display control method provided in this disclosure;
[0028] Figure 4 A flowchart of yet another embodiment of a display control method provided in this disclosure;
[0029] Figure 5 A flowchart of yet another embodiment of a display control method provided in this disclosure;
[0030] Figure 6 An example diagram showing the setup of a display screen and a sensor provided for an embodiment of this disclosure;
[0031] Figure 7 A schematic diagram of a display control device provided in an embodiment of this disclosure;
[0032] Figure 8 This is a schematic diagram of the hardware structure of a head-mounted device provided in an embodiment of the present disclosure. Detailed Implementation
[0033] To make the objectives, technical solutions, and advantages of the embodiments of this disclosure clearer, the technical solutions of the embodiments of this disclosure will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this disclosure, and not all embodiments. Based on the embodiments of this disclosure, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this disclosure.
[0034] The technical solution disclosed herein can be applied to dual-screen display control scenarios in VR technology. By obtaining the parameter mapping relationship between the two screens, screens with different display scenarios can be controlled to improve the display efficiency of the screens.
[0035] In related technologies, to improve the display clarity of terminal devices, multiple screens can be set in the device, typically two screens. To ensure that the display effect of multiple screens is the same, they usually need to be set to the same display parameter values. Especially in extended display devices, a design is often used where each eye corresponds to a separate screen. In this design, to obtain a more comfortable display effect, the display on the left and right eye screens needs to be consistent. For example, the brightness of both screens in a VR device is set to 100 so that both screens display a brightness of 100. However, in practical applications, due to inherent product errors, even screens of the exact same model cannot guarantee completely consistent display effects when multiple screens are set to the same display parameter values.
[0036] To address the aforementioned technical issues, research revealed that limitations in manufacturing processes and hardware lead to inconsistent control of display parameters across different screens. For example, if two screens are both set to a brightness value of 100, their actual brightness at the end of the setting might be 98 and 103 respectively, resulting in inconsistent brightness settings. By analyzing display data for the same display parameters, a mapping relationship between screen parameters can be established. This mapping relationship allows for the actual adjustment of parameters to ensure that two or more screens achieve the same display effect.
[0037] In embodiments of this disclosure, the head-mounted device may include a first screen and a second screen. A parameter mapping relationship between the first screen and the second screen corresponding to target display parameters is determined, enabling parameter analysis between two or more screens. Furthermore, after obtaining the target parameter value set for the target display parameters, a first parameter value corresponding to the first screen and a second parameter value corresponding to the second screen can be determined based on the target parameter value and the parameter mapping relationship. This allows setting the first screen to the first parameter value and the second screen to the second parameter value in the target display parameters. Through the parameter mapping relationship between screens, accurate parameter settings can be performed across multiple screens, enabling accurate parameter settings for different screens using target parameter values, thereby improving the accuracy and efficiency of display parameter settings.
[0038] The technical solutions of this disclosure and how they solve the aforementioned technical problems will be described in detail below with specific embodiments. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described again in some embodiments. The embodiments of the present invention will be described in detail below with reference to the accompanying drawings.
[0039] Figure 1 This is an application network architecture diagram of the control method shown in this disclosure. The application network architecture according to embodiments of this disclosure may include a head-mounted device and a terminal device connected to the head-mounted device via a local area network (LAN) or a wide area network (WAN). It is assumed that the head-mounted device can be a personal computer, a regular server, a supercomputer, a cloud server, or other similar type of server; this disclosure does not impose excessive limitations on the specific type of head-mounted device. The terminal device may be, for example, a mobile phone, tablet computer, personal computer, smart home appliance, wearable device, etc.; this disclosure does not impose excessive limitations on the specific type of terminal device. Figure 1 As shown, with the terminal device as cloud server 1, the head-mounted device 2 can be configured with two screens, 21 and 22 respectively. Cloud server 1 can determine any one of the screens of the head-mounted device 2, including the first screen and the second screen. Based on the technical solution of this disclosure, cloud server 1 can set parameters for the first screen and the second screen to achieve consistent parameter settings for the display effect of two or more screens, thereby improving the accuracy of parameter settings.
[0040] refer to Figure 2 , Figure 2 The flowchart illustrates one embodiment of a display control method provided in this disclosure. This display control method can be used in a head-mounted device, which includes a first screen and a second screen. The display control method may include the following steps:
[0041] 201: Determine the parameter mapping relationship between the first screen and the second screen in the target display parameters.
[0042] Optionally, to differentiate between different screens, a screen identifier can be set for each screen to distinguish them. The first screen and the second screen can be the same model.
[0043] In practical applications, the first screen and the second screen can have a one-to-one or one-to-many relationship. That is, the target screen in the first screen and the second screen can include one, and the other screens can include multiple screens. The target screen can be either the first screen or the second screen. The method for determining the target screen can be referred to the description of the following embodiments, which will not be repeated here. For example, when the first screen is the target screen, the first screen can include one, and the second screen can include multiple. When the second screen is the target screen, the second screen can include one, and the first screen can include multiple.
[0044] The parameter mapping relationship can be represented by a parameter transformation equation or function corresponding to the target display parameters of the first screen and the second screen, which can be expressed as y = f(x), where x can be the parameter value of the target screen, and y can represent the parameter value of other screens calculated from the parameter value of the target screen. The parameter mapping relationship allows for the mutual conversion of parameter values corresponding to the target display parameters between the first screen and the second screen.
[0045] The screen size, type, shape, and other parameters of the first and second screens are not within the scope of the target display parameters involved in this disclosure. For example, the shape of the screen can be set to any shape such as rectangle, circle, or polygon according to actual usage requirements. This disclosure does not impose too many restrictions on the screen size, shape, type, and other parameters.
[0046] 202: Get the target parameter value set for the target display parameters.
[0047] Among them, obtaining the target parameter value set for the target display parameter may include: obtaining the target parameter value set by the user for the target display parameter in the head-mounted device.
[0048] As an alternative, the head-mounted device can output a setting page for target display parameters. Users can input parameter values manually, via handheld devices, or through eye movements, and the head-mounted device can detect the target parameter values set by the user for the target display parameters. Typically, the head-mounted device can detect and obtain the target parameter values corresponding to the target display parameters.
[0049] The target display parameters can be parameters related to the screen's display effect, such as brightness parameters, color temperature parameters, etc.
[0050] 203: Based on the target parameter value and parameter mapping relationship, determine the first parameter value corresponding to the first screen and the second parameter value corresponding to the second screen.
[0051] The parameter mapping relationship can include the calculation relationship of the parameter difference between the first screen and the second screen. The parameter difference between the first screen and the second screen can be calculated through the parameter mapping relationship. The parameter difference is the difference between the actual values of the target display parameter for the first screen and the second screen when the target display parameter is set to the same value. For example, if the brightness parameter of both the first screen and the second screen is set to 100, the actual brightness of the first screen is 98, and the actual brightness of the second screen is 103. Therefore, the parameter difference between the first screen and the second screen is 5.
[0052] 204: Set the first screen's target display parameter to the first parameter value, and simultaneously set the second screen's target display parameter to the second parameter value.
[0053] Setting the target display parameters of the first screen to a first parameter value and the target display parameters of the second screen to a second parameter value may include: generating a first setting instruction to set the target display parameters of the first screen to the first parameter value and generating a second setting instruction to set the target display parameters of the second screen to the second parameter value; providing the first setting instruction and the second setting instruction to the head-mounted device; and having the head-mounted device, in response to the first setting instruction and the second setting instruction, set the target display parameters of the first screen to the first parameter value and the target display parameters of the second screen to the second parameter value.
[0054] In this embodiment, a first screen and a second screen in a head-mounted device can be acquired. By determining the parameter mapping relationship between the first screen and the second screen corresponding to target display parameters, parameter analysis between two or more screens can be achieved. Furthermore, after obtaining the target parameter value set for the target display parameters, a first parameter value corresponding to the first screen and a second parameter value corresponding to the second screen can be determined based on the target parameter value and the parameter mapping relationship. This allows setting the first screen to the first parameter value and the second screen to the second parameter value in the target display parameters. Through the parameter mapping relationship between screens, accurate parameter settings can be performed across multiple screens, enabling accurate parameter settings for different screens using target parameter values, thereby improving the accuracy and efficiency of display parameter settings.
[0055] To obtain accurate parameter setting results, when determining parameter values, you can first set the parameters for any one of the screens to improve the accuracy of the screen settings. For example... Figure 3 The diagram shown is a flowchart of yet another embodiment of a display control method provided in this disclosure. This method is related to... Figure 2 The difference in the illustrated embodiment is that, based on the target parameter value and the parameter mapping relationship, determining the first parameter value corresponding to the first screen and the second parameter value corresponding to the second screen may include:
[0056] 301: Determine the target screen from the first screen and the second screen.
[0057] 302: Determine the target parameter value as the first target parameter value corresponding to the target display parameter on the target screen.
[0058] 303: Based on the target parameter values and parameter mapping relationships, perform parameter calculations on the target display parameters to obtain the mapped parameter values.
[0059] The parameter mapping relationship can be a calculation relationship for the parameter difference between the first screen and the second screen, specifically including the linear fitting function corresponding to the parameter difference. The target parameter value can be input into the parameter mapping relationship, and the output obtained through the parameter mapping relationship is the parameter difference. The mapped parameter value can be calculated using the parameter difference and the target parameter value. Alternatively, the target parameter value and the mapped parameter value can be set as the parameter values corresponding to the target display parameters for the first screen and the second screen, obtaining the first parameter value of the first display parameter and the second parameter value of the second display parameter.
[0060] 304: The mapping parameter value is determined to be the second target parameter value for a screen other than the target screen.
[0061] 305: Based on the first target parameter value of the target screen and the second target parameter values of other screens, determine the first parameter value corresponding to the first screen and the second parameter value corresponding to the second screen.
[0062] The target screen can be determined from the first screen and the second screen. Generally, it can be randomly determined as long as it does not exceed the parameter value range.
[0063] In this embodiment, any screen can be designated as the target screen. A first target parameter value corresponding to the target display parameter on the target screen is determined. Through the target parameter value and parameter mapping relationship, parameter calculations are performed on the target display parameter to obtain a mapped parameter value. This mapped parameter value is then determined as a second target parameter value for other screens besides the target screen. By using the first target parameter value corresponding to the target screen and the second target parameter values corresponding to other screens, the first parameter value corresponding to the first screen and the second parameter value corresponding to the second screen can be determined. By setting the parameters of the target screen, the target parameters of another target screen can be accurately determined, achieving accurate acquisition of parameter values for each screen and improving the efficiency and accuracy of screen acquisition.
[0064] As another embodiment, after obtaining the target parameter value set for the target display parameter, the method further includes:
[0065] Obtain the value range of the first parameter corresponding to the target display parameter on the first screen and the value range of the second parameter corresponding to the target display parameter on the second screen;
[0066] Obtain the target setting value of the target display parameters;
[0067] Retrieve the target parameter values set for the target display parameters, including:
[0068] If the target setpoint is determined to be within the range of both the first and second parameters, then the target setpoint is determined to be the target parameter value.
[0069] Determining the target screen from the first screen and the second screen includes:
[0070] The target screen is randomly selected from the first screen and the second screen.
[0071] Optionally, obtaining the target setting value of the target display parameter may include: outputting the parameter setting range of the target display parameter, and detecting the value selected by the user from the parameter setting range as the target setting value. Taking brightness as an example, the brightness setting range can be output as 1-100, and any value selected by the user from 1-100 can be detected as the target setting value. For example, if the user selects 50, the target setting value is 50.
[0072] Obtaining the target setting value of the target display parameter may further include: obtaining the default value set for the target display parameter, so as to use the default value as the target setting value.
[0073] The determination steps for whether the target set value is within the range of the first parameter value may include: determining whether the target set value is less than the first maximum value of the range of the first parameter value and at the same time greater than the first minimum value of the range of the first parameter value; if so, it is within the range of the first parameter value; if not, it is not within the range of the first parameter value.
[0074] The step of determining whether the target setpoint is within the range of the second parameter may include: determining whether the target setpoint is less than the second maximum value of the range of the second parameter and simultaneously greater than the second minimum value of the range of the second parameter. If yes, it is within the range of the second parameter; otherwise, it is not within the range of the second parameter.
[0075] In this context, the maximum value of any parameter within its range can be considered the maximum value of that parameter within its range, and the minimum value can be considered the minimum value of that parameter within its range. Generally, the range of parameter values can be considered a closed interval.
[0076] For ease of understanding, the range of the first parameter is represented by (a1, a2), and the range of the second parameter is represented by (b1, b2). If the target setting value T is between (a1, a2) or between (b1, b2), then the target setting value is determined to be the target parameter value.
[0077] In this embodiment of the disclosure, after obtaining the target parameter value set for the target display parameter, the value of the target display parameter can be constrained by using the first parameter value range corresponding to the target display parameter on the first screen and the second parameter value range corresponding to the target display parameter on the second screen. When obtaining the target setting value provided by the user, if the target setting value does not exceed the value range of both screens, the candidate parameter can be determined as the display parameter, thereby achieving accurate setting of the target screen, improving the effectiveness of screen setting, avoiding invalid parameter settings, and achieving more precise control of the screen.
[0078] In one possible design, obtaining the target parameter value set for the target display parameter may include:
[0079] If the target set value is within the range of the first parameter and not within the range of the second parameter, then the target set value is determined to be the target parameter value.
[0080] Determining the target screen from the first screen and the second screen includes:
[0081] The first screen is identified as the target screen.
[0082] When the target setting value is within the range of the first parameter, the first screen can be used as the target screen to achieve the setting within the range of the first screen.
[0083] Similarly, the range of the first parameter is represented by (a1, a2), and the range of the second parameter is represented by (b1, b2). If the target setting value T is between (a1, a2) and not between (b1, b2), then the target setting value is determined to be the target parameter value, and the first screen is determined to be the target screen.
[0084] In this embodiment of the disclosure, when the target setting value is detected to be within the range of the first parameter value and not within the range of the second parameter value, the target setting value can be determined to be the target parameter value. At this time, the first screen can be determined to be the target screen. By judging the target setting value, the target screen can be accurately selected, avoiding the target parameter value from falling within the parameter value range of the selected target screen, thereby improving the accuracy of display control.
[0085] In another possible design, the target parameter value set for the target display parameters is obtained, including:
[0086] If the target set value is not within the range of the first parameter but is within the range of the second parameter, then the target set value is determined to be the target parameter value.
[0087] Determining the target screen from the first screen and the second screen includes:
[0088] The second screen is selected as the target screen.
[0089] When the target setting value is within the range of the second parameter, the second screen can be used as the target screen to achieve the setting within the range of the second screen's value.
[0090] Similarly, the range of the first parameter is represented by (a1, a2), and the range of the second parameter is represented by (b1, b2). If the target setting value T is not between (a1, a2) but is between (b1, b2), then the target setting value is determined to be the target parameter value, and the second screen is determined to be the target screen.
[0091] In this embodiment of the disclosure, when it is detected that the target setting value is not within the range of the first parameter value but is within the range of the second parameter value, the target setting value can be determined as the target parameter value. At this time, the second screen can be determined as the target screen. By judging the target setting value, the target screen can be accurately selected, avoiding the target parameter value from falling within the parameter value range of the selected target screen, thereby improving the accuracy of display control.
[0092] In another possible design, obtaining the target parameter value set for the target display parameter may include:
[0093] If it is determined that the target setting value is not within the range of the first parameter and not within the range of the second parameter, then it is determined whether the target setting value is greater than the maximum parameter value in the range of the first parameter and the range of the second parameter.
[0094] If so, then obtain the first maximum value from the range of the first parameter and the second maximum value from the range of the second parameter; determine the minimum value between the first maximum value and the second maximum value as the target parameter value;
[0095] If not, then obtain the first minimum value from the range of the first parameter and the second minimum value from the range of the second parameter; determine the maximum value between the first minimum value and the second minimum value as the target parameter value;
[0096] Determining the target screen from the first screen and the second screen includes:
[0097] Based on the range of parameter values corresponding to the target parameter values, the screen corresponding to the range of parameter values is determined as the target screen.
[0098] The maximum parameter value within the range of the first parameter and the range of the second parameter can be determined from the first maximum value within the range of the first parameter and the second maximum value within the range of the second parameter. Specifically, the maximum value between the first maximum value and the second maximum value can be determined as the maximum parameter value.
[0099] When it is determined that the target setting value is not within the range of the first parameter and not within the range of the second parameter, it can be determined that the target setting value is in a range outside the range of the first parameter and the range of the second parameter. This range can generally include the range corresponding to its maximum parameter value or the range corresponding to its minimum value.
[0100] When the target set value is determined to be greater than the maximum parameter value in the range of the first parameter and the range of the second parameter, the first maximum value can be obtained from the range of the first parameter and the second maximum value can be obtained from the range of the second parameter; the minimum value between the first maximum value and the second maximum value is determined to be the target parameter value.
[0101] When it is determined that the target setting value is not within the range of the first parameter and not within the range of the second parameter, it can be determined that the target setting value is not within the range of the first parameter and the range of the second parameter, and is less than the range corresponding to its minimum parameter value.
[0102] Similarly, the range of the first parameter is represented by (a1, a2), and the range of the second parameter is represented by (b1, b2). If the target setting value T is not between (a1, a2) and not between (b1, b2), it is determined whether the target setting value T is greater than max{a2, b2}. If so, the target parameter value is determined to be min{a2, b2}. Otherwise, it is determined whether the target setting value T is less than min{a1, b1}, and the target parameter value is determined to be max{a1, b1}. At this point, the screen corresponding to the parameter value range of the selected parameter can be determined as the target screen. For example, assuming the target parameter value is a2, the first screen is determined to be the target screen.
[0103] In this embodiment, when the target set value is within the parameter value range of both screens, the system checks whether the target set value is greater than the maximum parameter value of the first and second parameter value ranges. If so, the minimum value among the maximum values of the screens is determined as the target parameter value, and the smaller maximum value is used as the target parameter value to prevent the parameter of the other screen from exceeding its maximum range. If not, the maximum value among the minimum values of the two screens is determined as the target parameter value, and the larger minimum value is used as the target parameter value to prevent the parameter of the other screen from exceeding its minimum range. By defining the parameter value range within which the target parameter value is located, the screen corresponding to that parameter value range can be used as the target screen, enabling accurate selection of the target screen.
[0104] To facilitate understanding, the following will be combined with... Figure 4 The steps for selecting target display parameters and target screen are described in detail, such as... Figure 4 The diagram shown is a flowchart of yet another embodiment of a display control method provided in this disclosure. Figures 2-3 The difference between the embodiments is that, after obtaining the target parameter value set for the target display parameter, it also includes:
[0105] 401. Obtain the value range of the first parameter corresponding to the target display parameter on the first screen and the value range of the second parameter corresponding to the target display parameter on the second screen.
[0106] Some steps in this embodiment are the same as some steps in the previous embodiments, and will not be repeated here.
[0107] 402: Get the target setting value of the target display parameters.
[0108] 403: Determine whether the target set value is simultaneously within the range of the first parameter and the range of the second parameter. If so, proceed to step 404. If not, proceed to step 405.
[0109] 404: The target setting value is determined to be the target parameter value, and the target screen is randomly determined from the first screen and the second screen.
[0110] 405: Determine if the target set value is within the range of the first parameter and not within the range of the second parameter. If so, proceed to step 406; otherwise, proceed to step 407.
[0111] 406: Determine the target setting value as the target parameter value, and determine the first screen as the target screen.
[0112] 407: Determine if the target set value is not within the range of the first parameter but is within the range of the second parameter. If so, proceed to step 408; otherwise, proceed to step 409.
[0113] 408: Determine the target setting value as the target parameter value, and determine the second screen as the target screen.
[0114] 409: Determine whether the target set value is greater than the maximum parameter value in the range of the first parameter and the range of the second parameter. If yes, proceed to step 410; otherwise, proceed to step 411.
[0115] 410: Obtain the first maximum value from the range of the first parameter and the second maximum value from the range of the second parameter; determine the minimum value between the first maximum value and the second maximum value as the target parameter value.
[0116] 411: Obtain the first minimum value from the range of the first parameter and the second minimum value from the range of the second parameter; determine the maximum value between the first minimum value and the second minimum value as the target parameter value.
[0117] 412: Based on the range of parameter values corresponding to the target parameter value, determine the screen corresponding to the range of parameter values as the target screen.
[0118] In this embodiment of the disclosure, by making multiple judgments on the target set value, the target parameter value is accurately determined, avoiding the problem of the target display parameter being set out of range on each screen, resulting in invalid settings, and improving the effectiveness and accuracy of display control.
[0119] To obtain accurate parameter mapping relationships, such as Figure 5 The diagram shown is a flowchart of another embodiment of a display control method provided in this disclosure. The head-mounted device further includes: a first sensor disposed on a first screen, and a second sensor disposed on a second screen. Determining the parameter mapping relationship between the first screen and the second screen corresponding to the target display parameters may include:
[0120] 501: Obtain the first display curve corresponding to the target display parameters on the first screen.
[0121] 502: Obtain the second display curve corresponding to the target display parameters on the second screen.
[0122] 503: Based on the curve difference between the first display curve and the second display curve, determine the parameter mapping relationship between the first screen and the second screen in the target display parameters.
[0123] Based on the curve difference between the first and second display curves, determining the parameter mapping relationship between the first and second screens at the target display parameters may include: determining a first curve function for the first display curve, determining a second curve function for the second display curve, fitting the first and second curve functions using a linear function to obtain a curve equation with unknown parameters, solving the curve equation to obtain a curve equation with known parameters, and then using the curve equation with known parameters to convert it into a parameter mapping relationship between the first and second screens at the target display parameters. The parameter mapping relationship may include a linear fitting function corresponding to the parameter difference.
[0124] A linear function can include a scaling factor and a compensation offset. Taking the first curve function as F(A) and the second curve function as F(B) as an example, the linear function can be expressed as: F(A) = k*F(B) + b, where k is the scaling factor and b is the compensation offset. The values of k and b can be solved using F(A) and F(B). The parameter mapping relationship can be expressed as: δ = F(A) - F(B) = k*F(B) + bF(B) = (k-1)F(B) + b. When k and b are determined, the parameter difference between the first and second screens can be determined through the parameter mapping relationship, and δ can be the linear fitting function.
[0125] In this embodiment of the disclosure, the curve differences between the first screen and the second screen can be accurately analyzed by using the first display curve corresponding to the first screen and the second display curve corresponding to the second screen, thereby realizing the visualization analysis of the display curves and improving the efficiency and accuracy of obtaining parameter mapping relationships.
[0126] One possible design also includes:
[0127] Based on the parameter setting processing of the target display parameters, the target setting data is obtained;
[0128] Set the first screen and the second screen as the target setting data respectively;
[0129] Obtain the first display curve of the first screen corresponding to the target display parameters, including:
[0130] Using a first sensor installed on the first screen, parameter detection is performed on the target display parameters of the first screen after the settings are completed, and first detection data is obtained.
[0131] Based on the target setting data and the first detection data, the first screen is fitted with a display curve to obtain the first display curve;
[0132] Obtain the second display curve of the second screen corresponding to the target display parameters, including:
[0133] Using a second sensor installed on the second screen, parameter detection is performed on the target display parameters of the second screen after the settings are completed, and second detection data is obtained.
[0134] Based on the target setting data and the second detection data, the display curve of the second screen is fitted to obtain the second display curve.
[0135] A first sensor can be installed on the first screen, and a second sensor can be installed on the second screen. When either screen displays target display parameters, it can actually detect the data generated by the target display parameters, which can be obtained through sensor detection.
[0136] Taking brightness or color temperature as display parameters as an example, the first and second sensors can be RGB (Red, Green, Blue) sensors. The RGB sensors can detect the screen's brightness and color temperature values. They can also detect the first detection data transmitted by the first sensor and the second detection data transmitted by the second sensor.
[0137] Optionally, the parameter setting process based on the target display parameters, obtaining the target setting data, may include: a parameter setting range based on the target display parameters, where the parameter setting range includes a minimum parameter value and a maximum parameter value. Starting from the minimum parameter value, the target setting data is determined sequentially according to a set step size until the maximum parameter value is reached. For example, if the parameter setting range includes 1-100, and the step size is 1, the target setting data can start from 1 and increase by 1 sequentially, setting parameter values 1, 2, 3, etc., until 100 is reached. Each value can be used as the target setting data.
[0138] For ease of understanding, please refer to Figure 6 A sensor 602 can be set on screen 601. Sensor 602 can detect the target display parameters on screen 601 and obtain corresponding detection data. The first sensor on the first screen and the second sensor on the second screen can both refer to this setup diagram.
[0139] In this embodiment, by processing the target display parameters to obtain target setting data, the first screen and the second screen can be set to the target setting data respectively, thereby realizing the display settings of the screens. Then, the parameter values of the target display parameters can be detected for the first screen and the second screen respectively, obtaining first detection data for the first screen and second detection data for the second screen. By acquiring the detection data, the first display curve of the first screen and the second display curve of the second screen can be accurately obtained, achieving accurate acquisition of the display curves of each screen and improving the efficiency and accuracy of screen acquisition.
[0140] In one possible design, the parameter mapping relationship includes a linear fitting function; the target display parameters include one or more of the following: brightness parameter, color temperature parameter, contrast parameter, and refresh rate parameter. Furthermore, display parameters may also include, for example, contrast parameters, HDR (High Dynamic Range Imaging) parameters, color gamut parameters, and viewing angle parameters. This disclosure does not impose excessive limitations on the specific types of parameters.
[0141] In this embodiment, the parameter mapping relationship can be set as a linear fitting function. Linear fitting functions have low complexity and can quickly and accurately achieve parameter mapping between screens. By setting one or more target display parameters, including brightness, color temperature, contrast, and refresh rate, multiple display parameters of the screen can be set simultaneously, improving the efficiency of parameter setting and management.
[0142] As one embodiment, setting the target display parameter of the first screen to a first parameter value and simultaneously setting the target display parameter of the second screen to a second parameter value includes:
[0143] Based on the first parameter value corresponding to the first screen and the second parameter value corresponding to the second screen, parameter setting information is generated;
[0144] Output parameter setting information to the head-mounted device. The parameter setting information instructs the head-mounted device to set the first screen to the first parameter value and the second screen to the second parameter value.
[0145] In this embodiment of the disclosure, parameter setting information can be generated based on the first parameter value corresponding to the first screen and the second parameter value corresponding to the second screen. By outputting the parameter setting information to the head-mounted device, the head-mounted device can be instructed to set the first screen to the first parameter value and the second screen to the second parameter value. Through control interaction with the head-mounted device, effective display control of the screens in the head-mounted device can be achieved, thereby improving the efficiency and accuracy of parameter setting.
[0146] Optionally, after setting the target display parameter of the first screen to a first parameter value and simultaneously setting the target display parameter of the second screen to a second parameter value, the method may further include:
[0147] The system generates a prompt message indicating that the first screen displays the target parameter set to the first parameter value, and the second screen displays the target parameter set to the second parameter value.
[0148] Output setting prompt information to the head-mounted device. The setting prompt information instructs the head-mounted device to output a prompt information that the first screen displays the target parameter as the first parameter value, and the second screen displays the target parameter as the second parameter value.
[0149] In this embodiment of the disclosure, by outputting setting prompt information, the actual setting status of the target display parameters of the first screen and the second screen can be prompted, thereby achieving effective prompting of the screen.
[0150] like Figure 7 The diagram shown is a structural schematic of one embodiment of a display control device provided in this disclosure. The device is disposed on a head-mounted device, which includes a first screen and a second screen. The display control device may include the following units:
[0151] Parameter mapping unit 701: used to determine the parameter mapping relationship between the first screen and the second screen in the target display parameters;
[0152] Target acquisition unit 702: Used to acquire the target parameter value set for the target display parameters;
[0153] Parameter adjustment unit 703: used to determine the first parameter value corresponding to the first screen and the second parameter value corresponding to the second screen based on the target parameter value and the parameter mapping relationship;
[0154] Display setting unit 704: used to set the target display parameters of the first screen to a first parameter value, and at the same time set the target display parameters of the second screen to a second parameter value.
[0155] As one embodiment, the parameter adjustment unit 703 may include:
[0156] A target determination module is used to determine the target screen from the first screen and the second screen;
[0157] The data determination module is used to determine that the target parameter value is the first target parameter value corresponding to the target display parameter on the target screen;
[0158] The mapping determination module is used to calculate the target display parameters based on the target parameter values and parameter mapping relationships, and obtain the mapping parameter values.
[0159] The first determining module is used to determine the mapping parameter value as the second target parameter value of a screen other than the target screen;
[0160] The second determining module is used to determine the first parameter value corresponding to the first screen and the second parameter value corresponding to the second screen based on the first target parameter value of the target screen and the second target parameter values of other screens.
[0161] In one possible design, the device also includes:
[0162] The range acquisition unit is used to acquire the range of values of the first parameter corresponding to the target display parameter on the first screen and the range of values of the second parameter corresponding to the target display parameter on the second screen.
[0163] Candidate detection units are used to obtain the target set values of the target display parameters;
[0164] Target acquisition unit 702 may include:
[0165] The third determining module is used to determine the target setting value as the target parameter value if the target setting value is simultaneously within the range of the first parameter and the range of the second parameter.
[0166] The target determination module includes:
[0167] The first determination submodule is used to randomly determine the target screen from the first screen and the second screen.
[0168] In another possible design, the target acquisition unit 702 may include:
[0169] The fourth determining module is used to determine the target setting value as the target parameter value if the detected target setting value is within the range of the first parameter value and not within the range of the second parameter value.
[0170] The target determination module includes:
[0171] The second determination submodule is used to determine the first screen as the target screen.
[0172] In another possible design, the target acquisition unit 702 may include:
[0173] The fifth determining module is used to determine the target setting value as the target parameter value if the detected target setting value is not within the range of the first parameter value but is within the range of the second parameter value.
[0174] The target determination module includes:
[0175] The third determination submodule is used to determine the second screen as the target screen.
[0176] In another possible design, the target acquisition unit 702 may include:
[0177] The sixth determining module is used to determine whether the target setting value is greater than the maximum parameter value in the first parameter range and the second parameter range if the target setting value is not within the range of the first parameter value and the second parameter value range.
[0178] The first processing module is configured to, if so, obtain a first maximum value from the range of values of the first parameter and a second maximum value from the range of values of the second parameter; and determine the minimum value between the first maximum value and the second maximum value as the target parameter value;
[0179] The second processing module is used to, if not, obtain a first minimum value from the range of values of the first parameter and a second minimum value from the range of values of the second parameter; and determine the maximum value between the first minimum value and the second minimum value as the target parameter value;
[0180] The target determination module includes:
[0181] The fourth determination submodule is used to determine the screen corresponding to the parameter value range as the target screen based on the parameter value range corresponding to the target parameter value.
[0182] As one embodiment, the parameter mapping unit includes:
[0183] The first acquisition module is used to acquire the first display curve of the first screen corresponding to the target display parameters;
[0184] The second acquisition module is used to acquire the second display curve of the second screen corresponding to the target display parameters;
[0185] The curve mapping module is used to determine the parameter mapping relationship between the first screen and the second screen in terms of the target display parameters based on the curve difference between the first display curve and the second display curve.
[0186] In some possible designs, the device also includes:
[0187] The data setting unit is used for parameter setting processing based on the target display parameters to obtain the target setting data;
[0188] The parameter setting unit is used to set the first screen and the second screen to target setting data respectively.
[0189] The first acquisition module includes:
[0190] The first detection submodule is used to use the first sensor set on the first screen to detect the target display parameters of the first screen after setting, and obtain the first detection data.
[0191] The first fitting submodule is used to perform fitting processing on the display curve of the first screen based on the target setting data and the first detection data to obtain the first display curve;
[0192] The second acquisition module includes:
[0193] The second detection submodule is used to use the second sensor set on the second screen to detect the target display parameters of the set second screen and obtain the second detection data.
[0194] The second fitting submodule is used to fit the display curve of the second screen based on the target setting data and the second detection data to obtain the second display curve.
[0195] In one possible design, the parameter mapping relationship includes: a linear fitting function; the target display parameters include one or more of the following parameters: brightness parameter, color temperature parameter, contrast parameter, and refresh rate parameter.
[0196] In some embodiments, the display setting unit includes:
[0197] The configuration generation module is used to generate parameter setting information based on the first parameter value corresponding to the first screen and the second parameter value corresponding to the second screen.
[0198] The output module is used to output parameter setting information to the head-mounted device. The parameter setting information instructs the head-mounted device to set the first screen to the first parameter value and the second screen to the second parameter value.
[0199] The apparatus provided in this embodiment can be used to execute the technical solutions of the above method embodiments. Its implementation principle and technical effects are similar, and will not be described again here.
[0200] refer to Figure 8 It shows a hardware structure diagram suitable for implementing a head-mounted device 800 according to embodiments of the present disclosure. Figure 8 The head-mounted device shown is merely an example and should not be construed as limiting the functionality and scope of the embodiments disclosed herein.
[0201] like Figure 8 As shown, the head-mounted device 800 may include a processor (e.g., a central processing unit, a graphics processing unit, etc.) 801, which can perform various appropriate actions and processes according to a program stored in read-only memory (ROM) 802 or a program loaded from memory 808 into random access memory (RAM) 803. The RAM 803 also stores various programs and data required for the operation of the head-mounted device 800. The processor 801, ROM 802, and RAM 803 are interconnected via a bus 804. An input / output (I / O) interface 805 is also connected to the bus 804.
[0202] Typically, the following devices can be connected to I / O interface 805: input devices 806 including, for example, touchpad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; output devices 807 including, for example, speaker, vibrator, etc.; memory 808 including, for example, magnetic tape, hard disk, etc.; and communication devices 809. Communication device 809 allows head-mounted device 800 to communicate wirelessly or wiredly with other devices to exchange data. Although Figure 8A head-mounted device 800 with various devices is shown; however, it should be understood that implementation or possession of all the devices shown is not required. More or fewer devices may be implemented or possessed alternatively.
[0203] In particular, according to embodiments of this disclosure, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments of this disclosure include a computer program product comprising a computer program carried on a computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via a communication device 809, or installed from a memory 808, or installed from a ROM 802. When the computer program is executed by the processor 801, it performs the functions defined in the methods of embodiments of this disclosure.
[0204] Furthermore, the head-mounted device 800 may also include a first screen 810 and a second screen 811. The processor 801, memory 808, first screen 810, and second screen 811 are interconnected; wherein, the first screen 810 and second screen 811 can be connected to a bus via I / O interfaces to establish circuit interconnection with other devices. Optionally, the first screen and second screen may include, for example, a touch screen, a liquid crystal display (LCD), an e-ink screen, etc. This disclosure does not impose excessive limitations on the types of the first screen and second screen.
[0205] The memory 808 stores computer-executed instructions; the processor 801 executes the computer-executed instructions stored in the memory, enabling the processor to perform the following:
[0206] Determine the parameter mapping relationship between the first screen 810 and the second screen 811 in the target display parameters;
[0207] Retrieve the target parameter value set for the target display parameters;
[0208] Based on the target parameter values and parameter mapping relationships, determine the first parameter value corresponding to the first screen 810 and the second parameter value corresponding to the second screen 811.
[0209] Set the target display parameters of the first screen 810 to the first parameter value, and set the target display parameters of the second screen 811 to the second parameter value.
[0210] In some embodiments, a first sensor 812 may be provided on the first screen 810. A second sensor 813 may also be provided on the second screen 811. The first sensor 812 and the second sensor 813 can also be connected to a bus via an I / O interface to establish circuit interconnection with other devices.
[0211] The processor 801 is used to set the first screen 810 and the second screen 811 as target setting data, respectively.
[0212] The first sensor 812 is used to detect parameters on the first screen 810 and obtain first detection data when the first screen 810 is set to target setting data.
[0213] The second sensor 813 is used to detect parameters on the second screen 811 when the second screen 811 is set to target setting data, and obtain second detection data.
[0214] The processor 801 is also used to perform display curve fitting processing on the first screen 810 based on the target setting data and the first detection data to obtain a first display curve; to perform display curve fitting processing on the second screen 811 based on the target setting data and the second detection data to obtain a second display curve; and to determine the parameter mapping relationship between the first screen 810 and the second screen 811 in the target display parameters based on the curve difference between the first display curve and the second display curve.
[0215] Furthermore, the processor 801 disclosed herein can also be used to execute any of the display control methods provided in the above embodiments. The specific execution steps of the processor 801 can be referred to the steps of the display control method, and will not be repeated here.
[0216] It should be noted that the computer-readable medium described in this disclosure can be a computer-readable signal medium or a computer-readable storage medium, or any combination thereof. A computer-readable storage medium can be, for example,—but not limited to—an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of a computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination thereof. In this disclosure, a computer-readable storage medium can be any tangible medium containing or storing a program that can be used by or in connection with an instruction execution system, apparatus, or device. In this disclosure, a computer-readable signal medium can include a data signal propagated in baseband or as part of a carrier wave, carrying computer-readable program code. Such propagated data signals can take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. A computer-readable signal medium can be any computer-readable medium other than a computer-readable storage medium, which can send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium can be transmitted using any suitable medium, including but not limited to: wires, optical fibers, RF (radio frequency), etc., or any suitable combination thereof.
[0217] The aforementioned computer-readable medium may be included in the aforementioned head-mounted device; or it may exist independently and not assembled into the head-mounted device.
[0218] The aforementioned computer-readable medium carries one or more programs that, when executed by the head-mounted device, cause the head-mounted device to perform the method described in the above embodiments.
[0219] Computer program code for performing the operations of this disclosure can be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, and C++, and conventional procedural programming languages such as the "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the user's computer via any type of network—including a Local Area Network (LAN) or a Wide Area Network (WAN)—or can be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0220] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this disclosure. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.
[0221] The units described in the embodiments of this disclosure can be implemented in software or in hardware. The name of a unit does not necessarily limit the unit itself; for example, the first acquisition unit can also be described as "a unit that acquires at least two Internet Protocol addresses".
[0222] The functions described above in this document can be performed, at least in part, by one or more hardware logic components. For example, exemplary types of hardware logic components that can be used, without limitation, include: Field Programmable Gate Arrays (FPGAs), Application-Specific Integrated Circuits (ASICs), Application Standard Products (ASSPs), System-on-Chip (SoCs), Complex Programmable Logic Devices (CPLDs), and so on.
[0223] In the context of this disclosure, a machine-readable medium can be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, apparatus, or device. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can be, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.
[0224] In a first aspect, according to one or more embodiments of the present disclosure, a display control method is provided for a head-mounted device, the head-mounted device including a first screen and a second screen, the method comprising:
[0225] Determine the parameter mapping relationship between the first screen and the second screen in the target display parameters;
[0226] Retrieve the target parameter value set for the target display parameters;
[0227] Based on the target parameter values and parameter mapping relationships, determine the first parameter value corresponding to the first screen and the second parameter value corresponding to the second screen;
[0228] Set the first screen's target display parameter to the first parameter value, and simultaneously set the second screen's target display parameter to the second parameter value.
[0229] According to one or more embodiments of this disclosure, determining a first parameter value corresponding to a first screen and a second parameter value corresponding to a second screen based on target parameter values and parameter mapping relationships includes:
[0230] Determine the target screen from the first screen and the second screen;
[0231] The target parameter value is determined to be the first target parameter value corresponding to the target display parameter on the target screen.
[0232] Based on the target parameter values and parameter mapping relationships, the target display parameters are calculated to obtain the mapped parameter values;
[0233] The mapping parameter value is determined to be the second target parameter value for screens other than the target screen;
[0234] Based on the first target parameter value of the target screen and the second target parameter values of other screens, determine the first parameter value corresponding to the first screen and the second parameter value corresponding to the second screen.
[0235] According to one or more embodiments of this disclosure, after obtaining the target parameter value set for the target display parameter, the method further includes:
[0236] Obtain the value range of the first parameter corresponding to the target display parameter on the first screen and the value range of the second parameter corresponding to the target display parameter on the second screen;
[0237] Obtain the target setting value of the target display parameters;
[0238] Retrieve the target parameter values set for the target display parameters, including:
[0239] If the target setpoint is determined to be within the range of both the first and second parameters, then the target setpoint is determined to be the target parameter value.
[0240] Determining the target screen from the first screen and the second screen includes:
[0241] The target screen is randomly selected from the first screen and the second screen.
[0242] According to one or more embodiments of this disclosure, obtaining a target parameter value set for a target display parameter includes:
[0243] If the target set value is within the range of the first parameter and not within the range of the second parameter, then the target set value is determined to be the target parameter value.
[0244] Determining the target screen from the first screen and the second screen includes:
[0245] The first screen is identified as the target screen.
[0246] According to one or more embodiments of this disclosure, obtaining a target parameter value set for a target display parameter includes:
[0247] If the target set value is not within the range of the first parameter but is within the range of the second parameter, then the target set value is determined to be the target parameter value.
[0248] Determining the target screen from the first screen and the second screen includes:
[0249] The second screen is selected as the target screen.
[0250] According to one or more embodiments of this disclosure, obtaining a target parameter value set for a target display parameter includes:
[0251] If it is determined that the target setting value is not within the range of the first parameter and not within the range of the second parameter, then it is determined whether the target setting value is greater than the maximum parameter value in the range of the first parameter and the range of the second parameter.
[0252] If so, then obtain the first maximum value from the range of the first parameter and the second maximum value from the range of the second parameter; determine the minimum value between the first maximum value and the second maximum value as the target parameter value;
[0253] If not, then obtain the first minimum value from the range of the first parameter and the second minimum value from the range of the second parameter; determine the maximum value between the first minimum value and the second minimum value as the target parameter value;
[0254] Determining the target screen from the first screen and the second screen includes:
[0255] Based on the range of parameter values corresponding to the target parameter values, the screen corresponding to the range of parameter values is determined as the target screen.
[0256] According to one or more embodiments of this disclosure, determining the parameter mapping relationship between the first screen and the second screen corresponding to the target display parameters includes:
[0257] Obtain the first display curve corresponding to the target display parameters on the first screen;
[0258] Obtain the second display curve corresponding to the target display parameters on the second screen;
[0259] Based on the curve difference between the first display curve and the second display curve, the parameter mapping relationship between the first screen and the second screen corresponding to the target display parameters is determined.
[0260] According to one or more embodiments of this disclosure, the head-mounted device further includes: a first sensor disposed on a first screen, and a second sensor disposed on a second screen, and further includes:
[0261] Based on the parameter setting processing of the target display parameters, the target setting data is obtained;
[0262] Set the first screen and the second screen as the target setting data respectively;
[0263] Obtain the first display curve of the first screen corresponding to the target display parameters, including:
[0264] Using a first sensor installed on the first screen, parameter detection is performed on the target display parameters of the first screen after the settings are completed, and first detection data is obtained.
[0265] Based on the target setting data and the first detection data, the first screen is fitted with a display curve to obtain the first display curve;
[0266] Obtain the second display curve of the second screen corresponding to the target display parameters, including:
[0267] Using a second sensor installed on the second screen, parameter detection is performed on the target display parameters of the second screen after the settings are completed, and second detection data is obtained.
[0268] Based on the target setting data and the second detection data, the display curve of the second screen is fitted to obtain the second display curve.
[0269] According to one or more embodiments of this disclosure, the parameter mapping relationship includes: a linear fitting function; the target display parameters include one or more of the following parameters: brightness parameter, color temperature parameter, contrast parameter, and refresh rate parameter.
[0270] According to one or more embodiments of this disclosure, setting the target display parameter of the first screen to a first parameter value and simultaneously setting the target display parameter of the second screen to a second parameter value includes:
[0271] Based on the first parameter value corresponding to the first screen and the second parameter value corresponding to the second screen, parameter setting information is generated;
[0272] Output parameter setting information to the head-mounted device. The parameter setting information instructs the head-mounted device to set the first screen to the first parameter value and the second screen to the second parameter value.
[0273] Secondly, according to one or more embodiments of the present disclosure, a display control device is provided, disposed on a head-mounted device, the head-mounted device including a first screen and a second screen, the device comprising:
[0274] The parameter mapping unit is used to determine the parameter mapping relationship between the first screen and the second screen in the target display parameters;
[0275] The target acquisition unit is used to acquire the target parameter values set for the target display parameters.
[0276] The parameter adjustment unit is used to determine the first parameter value corresponding to the first screen and the second parameter value corresponding to the second screen based on the target parameter value and the parameter mapping relationship.
[0277] The display setting unit is used to set the target display parameters of the first screen to a first parameter value, and at the same time set the target display parameters of the second screen to a second parameter value.
[0278] Thirdly, according to one or more embodiments of the present disclosure, a head-mounted device is provided, including: a processor, a memory, a first screen, and a second screen; the processor, the memory, the first screen, and the second screen are interconnected by circuitry.
[0279] The memory is used to store instructions that the computer executes;
[0280] The processor executes computer execution instructions stored in memory, enabling the processor to perform:
[0281] Determine the parameter mapping relationship between the first screen and the second screen in the target display parameters;
[0282] Retrieve the target parameter value set for the target display parameters;
[0283] Based on the target parameter values and parameter mapping relationships, determine the first parameter value corresponding to the first screen and the second parameter value corresponding to the second screen;
[0284] Set the first screen to the target display parameter value and the second screen to the target display parameter value.
[0285] According to one or more embodiments of this disclosure, the head-mounted device further includes: a first sensor disposed on a first screen and a second sensor disposed on a second screen; the first sensor, the second sensor, and the memory, processor, first screen, and second screen are interconnected by circuitry.
[0286] The processor is used to: set the first screen and the second screen as target setting data, respectively;
[0287] The first sensor is used to detect parameters on the first screen and obtain first detection data when the first screen is set to target setting data.
[0288] The second sensor is used to detect parameters on the second screen and obtain second detection data when the second screen is set to the target setting data.
[0289] The processor is also used to perform display curve fitting processing on the first screen based on the target setting data and the first detection data to obtain a first display curve; to perform display curve fitting processing on the second screen based on the target setting data and the second detection data to obtain a second display curve; and to determine the parameter mapping relationship between the first screen and the second screen in the target display parameters based on the curve difference between the first display curve and the second display curve.
[0290] Fourthly, according to one or more embodiments of the present disclosure, a computer-readable storage medium is provided, which stores computer-executable instructions that, when executed by a processor, implement the display control method described above as the first aspect and various possible designs of the first aspect.
[0291] Fifthly, according to one or more embodiments of the present disclosure, a computer program product is provided, including a computer program that, when executed by a processor, implements the display control method as described in the first aspect above and various possible designs of the first aspect.
[0292] The above description is merely a preferred embodiment of this disclosure and an explanation of the technical principles employed. Those skilled in the art should understand that the scope of this disclosure is not limited to technical solutions formed by specific combinations of the above-described technical features, but should also cover other technical solutions formed by arbitrary combinations of the above-described technical features or their equivalents without departing from the above-described concept. For example, technical solutions formed by substituting the above features with (but not limited to) technical features disclosed in this disclosure that have similar functions.
[0293] Furthermore, while the operations are described in a specific order, this should not be construed as requiring these operations to be performed in the specific order shown or in a sequential order. In certain environments, multitasking and parallel processing may be advantageous. Similarly, while several specific implementation details are included in the above discussion, these should not be construed as limiting the scope of this disclosure. Certain features described in the context of individual embodiments may also be implemented in combination in a single embodiment. Conversely, various features described in the context of a single embodiment may also be implemented individually or in any suitable sub-combination in multiple embodiments.
[0294] Although the subject matter has been described using language specific to structural features and / or methodological logic, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or actions described above. Rather, the specific features and actions described above are merely illustrative examples of implementing the claims.
Claims
1. A display control method for a head-mounted device, the head-mounted device comprising a first screen and a second screen, characterized in that, include: Determine the parameter mapping relationship between the first screen and the second screen corresponding to the target display parameters; Obtain the target parameter value set for the target display parameter; Based on the target parameter value and the parameter mapping relationship, determine the first parameter value corresponding to the first screen and the second parameter value corresponding to the second screen; The first screen is set to the first parameter value in the target display parameters, and the second screen is set to the second parameter value in the target display parameters; Determining the parameter mapping relationship between the first screen and the second screen corresponding to the target display parameters includes: Obtain the first display curve of the first screen corresponding to the target display parameters; Obtain the second display curve of the second screen corresponding to the target display parameters; Based on the curve difference between the first display curve and the second display curve, the parameter mapping relationship between the first screen and the second screen corresponding to the target display parameters is determined.
2. The method according to claim 1, characterized in that, The step of determining the first parameter value corresponding to the first screen and the second parameter value corresponding to the second screen based on the target parameter value and the parameter mapping relationship includes: Determine the target screen from the first screen and the second screen; The target parameter value is determined to be the first target parameter value of the target screen corresponding to the target display parameter; Based on the target parameter value and the parameter mapping relationship, the target display parameter is calculated to obtain the mapping parameter value; The mapping parameter value is determined to be a second target parameter value for a screen other than the target screen; Based on the first target parameter value of the target screen and the second target parameter values of the other screens, determine the first parameter value corresponding to the first screen and the second parameter value corresponding to the second screen.
3. The method according to claim 2, characterized in that, After obtaining the target parameter value set for the target display parameter, the method further includes: Obtain the value range of the first parameter corresponding to the target display parameter for the first screen and the value range of the second parameter corresponding to the target display parameter for the second screen; Obtain the target setting value of the target display parameter; The step of obtaining the target parameter value set for the target display parameter includes: If it is determined that the target setting value is simultaneously within the range of the first parameter value and the range of the second parameter value, then the target setting value is determined to be the target parameter value; Determining the target screen from the first screen and the second screen includes: The target screen is randomly determined from the first screen and the second screen.
4. The method according to claim 3, characterized in that, The step of obtaining the target parameter value set for the target display parameter includes: If the target set value is detected to be within the range of the first parameter value and not within the range of the second parameter value, then the target set value is determined to be the target parameter value; Determining the target screen from the first screen and the second screen includes: The first screen is determined to be the target screen.
5. The method according to claim 3 or 4, characterized in that, The step of obtaining the target parameter value set for the target display parameter includes: If the target set value is detected to be outside the range of the first parameter but within the range of the second parameter, then the target set value is determined to be the target parameter value. Determining the target screen from the first screen and the second screen includes: The second screen is determined to be the target screen.
6. The method according to claim 5, characterized in that, The step of obtaining the target parameter value set for the target display parameter includes: If it is determined that the target setting value is not within the range of the first parameter value and not within the range of the second parameter value, then it is determined whether the target setting value is greater than the maximum parameter value in the range of the first parameter value and the range of the second parameter value. If so, then obtain the first maximum value from the first parameter value range and the second maximum value from the second parameter value range; determine the minimum value between the first maximum value and the second maximum value as the target parameter value; If not, then obtain a first minimum value from the range of the first parameter and a second minimum value from the range of the second parameter; determine the maximum value among the first minimum value and the second minimum value as the target parameter value; Determining the target screen from the first screen and the second screen includes: Based on the parameter value range corresponding to the target parameter value, the screen corresponding to the parameter value range is determined as the target screen.
7. The method according to claim 1, characterized in that, The head-mounted device further includes: a first sensor disposed on the first screen, and a second sensor disposed on the second screen; the method further includes: Based on the parameter setting processing of the target display parameters, target setting data is obtained; Set the first screen and the second screen to the target setting data respectively; The step of obtaining the first display curve of the first screen corresponding to the target display parameters includes: Using a first sensor installed on the first screen, parameter detection is performed on the target display parameters of the first screen after the settings are completed, and first detection data is obtained. Based on the target setting data and the first detection data, the first screen is fitted with a display curve to obtain a first display curve; The step of obtaining the second display curve of the second screen corresponding to the target display parameters includes: Using a second sensor installed on the second screen, parameter detection is performed on the target display parameters of the second screen after the settings are completed, and second detection data is obtained; Based on the target setting data and the second detection data, the second screen is fitted with a display curve to obtain a second display curve.
8. The method according to claim 1, characterized in that, The parameter mapping relationship includes: a linear fitting function; the target display parameters include one or more of the following parameters: brightness parameter, color temperature parameter, contrast parameter, and refresh rate parameter.
9. The method according to claim 1, characterized in that, The step of setting the first screen to the target display parameter and simultaneously setting the second screen to the target display parameter to the second parameter value includes: Parameter setting information is generated based on the first parameter value corresponding to the first screen and the second parameter value corresponding to the second screen. The parameter setting information is output to the head-mounted device, and the parameter setting information instructs the head-mounted device to set the first screen to the first parameter value and the second screen to the second parameter value.
10. A display control device disposed on a head-mounted device, the head-mounted device comprising a first screen and a second screen, characterized in that, include: A parameter mapping unit is used to determine the parameter mapping relationship between the first screen and the second screen in the target display parameters; The target acquisition unit is used to acquire the target parameter value set for the target display parameters; The parameter adjustment unit is used to determine the first parameter value corresponding to the first screen and the second parameter value corresponding to the second screen based on the target parameter value and the parameter mapping relationship; The display setting unit is used to set the first screen to a first parameter value in the target display parameters, and at the same time set the second screen to the second parameter value in the target display parameters; The parameter mapping unit is specifically used for: Obtain the first display curve of the first screen corresponding to the target display parameters; Obtain the second display curve of the second screen corresponding to the target display parameters; Based on the curve difference between the first display curve and the second display curve, the parameter mapping relationship between the first screen and the second screen corresponding to the target display parameters is determined.
11. A head-mounted device, characterized in that, include: The processor, memory, first screen, and second screen are interconnected by circuitry. The memory is used to store computer-executed instructions; The processor executes computer execution instructions stored in the memory, causing the processor to perform: Determine the parameter mapping relationship between the first screen and the second screen corresponding to the target display parameters; Obtain the target parameter value set for the target display parameter; Based on the target parameter value and the parameter mapping relationship, determine the first parameter value corresponding to the first screen and the second parameter value corresponding to the second screen; The first screen is set to the first parameter value in the target display parameters, and the second screen is set to the second parameter value in the target display parameters; Determining the parameter mapping relationship between the first screen and the second screen corresponding to the target display parameters includes: Obtain the first display curve of the first screen corresponding to the target display parameters; Obtain the second display curve of the second screen corresponding to the target display parameters; Based on the curve difference between the first display curve and the second display curve, the parameter mapping relationship between the first screen and the second screen corresponding to the target display parameters is determined.
12. The device according to claim 11, characterized in that, The head-mounted device further includes: a first sensor disposed on the first screen and a second sensor disposed on the second screen; the first sensor, the second sensor, the memory, the processor, the first screen, and the second screen are interconnected by circuitry; The processor is configured to: set the first screen and the second screen as target setting data respectively; The first sensor is used to detect parameters on the first screen when the first screen is set to the target setting data, and obtain first detection data; The second sensor is used to detect parameters of the second screen when the second screen is set to the target setting data, and obtain second detection data; The processor is further configured to perform display curve fitting processing on the first screen based on the target setting data and the first detection data to obtain a first display curve; perform display curve fitting processing on the second screen based on the target setting data and the second detection data to obtain a second display curve; and determine the parameter mapping relationship between the first screen and the second screen corresponding to the target display parameters based on the curve difference between the first display curve and the second display curve.
13. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer-executable instructions, which, when executed by a processor, implement the display control method as described in any one of claims 1 to 9.
14. A computer program product, comprising a computer program, characterized in that, The computer program is executed by a processor to configure the display control method as described in any one of claims 1 to 9.
Citation Information
Patent Citations
Display correction method, device and equipment and storage medium
CN110853560A