A data processing method, device, apparatus, and readable storage medium
By acquiring standard and actual output information of media playback devices, adjustment strategies are determined to reduce output deviation of media data. This solves the problem of discrepancy between actual and expected output effects in media playback devices, reduces device impact, and improves strategy reuse rate.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- TENCENT TECHNOLOGY (SHENZHEN) CO LTD
- Filing Date
- 2026-04-29
- Publication Date
- 2026-05-29
AI Technical Summary
In media playback devices, there is a discrepancy between the actual output effect of media data and the expected output effect, and the automatic brightness limiting mechanism may damage the device, leading to increased device impact.
By acquiring the standard output information and actual output information of the media playback device, an adjustment strategy for the first media characteristic parameter is determined, and the output drive signal is adjusted using a method that minimizes perception error, so that the actual output result is close to the expected output result.
This reduces the discrepancy between the actual and expected output of media data, while also minimizing the impact on media playback devices and increasing the processing load on the devices and the reusability of adjustment strategies.
Smart Images

Figure CN122120540A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of computer technology, and in particular to a data processing method, apparatus, device, and readable storage medium. Background Technology
[0002] In scenarios where media playback devices (such as televisions and monitors) play different media data (such as videos and images), the media characteristic parameters of the media data (parameters that output the media data, such as average screen brightness and average grayscale) will affect the power consumption and heat generation of the media playback device. For example, taking average screen brightness as a media characteristic parameter, if the expected value of the average screen brightness is high, the media playback device will output media data with higher power consumption to meet the expected brightness; while if the expected value of the average screen brightness is low, the media playback device can output media data with lower power consumption to meet the expected brightness.
[0003] In practical applications, due to the limitations of media playback devices themselves, the media data output may not meet expectations. Even if the device outputs media data at maximum power consumption, the actual output effect may still fall short of expectations. If the expected media characteristic parameters are high, forcibly increasing the device's power consumption to output media data matching the desired parameters could potentially damage related components of the media playback device. Therefore, when the expected media characteristic parameters are high, the device automatically triggers an output limiting mechanism to reduce the actual output effect (such as actual output brightness) to control power consumption. While this output limiting mechanism provides better protection for the media playback device and reduces its impact, it can lead to a deviation between the actual output effect and the expected standard output effect. This deviation can significantly affect the media viewing experience.
[0004] Therefore, in scenarios where media playback devices play media data, there is an urgent need for a solution that can reduce the deviation between the actual output effect and the expected output effect of the media data, while also reducing the impact on the media playback device. Summary of the Invention
[0005] This application provides a data processing method, apparatus, device, and readable storage medium, which can reduce the deviation between the actual output effect and the expected output effect of media data in media data playback services, while reducing the impact on media playback devices.
[0006] One embodiment of this application provides a data processing method, including: Obtain the standard output information of the media playback device. The standard output information is used to reflect the expected output result of the media playback device under N output drive signals, where N is a positive integer. The actual output information of the media playback device under the first media characteristic parameter is obtained. The actual output information is used to reflect the actual output result of the media playback device under N output drive signals. Based on the difference between standard output information and actual output information, a first adjustment strategy for the first media characteristic parameter is determined; the first adjustment strategy is used to adjust N output driving signals, and the perceived error between the actual output result of the media playback device under the adjusted N output driving signals and the expected output result under the N output driving signals satisfies the error convergence condition. When receiving first media data with the first media characteristic parameter, the first original output drive signal of the first media data is adjusted according to the first adjustment strategy, and the adjusted first original output drive signal is used to call the media playback device to play the first media data.
[0007] One embodiment of this application provides a data processing apparatus, including: The information acquisition module is used to acquire the standard output information of the media playback device. The standard output information is used to reflect the expected output result of the media playback device under N output drive signals, where N is a positive integer. The information acquisition module is also used to acquire the actual output information of the media playback device under the first media characteristic parameters. The actual output information is used to reflect the actual output results of the media playback device under N output drive signals. The strategy determination module is used to determine a first adjustment strategy for the first media feature parameters based on the difference between standard output information and actual output information. The first adjustment strategy is used to adjust N output driving signals. The perceived error between the actual output result of the media playback device under the adjusted N output driving signals and the expected output result under the N output driving signals satisfies the error convergence condition. The signal adjustment module is used to adjust the first original output drive signal of the first media data according to the first adjustment strategy when receiving the first media data with the first media characteristic parameter, and to call the media playback device to play the first media data with the adjusted first original output drive signal.
[0008] One embodiment of this application provides a computer device, including: a processor and a memory; The memory stores a computer program, which, when executed by a processor, causes the processor to perform the methods described in the embodiments of this application.
[0009] One aspect of this application provides a computer-readable storage medium storing a computer program, which includes program instructions. When executed by a processor, the program instructions perform the methods described in this application.
[0010] One aspect of this application provides a computer program product comprising a computer program stored in a computer-readable storage medium. A processor of a computer device reads the computer program from the computer-readable storage medium and executes the computer program, causing the computer device to perform the method provided in one aspect of the embodiments of this application.
[0011] In this application embodiment, a media data playback scheme is provided, which can bring the following effects: (1) After obtaining the standard output information of the media playback device (which reflects the expected output result of the media playback device under N output drive signals) and the actual output information under the first media characteristic parameter (which reflects the actual output result of the media playback device under N output drive signals), the difference between the two can be used to find a first adjustment strategy for adjusting the N output drive signals for the first media characteristic parameter. This first adjustment strategy enables the perceived error between the actual output result of the media playback device under the adjusted N output drive signals and the expected output result under the N output drive signals to satisfy the error convergence condition. In other words, this application will specify different adjustment strategies for the first media characteristic parameter based on the difference between the standard output information and the actual output information, and use the standard output information to detect the perceived error of the media playback device under each adjustment strategy. The adjustment strategy that satisfies the error convergence condition can be used as the first adjustment strategy. Since the perceived error satisfies the condition, this first adjustment strategy enables the actual output result of the media playback device to be infinitely close to the expected output result, and the deviation between the actual and the expected result will be very small. (2) Instead of forcing the actual output of the media playback device to reach a result that exceeds the device’s capabilities, the adjustment strategy is dynamically determined within the device’s capabilities to ensure that the perceived error between the actual output and the expected output meets the convergence condition. This can reduce the impact on the media playback device caused by pursuing only the actual output. (3) By determining a specific first adjustment strategy for the first media feature parameter, this first adjustment strategy does not depend on specific media data. Therefore, this first adjustment strategy can be applied to any media data (such as the first media data) whose media feature parameter is the first media feature parameter. When the first media data needs to be played, it is not necessary to repeatedly determine the adjustment strategy for each first media data in real time. It is only necessary to adjust the first original output drive signal in the first media data according to this first adjustment strategy. The reuse rate of the first adjustment strategy is high, thereby reducing the processing burden of the device.
[0012] In summary, this application can reduce the deviation between the actual output effect and the expected output effect of media data in the business of playing media data, while reducing the impact on media playback devices. Attached Figure Description
[0013] To more clearly illustrate the technical solutions in the embodiments of the present invention 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 only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0014] Figure 1 This is a schematic diagram of the architecture of a media data playback system provided in an exemplary embodiment of this application; Figure 2 This is a flowchart illustrating a data processing method provided in an embodiment of this application; Figure 3 This is a schematic diagram of standard output information of a media playback device provided in an embodiment of this application; Figure 4 This is a schematic diagram showing a comparison between standard output information and actual output information provided in an embodiment of this application; Figure 5 This is a schematic diagram illustrating a scenario where media feature parameters of a media playback device are gradually increased based on candidate signals, according to an embodiment of this application. Figure 6 This is a flowchart illustrating a method for determining a first adjustment strategy, as provided in an embodiment of this application. Figure 7 This is a schematic diagram illustrating the filtering of curve segments and deviation curve segments provided in an embodiment of this application; Figure 8 This is a schematic diagram of an initial adjustment group provided in an embodiment of this application; Figure 9 This is a schematic diagram of a logical architecture for playing media data provided in an embodiment of this application; Figure 10This is a schematic diagram of the structure of a data processing device provided in an embodiment of this application; Figure 11 This is a schematic diagram of the structure of a computer device provided in an embodiment of this application. Detailed Implementation
[0015] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of this application.
[0016] The following is a brief explanation of the relevant technical terms used in this application.
[0017] 1. Mini-LED: A backlight technology that is widely used in various media playback devices due to its high luminous efficiency and low cost.
[0018] 2. Automatic Brightness Limiting (ABL): In scenarios with high average screen brightness, Mini-LED technology automatically reduces the overall screen brightness to prevent excessive power consumption or overheating of media playback devices. For media playback devices using Mini-LEDs, this automatic brightness limiting mechanism affects the actual brightness of the media data output by the device during playback.
[0019] 3. Average Picture Level (APL): Average picture brightness refers to the average brightness level of all pixels in a frame of an image, usually expressed as APL (Average Picture Level). That is, in a frame of an image, the brightness value of each pixel is represented by a code value. The larger the code value, the brighter the image. Therefore, the average picture brightness is obtained by adding up the code values of all pixels in a frame and then dividing by the total number of pixels.
[0020] 4. Output drive signal: The output drive signal in this application is a low-level digital instruction that a media playback device (such as a television or monitor) can directly recognize and is used to control the output effect of the final output media data (the effect of the output media data; when the media data is a certain frame, the output effect is, for example, the brightness, grayscale, dynamic range, etc.; when the media data is a certain audio, the output effect is, for example, the output sound quality. This application may also refer to the output effect as the output result).
[0021] Taking a specific frame of video as the output media data and brightness as the output effect as an example, in practical applications, when a media playback device needs to output and display a frame of video (such as a frame in a video or a single image), it needs to transmit an instruction for that frame to the media playback device. This instruction includes instructions (code values) for each region of the frame. Each instruction (code value) describes the desired output effect (desired output brightness) for that region. Based on the instructions for each region, the media playback device needs to display each region of the frame at the desired brightness as much as possible. The instruction for one region is an output drive signal used to drive the media playback device to output media data according to the desired effect.
[0022] As described above, in scenarios where media playback devices play different media data, to ensure that the media data output by the playback device meets expectations, it is necessary to provide the playback device with an output drive signal for that specific media data so that the playback device can output the media data according to this output drive signal. However, in practical applications, if the output expectation for a particular media data is high, but the playback capability of the media playback device is limited, even if an output drive signal corresponding to this high expected output effect is provided, the actual output effect of the media playback device will fall far short of expectations.
[0023] For example, taking media data as a video frame and output effect as output brightness, suppose the desired output brightness for a certain area in this video frame is very high, at 10,000 nits, and the code value (brightness command) transmitted to the media playback device is 2000 corresponding to 10,000 nits. Based on the automatic brightness limiting protection mechanism, the media playback device will automatically reduce power consumption, so that the actual output brightness of this area is only 1500 nits, resulting in a large brightness deviation from the desired output brightness.
[0024] The automatic brightness limiting described above can be understood as an output limiting mechanism for media playback devices. This mechanism controls the device's power consumption by reducing the actual output effect (such as actual output brightness). While this output limiting mechanism can provide better protection for media playback devices and minimize the impact on them, it can lead to a significant deviation between the device's actual output effect and the expected standard output effect.
[0025] Based on this, in order to reduce the deviation between the actual output effect and the expected output effect of media data in the business of playing media data, and at the same time reduce the impact on media playback devices, this application provides a media data playback scheme, the process of which can generally include the following steps: 1. Obtain the standard output information of the media playback device.
[0026] Media playback devices refer to devices with media data output capabilities, such as televisions, monitors, terminal devices, and speakers. The type of media playback device can be determined based on the type of media data. When the media data is video or image-based, the media playback device can be a device with display capabilities, such as a terminal device, monitor, or television. When the media data is audio-based, the media playback device can be a device with audio output capabilities, such as speakers.
[0027] The N output drive signals can be set according to actual business needs and output effects (or output results). For example, when the output effect is brightness, 2043 code values from 1 to 2043 can be used as output drive signals. In this example, N is 2043. Similarly, when the output effect is sound quality, 100 sound quality commands from 1 to 100 can be used as output drive signals. In this example, N is 100. Further examples will not be provided here.
[0028] Based on the standard capabilities that a media playback device should achieve, this application can map the expected output results of N output drive signals to configure the media playback device to achieve the expected output results (or expected output effects) under the N output drive signals. The expected output result of an output drive signal refers to the result that the media playback device is expected to output after inputting this output drive signal (or can be understood as the output effect that the media playback device should achieve). Standard output information can be generated based on the expected output results corresponding to the N output drive signals. For example, the integrated information generated by combining the expected output results corresponding to each of the N output drive signals can be used as standard output information.
[0029] 2. Obtain the actual output information of the media playback device under the first media characteristic parameters.
[0030] Media feature parameters are quantitative values extracted from media data to describe the overall characteristics of the media content within that data. They are quantitative indicators of the overall attributes or statistical characteristics of the media data, reflecting the demands of the media content on media playback devices and influencing the playback behavior of these devices. Media data can refer to a media frame within a media resource. For example, when the media resource is video, and the media data is a single video frame (a static or dynamic image), these media feature parameters could refer to average screen brightness, maximum screen brightness (the brightness corresponding to the highest bit value in each region), and average screen saturation. When the media resource is audio, and the media data is a single audio frame, these media feature parameters could refer to average loudness (the average loudness of all sampling points), peak loudness (the maximum loudness of the audio), etc.
[0031] Different media feature parameters of media data will have different effects on media playback devices. For example, when the media data is an image (a video frame), assuming the media feature parameter is the average brightness of the image, if the average brightness is very low (e.g., 5% average brightness), it indicates that the bit values in various areas of the media data are very small, so the media playback device will not trigger the automatic brightness limiting mechanism and will play the media data normally. If the average brightness is high (e.g., 30% average brightness), the automatic brightness limiting mechanism will be slightly triggered, reducing the power consumption of the media playback device, and the output brightness will deviate slightly from the expected brightness. However, if the average brightness is particularly high (e.g., 90% average brightness), it indicates that the bit values in many areas of the media data are very high, so the automatic brightness limiting mechanism will be severely triggered, reducing the power consumption of the media playback device, and the output brightness will be far lower than expected. In other words, under different average brightness levels, even for the same bit value, the actual brightness output by the media playback device will be different.
[0032] Based on this, this application can conduct test experiments on various media characteristic parameters to find the actual output result of the media playback device under N output drive signals, based on its actual capabilities, under a certain media characteristic parameter. The first media characteristic parameter can refer to a representative media characteristic parameter. To distinguish it from other media characteristic parameters mentioned below, it is referred to as the first media characteristic parameter. The process of determining the representative media characteristic parameter can be found in the relevant descriptions in the related embodiments below.
[0033] Based on the actual output results corresponding to the N output drive signals, the actual output information of the first media feature parameter can be generated. For example, the integrated information generated by combining the actual output results corresponding to each of the N output drive signals can be used as the actual output information of the first media feature parameter.
[0034] 3. Based on the difference between standard output information and actual output information, determine the first adjustment strategy for the first media characteristic parameters.
[0035] After determining the standard output information and the actual output information, a strategy for adjusting the N output drive signals can be determined based on the difference between the standard output information and the actual output information (for distinction, this is referred to as the first adjustment strategy).
[0036] Specifically, this application can determine the first adjustment strategy for the first media feature parameters by minimizing the perceptual error. For any one of the N output driving signals, one or more output driving signals can be selected as candidate values for adjustment (called candidate adjustment values) from the N output driving signals. In this way, an output driving signal can have at least one candidate adjustment value. This scheme can select one output driving signal from each candidate adjustment value of the N output driving signals to combine them as a combination element to form an N-tuple. Each N-tuple can be called a candidate adjustment group. An N-tuple will include a candidate adjustment group with one output driving signal. Finally, the number of N-tuples is the Cartesian product of the number of candidate adjustment values of the N output driving signals.
[0037] For example, suppose there are N output drive signals 1, 2, and 3. The candidate adjustment value of output drive signal 1 is 1, and the number of candidate adjustment values is 1. The candidate adjustment values of output drive signal 2 are 1 and 3, and the number of candidate adjustment values is 2. The candidate adjustment values of output drive signal 3 are 1 and 2, and the number of candidate adjustment values is 2. Then the final number of triplets (candidate adjustment groups) generated is 1×2×2=4, which are [1, 1, 1], [1, 1, 2], [1, 3, 1], and [1, 3, 2].
[0038] Because each candidate adjustment group contains candidate adjustment values for adjusting N output drive signals, an adjustment strategy for the N output drive signals can be generated based on it. This solution can determine the perceived error of the media playback device under a given output drive signal (measured by the difference between the expected output result of the media playback device under a candidate adjustment value and the actual output result under that output drive signal) based on the difference between the expected output result of the media playback device under a given output drive signal and the actual output result under that output drive signal's candidate adjustment value. The larger the perceived error value, the greater the deviation, and the more noticeable it is to the user.
[0039] After determining the perceived error of each output drive signal of the media playback device, the combined perceived error of the N output drive signals can be obtained. This scheme can select the candidate adjustment group with the smallest perceived error as the optimal adjustment combination. The adjustment strategy corresponding to this adjustment combination can be considered as the adjustment strategy that satisfies the error convergence condition, and can be used as the first adjustment strategy for the first media characteristic parameter.
[0040] In other words, for any media data whose media characteristic parameter is this first media characteristic parameter, if a media playback device needs to output this media data, the original output drive signal of the media data can be adjusted according to this first adjustment strategy so that the actual output result of the media playback device is closer to the expected output result. For example, for media data whose media characteristic parameter is this first media characteristic parameter, the output drive signals of each region in the media data are 20, 30, and 50. If these output drive signals are directly input to the media playback device, the actual output result of the media playback device will be the actual output result corresponding to each output drive signal in the actual output information, which will differ significantly from the expected output result in the actual output information. However, this solution obtains the first adjustment strategy for the first media characteristic parameter. Based on the adjustment values corresponding to the N output drive signals included in the first adjustment strategy, this solution extracts the adjustment values corresponding to output drive signals 20, 30, and 50 respectively, and then adjusts them to their respective adjustment values. Afterwards, the adjustment values corresponding to each output drive signal 20, 30, and 50 can be input to the media playback device. Because the first adjustment strategy has minimal perceptual error, it allows the actual output result from the media playback device to be closer to the desired output result.
[0041] 4. When receiving first media data with the first media characteristic parameter, the first original output drive signal of the first media data is adjusted according to the first adjustment strategy, and the adjusted first original output drive signal is used to call the media playback device to play the first media data.
[0042] After determining the first adjustment strategy for the first media characteristic parameter, if first media data with the same first media characteristic parameter is received, the first original output drive signal of the first media data can be adjusted according to the first adjustment strategy. Subsequently, the adjusted first original output drive signal can be used to call the media playback device to play the first media data. For example, the adjusted first original output drive signal can be input to the media playback device, and the media playback device will output the first media data according to this adjusted first original output drive signal. The actual output result will be closer to the expected output result corresponding to the first original output drive signal.
[0043] Therefore, in scenarios where media data is played using a media playback device, this application employs a method that minimizes perceptual error to determine the most suitable adjustment strategy for different media characteristic parameters. Under this adjustment strategy, when media data with specific media characteristic parameters needs to be played, the output drive signal input to the media playback device can be adjusted to a more appropriate value. After inputting a more suitable value to the media playback device, the actual result output by the media playback device according to this value can more closely approximate the expected result for the media data. Compared to traditional media data playback schemes, the solution provided in this application can reduce the deviation between the actual output effect and the expected output effect of the media data, and has a very small impact on the media playback device.
[0044] The media data playback scheme provided in this application can be applied to any scenario where there is a need for media data playback, including but not limited to: scenarios where television plays film and television content, short video push scenarios, game scenarios, etc. Wherein: The scenario of television playback of film and television content refers to a situation where a user uses a television to play different media data. In the television playback scenario, the media playback device can be a television, and the media data can be a specific film or television scene (such as a video frame) played on the television. When it is necessary for the television to play a specific scene (such as a video frame in the TV series "Movie A"), this application uses a video decoding device to analyze the video frame to determine the output drive signals of each region in the video frame (for distinction, these are called the original output drive signals of the video frame, such as code values).
[0045] Subsequently, the video decoding device can transmit the output drive signals of each region in this video frame to the signal adjustment device. The signal adjustment device obtains the media characteristic parameters (such as average screen brightness) of this video frame in accordance with the method provided in this application, and then queries the adjustment strategy pre-determined for these media characteristic parameters. After that, the signal adjustment device can adjust each original output drive signal of this video frame in accordance with this adjustment strategy.
[0046] Furthermore, the signal adjustment device will transmit the adjusted original output drive signal to the TV. In this way, when the TV displays this video frame, it will not output the output result corresponding to the original output drive signal (such as the brightness corresponding to the original output drive signal), but will output the output result corresponding to the adjusted original output drive signal. The actual output result (actual brightness) of this adjusted original output drive signal is very close to the expected output result (expected brightness) corresponding to the original output drive signal, with very small deviation.
[0047] Short video push scenarios refer to situations where video data is continuously pushed to users. Users can request updates to display the next video by performing operations such as fetching video data (e.g., swiping the video display interface on the terminal device). Therefore, in short video push scenarios, users can continuously refresh and browse different video data by repeatedly performing these fetching operations.
[0048] In short video push scenarios, the device used by the user to view video data (such as a smartphone, tablet, etc.) can refer to a media playback device, while the consecutive video frames displayed to the user can refer to media data. Similarly, when the media playback device needs to play a certain scene (such as a certain video frame in a video), this application uses a video decoding device to parse the video frame to determine the output driving signals of each region in the video frame (for distinction, these are called the original output driving signals of the video frame, such as code values).
[0049] Subsequently, the video decoding device can transmit the output drive signals of each region in this video frame to the signal adjustment device. The signal adjustment device obtains the media characteristic parameters (such as average screen brightness) of this video frame in accordance with the method provided in this application, and then queries the adjustment strategy pre-determined for these media characteristic parameters. After that, the signal adjustment device can adjust each original output drive signal of this video frame in accordance with this adjustment strategy.
[0050] Furthermore, the signal adjustment device will transmit the adjusted original output drive signal to the media playback device. When the media playback device outputs and displays this video frame, it will output the output result corresponding to the adjusted original output drive signal.
[0051] A game scene can refer to a scenario where a user engages in an immersive game using a device. The device playing the game footage can be a media playback device, and the game footage is the media data in this application. Similarly, when a media playback device needs to play a specific game scene, the solution provided in this application can be used to determine adjustment strategies for different media characteristic parameters (such as maximum screen brightness). Then, according to the corresponding adjustment strategies for the media characteristic parameters, the original output drive signal in the game footage can be adjusted. After the adjusted original output drive signal is input to the media playback device, the media playback device can output a game scene that more closely approximates the desired output result.
[0052] In summary, the solution provided in this application can reduce the deviation between the actual output effect and the expected output effect of media data in various application scenarios where there is a need for media data playback, optimize the media playback effect, thereby improving the user experience in different application scenarios, and can effectively improve business coverage to a certain extent (such as expanding the applicable scenarios).
[0053] It should be noted that the above-mentioned application scenarios are merely examples and do not limit the application scenarios to which the solutions provided in the embodiments of this application are applicable.
[0054] Furthermore, the media data playback scheme provided in this application embodiment can be executed by a computer device. This computer device can be understood as a device for adjusting the output drive signal input to the media playback device, and therefore can also be called a signal adjustment device. To facilitate understanding of the media data playback scheme provided in this application embodiment, the following is combined with... Figure 1 The media data playback system shown illustrates the application scenarios involved in the embodiments of this application; wherein, Figure 1 This is a schematic diagram of the architecture of a media data playback system provided in an exemplary embodiment of this application, such as... Figure 1 As shown, the media data playback system includes a media decoder 101, a signal adjustment device 102, and a media playback device 103; wherein: 1) The media decoder 101 is used to parse media data to determine the output drive signal for each region in the media data. For example, when the media data is a video frame, the media decoder can refer to a video decoder, which can parse the code value of each region in the video frame. Each code value can refer to an output drive signal, used to reflect the expected output brightness (or expected display brightness) of each region in the video frame. Similarly, when the media data is audio, the media decoder can refer to an audio decoder, which can parse the sound pressure level (SPL) value of each sampling point in the audio. Each SPL value can refer to an output drive signal, used to reflect the expected output loudness of each sampling point in the audio.
[0055] 2) The signal adjustment device 102 is used to adjust the output drive signal input to the media playback device so that the media playback device can output media data that is more in line with the expected effect (expected output effect or expected output result) based on the adjusted output drive signal (such as outputting video frames that are more in line with the expected brightness).
[0056] 3) Media playback device 103 refers to a device used to play media data. For example, a media playback device can be a terminal device, which can refer to the terminal device used by the user. Of course, depending on the application scenario and field in which the media data playback scheme is applied, the terminal device for the media data playback scheme provided in this application embodiment may vary. Terminal devices may include, but are not limited to: televisions, smartphones, tablets, mobile internet devices (MIDs), in-vehicle devices, smart robots, desktop computers, head-mounted devices, smart home devices, and smart voice interaction devices, etc. This application embodiment does not limit the type of terminal device, as stated here.
[0057] For example, the terminal device can be a tablet computer. In this implementation, the media data playback scheme provided in this application embodiment can be deployed in a signal adjustment device. The signal adjustment device adjusts the original output drive signal of different media data according to the media data playback scheme provided in this application, and then transmits the adjusted original output drive signal to the tablet computer. The tablet computer can then output media data according to the received adjusted original output drive signal, and the effect of the output media data is more in line with the expected effect.
[0058] Specifically, tablet computers can deploy media applications (such as video applications, short video push applications, communication applications, etc.), and users can access or browse different media resources (such as videos) through these applications. When a tablet computer needs to display any media data (such as a frame of a video) to a user, the video decoder reads the output drive signals of each region in the video frame (such as the code values of each region, which reflect the expected display brightness (or expected output brightness) of each region). Based on the output drive signals of each region, the media characteristic parameters of the video frame (such as the average brightness of the screen) can be determined.
[0059] The media feature parameters (such as average screen brightness) and output drive signals (such as bit values) of each region of the video frame parsed by the video decoder can be transmitted to the signal adjustment device. The signal adjustment device obtains the adjustment strategy determined in advance for this media feature parameter, and then adjusts the output drive signals (such as bit values) of each region according to this adjustment strategy. After that, the signal adjustment device can transmit the adjusted output drive signals (adjusted bit values) to the tablet computer. The tablet computer will display the video frame according to the adjusted output drive signals (adjusted bit values), and the actual effect of each region in the output video frame will be close to the expected effect (the actual brightness will be close to the expected brightness).
[0060] The signal adjustment device in this application can be a terminal device, which can be integrated with the media playback device or set up separately.
[0061] The signal adjustment device can also be a server, which can be integrated with the server corresponding to the media playback device or set up separately. It is used to interact with the media playback device to provide computing and application service support. The signal adjustment device and the media playback device can be connected directly or indirectly via wired or wireless communication; this application does not limit the specific connection method. Furthermore, this application does not limit the number of media playback devices, signal adjustment devices, and media decoders.
[0062] The server can be a standalone physical server, a server cluster or distributed system consisting of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, content delivery networks (CDN), and big data and artificial intelligence platforms.
[0063] The media decoder can be deployed within a signal conditioning device, exchanging data via an internal bus. Alternatively, the media decoder can be deployed independently of the signal conditioning device, connecting directly or indirectly via wired or wireless communication. This application does not impose any restrictions on the specific deployment or connection methods between the media decoder and the signal conditioning device.
[0064] Based on the media data playback scheme and system architecture described above, the following points also need to be explained: (1) The embodiments of this application mentioned above Figure 1 The system shown is intended to more clearly illustrate the technical solutions of the embodiments of this application and does not constitute a limitation on the technical solutions provided in the embodiments of this application. Those skilled in the art will understand that, with the evolution of system architecture and the emergence of new business scenarios, the technical solutions provided in the embodiments of this application are also applicable to similar technical problems. For example, the above describes an application scenario of the media data playback scheme, using the execution subject "computer equipment" of the embodiments of this application, which includes terminal devices and / or servers, as an example, where the terminal device or server alone executes the media data playback scheme provided in the embodiments of this application; alternatively, the terminal device and server can jointly execute the media data playback scheme provided in the embodiments of this application.
[0065] (2) The data collection and processing in this application embodiment should strictly comply with the requirements of relevant laws and regulations. The acquisition of personal information must be based on the knowledge or consent of the individual (or have a legal basis for information acquisition), and subsequent data use and processing should be carried out within the scope of laws and regulations and the authorization of the personal information subject. For example, when this application embodiment is applied to specific products or technologies, such as acquiring video data and related historical data that the user has operated, the user's permission or consent is required, and the collection, use and processing of related data must comply with the relevant laws, regulations and standards of the relevant regions.
[0066] Based on the media data playback scheme and application scenarios described above, this application proposes a more detailed data processing method, which will be described in detail below with reference to the accompanying drawings.
[0067] Please see also Figure 2 , Figure 2 This is a flowchart illustrating a data processing method provided in an embodiment of this application. The flowchart may refer to the playback scheme for media data provided in this embodiment. The data processing method can be executed by a computer device in the aforementioned system, such as a terminal device and / or a server; the data processing method may include at least the following steps S201-S204: Step S201: Obtain the standard output information of the media playback device. The standard output information is used to reflect the expected output result of the media playback device under N output drive signals, where N is a positive integer.
[0068] In this application, the output drive signal refers to the signal used to drive the media playback device to output media data. In other words, this output drive signal "tells" the media playback device what the desired output effect (such as the brightness, grayscale, saturation, volume, loudness, etc. of the media data) should be when outputting media data. The output effect can also be called the output result. Therefore, it is called the output drive signal.
[0069] The N output drive signals can be set according to actual business needs and output effects (or output results). For example, when the output effect is brightness, 2043 code values from 1 to 2043 can be used as output drive signals. In this example, N is 2043. Similarly, when the output effect is sound quality, 100 sound quality commands from 1 to 100 can be used as output drive signals. In this example, N is 100. Further examples will not be provided here.
[0070] Based on the standard capabilities that a media playback device should achieve, this application can map the expected output results of N output drive signals to determine the expected output result (or expected output effect) of the media playback device under the N output drive signals. The expected output result of an output drive signal refers to the result that the media playback device is expected to output after this output drive signal is input to the media playback device (or can be understood as the output result or output effect that the media playback device should achieve). Standard output information can be generated based on the expected output results corresponding to the N output drive signals. For example, the integrated information generated by combining the expected output results corresponding to each of the N output drive signals can be used as standard output information.
[0071] For a better understanding, please refer to the following: Figure 3 , Figure 3 This is a schematic diagram of standard output information of a media playback device provided in an embodiment of this application. This embodiment is illustrated using N output drive signals as 1023 code values and the desired output result (or desired output effect) as the desired output brightness.
[0072] Since there are a large number of code values, including 1023, we will only use code values 1, 100, 200, 300, 400, 500, 600, 700, 800, 900, and 1023 for explanation. We assume the expected output brightness for code value 1 is 0, for code value 100 it is 0.5, for code value 200 it is 2, for code value 300 it is 10, for code value 400 it is 50, for code value 500 it is 150, for code value 600 it is 550, for code value 700 it is 1500, for code value 800 it is 3000, for code value 900 it is 5000, and for code value 1023 it is 10000. A standard luminance curve can be constructed based on the mapping relationship between each code value and the corresponding expected output luminance.
[0073] like Figure 3 As shown, this standard brightness curve uses the code value as the X-axis and the desired output brightness as the Y-axis. By understanding the mapping relationship between the code value and the desired output brightness in this standard brightness curve, the desired output brightness corresponding to each code value can be clearly determined. This standard brightness curve can serve as standard output information; that is, this standard output information is presented in curve form.
[0074] Step S202: Obtain the actual output information of the media playback device under the first media characteristic parameters. The actual output information is used to reflect the actual output results of the media playback device under N output drive signals.
[0075] In this application, based on the above description, the first media feature parameter refers to a representative media feature parameter. A media feature parameter is a quantitative value extracted from media data to describe the overall characteristics of the media content within that data. It is a quantitative indicator of the overall attributes or statistical characteristics of the media data, reflecting the media content's demand on the media playback device and influencing the playback behavior of the device. For example, when the media data is an image or frame (such as a frame of a video), this media feature parameter could refer to the average brightness, maximum brightness (brightness corresponding to the highest bit value in each region), or average saturation. When the media data is an audio frame, this media feature parameter could refer to average loudness (the average loudness of all sampling points), peak loudness (the maximum loudness of the audio), etc.
[0076] Different media feature parameters of media data will have different effects on media playback devices, resulting in different output effects. For example, when the media data is an image, assuming the media feature parameter is average screen brightness, if the average screen brightness is very low (e.g., 5% average brightness), it indicates that the bit values in various areas of the image are very small. Therefore, the automatic brightness limiting mechanism of the media playback device will not be triggered, and the media playback device will play the image normally. The actual brightness of each area in the output image will be almost identical to the expected brightness. If the average screen brightness is high (e.g., 30% average brightness), the automatic brightness limiting mechanism will be slightly triggered to reduce the power consumption of the media playback device, resulting in a slight deviation from the expected brightness. However, if the average screen brightness is particularly high (e.g., 90% average brightness), it indicates that the bit values in many areas of the image are very high. Therefore, the automatic brightness limiting mechanism will be severely triggered, reducing the power consumption of the media playback device, resulting in an output brightness far lower than expected. In other words, even for the same bit value, the actual brightness output by the media playback device will be different under different average screen brightness levels.
[0077] Based on this, this application can conduct test experiments on various media characteristic parameters to find the actual output result of the media playback device under N output drive signals due to its actual capabilities under a certain media characteristic parameter. By integrating the N output drive signals with the corresponding actual output result, the actual output information of the media playback device under various media characteristic parameters can be generated.
[0078] Taking the first media feature parameter as an example, the specific implementation process for obtaining the actual output information of the media playback device under the first media feature parameter may include at least the following: First, the media feature parameter of the media playback device can be set as the first media feature parameter. For example, taking the average screen brightness as the media feature parameter, assuming the corresponding media feature parameter is 30%, then this application can fix the overall average brightness of the screen of the media playback device to 30% (for example, fix the code value of each area in the screen of the media playback device so that the overall average brightness of the screen is fixed at 30%).
[0079] In other words, this application can set the media characteristic parameters of the media playback device to the first media characteristic parameter by adjusting the output drive signals of various areas on the screen of the media playback device. Subsequent tests can be conducted under this first media characteristic parameter.
[0080] Specifically, a region (usually a small area in the center of the screen) can be selected as the designated region on the screen of the media playback device. This application can set the output drive signal of the designated region to N output drive signals in sequence without changing the output drive signals of other regions outside the designated region (that is, keeping the media characteristic parameters of the media playback device unchanged at the first media characteristic parameter), and detect the actual output result of the designated region under the N output drive signals.
[0081] It is worth noting that since the output drive signal of a specified area of the screen can affect the media characteristic parameters of the media playback device, in the specific implementation, the specified area can be selected as a small area (such as the central area occupying 5% of the screen area). In this way, since the area of the central area is relatively small and the area of the surrounding area is relatively large, the change of the output drive signal of the central area can be ignored on the media characteristic parameters of the entire screen, so that the media characteristic parameters of the media playback device can be approximately kept as the first media characteristic parameter.
[0082] In other words, when the media feature parameters of the media playback device are kept at the first media feature parameter, the output drive signals of the specified area can be adjusted to N output drive signals in ascending order of N output drive signals. Each time a signal is adjusted, the actual output result of the specified area can be detected, thereby obtaining the actual output result of the N output drive signals.
[0083] For example, assuming N output drive signals have code values from 1 to 1023, the media characteristic parameter is the average screen brightness, the first media characteristic parameter is 30%, and the output result is the output brightness (the actual output result is the actual output brightness), the average screen brightness of the media playback device can be fixed at 30%. Then, the code value for a specified area can be adjusted to 1, 2, 3, ..., 1023, and the actual output brightness of the specified area under each code value can be detected, including: the actual output brightness of the specified area under code value 1; the actual output brightness of the specified area under code value 2; the actual output brightness of the specified area under code value 3; ...; and the actual output brightness of the specified area under code value 1023.
[0084] Based on the N output drive signals and the actual output results of the specified area under the N output drive signals, the actual output information of the media playback device under the first media characteristic parameters can be generated. For example, the actual output information can still be presented in the form of a curve. This application can establish a coordinate axis with the N output drive signals as the X-axis and the actual output results as the Y-axis, and draw an actual result curve (such as an actual brightness curve) based on the N output drive signals and the actual output results of the specified area under the N output drive signals. This actual result curve can include the mapping relationship between the N output drive signals and the actual output results of the specified area under the N output drive signals.
[0085] To better illustrate the difference between standard output information and actual output information, please refer to [link / reference needed]. Figure 4 , Figure 4 This is a schematic diagram comparing standard output information and actual output information provided in an embodiment of this application. This embodiment is illustrated using N output drive signals as 1023 code values and the output result (or output effect) as output brightness. That is, in this embodiment, the desired output result is the desired output brightness, and the actual output result is the actual output brightness.
[0086] Since there are a large number of code values, including 1023, we will only use code values 1, 100, 200, 300, 400, 500, 600, 700, 800, 900, and 1023 for explanation. We assume the expected output brightness for code value 1 is 0, for code value 100 it is 0.5, for code value 200 it is 2, for code value 300 it is 10, for code value 400 it is 50, for code value 500 it is 150, for code value 600 it is 550, for code value 700 it is 1500, for code value 800 it is 3000, for code value 900 it is 5000, and for code value 1023 it is 10000. A standard luminance curve can be constructed based on the mapping relationship between each code value and the corresponding expected output luminance.
[0087] like Figure 4 As shown, this standard brightness curve is as follows: Figure 4 The solid line shown represents the curve. By mapping the code value to the expected output brightness in this standard brightness curve, we can clearly determine the expected output brightness corresponding to each code value. This standard brightness curve can be used as standard output information.
[0088] Similarly, assuming the actual output brightness corresponding to code value 1 is 0, code value 100 corresponds to 0.5, code value 200 corresponds to 2, code value 300 corresponds to 10, code value 400 corresponds to 49, code value 500 corresponds to 140, code value 600 corresponds to 40, code value 700 corresponds to 800, code value 800 corresponds to 950, code value 900 corresponds to 980, and code value 1023 corresponds to 1000, an actual brightness curve can be constructed based on the mapping relationship between each code value and its corresponding actual output brightness.
[0089] like Figure 4 As shown, the actual brightness curve is as follows: Figure 4 The curve represented by the dashed line can be used to determine the actual output brightness corresponding to each code value by mapping the code value to the actual output brightness. This actual brightness curve can be used as actual output information.
[0090] Through such Figure 4The comparison between the standard brightness curve and the actual brightness curve shows that, under the same average brightness of the image, the actual output brightness of the media playback device may not reach the expected output brightness, with a significant deviation between the two. For example, for an expected output brightness of 1000, the media playback device is instructed to input a code value of 1023 (the code value 1023 serves as a brightness command) to notify the media playback device that it needs to output media data with a brightness of 10000. However, due to its own limitations, the media playback device may only output a media data brightness of 1000, far below the expected 10000.
[0091] Step S203: Based on the difference between the standard output information and the actual output information, determine the first adjustment strategy for the first media feature parameters; the first adjustment strategy is used to adjust N output driving signals, and the perceived error between the actual output result of the media playback device under the adjusted N output driving signals and the expected output result under the N output driving signals satisfies the error convergence condition. In this application, to ensure that the media data output by the media playback device better meets the expected effect, an adjustment scheme for the output drive signal is proposed. The most suitable adjustment strategy can be pre-determined for different media characteristic parameters. This adjustment strategy includes N adjustment values for the output drive signals. In other words, the adjustment strategy is used to adjust N output drive signals. When the media playback device needs to play media data with a certain media characteristic parameter, the adjustment strategy determined for that media characteristic parameter can be obtained. According to this adjustment strategy, the output drive signal of the media data can be adjusted. Furthermore, when transmitting the output drive signal to the media playback device, the original output drive signal of the media data is not transmitted; instead, the adjusted output drive signal is transmitted. This allows the media playback device to output media data that better meets the expected effect under the instruction of the adjusted output drive signal.
[0092] When determining the adjustment strategy for a certain media feature parameter (such as the first media feature parameter), this application does not rely on human experience to make the determination. Instead, it determines multiple candidate adjustment strategies for N output driving signals. Each candidate adjustment strategy can refer to a strategy that adjusts the N output driving signals to a single value. It can be understood that each candidate adjustment strategy includes a candidate adjustment value corresponding to each of the N output driving signals (the candidate adjustment value is one of the N output driving signals).
[0093] Next, for any candidate adjustment strategy, this application obtains the actual output results of the media playback device under each candidate adjustment value included in the candidate adjustment strategy based on the actual output information. For an output drive signal, based on the difference between the expected output result of the media playback device under the output drive signal and the actual output result under the candidate adjustment value of the output drive signal, the perceived error between the actual output result and the expected output result after adjusting the output drive signal to the candidate adjustment value can be determined. By integrating the perceived errors generated by N output drive signals, the overall perceived error of a candidate adjustment strategy can be obtained. This perceived error is used to reflect the feasibility of the candidate adjustment strategy. If the perceived error is large, it indicates that the candidate adjustment strategy is not feasible. If the N output drive signals are adjusted according to the candidate adjustment strategy, the actual output result of the media playback device under the adjusted signal will still have a large deviation from the expected output result.
[0094] This application can pre-configure an error convergence condition based on actual business needs (such as the condition that the perceived error is lower than the error threshold, the condition that the perceived error is the minimum, etc.). Only candidate adjustment strategies that meet the error convergence condition can be determined as adjustment strategies for media feature parameters (such as the first media feature parameter). The adjustment strategy for the first media feature parameter can be named the first media feature parameter.
[0095] It is evident that the perceived error between the actual output of the media playback device under the adjusted N output drive signals and the expected output under the N output drive signals satisfies the error convergence condition. That is, the actual output of the media playback device under the adjusted N output drive signals will be very close to the expected output under the N output drive signals.
[0096] Step S204: When receiving first media data with the first media feature parameter as the first media feature parameter, adjust the first original output drive signal of the first media data according to the first adjustment strategy, and call the media playback device to play the first media data with the adjusted first original output drive signal.
[0097] In this application, after determining a first adjustment strategy for the first media feature parameter, the output drive signal of media data with the first media feature parameter can be adjusted according to this first adjustment strategy. For example, assuming media data with the first media feature parameter is received (for distinction, it is named the first media data), the output drive signal of the first media data (for distinction, the output drive signal of the first media data is called the first original output drive signal) can be adjusted according to this first adjustment strategy.
[0098] In practical applications, since the desired output results for each region in the first media data are different (for example, the brightness requirements for each region in the first media data are different; or the sound quality requirements for each part in the first media data are different), the number of the first original output driving signals may be more than one, because there will be signals from each part (region) of the first media data.
[0099] The first adjustment strategy includes N adjustment values corresponding to the output drive signals (for distinction, each adjustment value included in the first adjustment strategy can be referred to as a first adjustment value, thus the first adjustment strategy includes N first adjustment values). For any given first original output drive signal, the first adjustment value corresponding to this first original output drive signal can be obtained from the first adjustment strategy, and then this first original output drive signal can be adjusted to the corresponding first adjustment value. This can be considered as adjusting the first original output drive signal according to the first adjustment strategy.
[0100] In other words, by adjusting, the first original output drive signal can be changed to the first adjustment value corresponding to the first original output drive signal in the first adjustment strategy (i.e., the adjusted first original output drive signal = the first adjustment value corresponding to the first original output drive signal in the first adjustment strategy).
[0101] If the first original output drive signal is input into the media playback device, the actual output result of the first media data output by the media playback device under the instruction of the first original output drive signal will deviate significantly from the expected output result corresponding to the first original output drive signal. However, by inputting the first original output drive signal adjusted according to the first adjustment strategy into the media playback device, the actual output result of the media playback device will be better than the actual output result under the instruction of the first original output drive signal. The actual output result under the adjusted first original output drive signal will be better, and the deviation from the expected output result corresponding to the first original output drive signal will be reduced.
[0102] As can be seen, the step of "calling the media playback device to play the first media data with the adjusted first original output drive signal" in this application can refer to inputting the adjusted first original output drive signal to the media playback device, so that the media playback device uses the adjusted first original output drive signal as the drive signal (instruction) for the output result to output the first media data. The actual output result will be the actual output result corresponding to the adjusted first original output drive signal, which is closer to and more in line with the expected output result corresponding to the first original output drive signal.
[0103] It is worth noting that, based on the above description, the first media feature parameter in this application refers to a representative media feature parameter (for distinction, this application may name the representative media feature parameter as the representative media feature parameter). Taking W (W is a positive integer, usually an integer greater than 1) as an example, the first media feature refers to any one of the W representative media feature parameters.
[0104] To better illustrate the meaning of representative media feature parameters and the process of obtaining them, the following will still use the first media feature parameter as an example to illustrate the process of obtaining any representative media feature parameter.
[0105] The process of obtaining the first media characteristic parameters may include at least the following: First, anchor signals can be selected from N output drive signals according to a specified signal filtering method. These anchor signals can be understood as output drive signals where the actual output result of the media playback device deviates significantly from the expected output result (e.g., the deviation exceeds a preset threshold). Because these output drive signals have large deviations, adjusting them can more effectively improve the output result (output effect) of the media data. Therefore, they can be used as anchor signals and prioritized for configuring subsequent adjustment strategies.
[0106] The specific process of selecting the anchor signal from N output driving signals may include at least the following: First, based on human experience or prior knowledge, multiple output driving signals with certain adjustment value may be selected from the N output driving signals as candidate signals. The actual output effect of the media playback device on the media data under these candidate signals (actual output result) may have a large deviation from the expected output result. After selecting multiple candidate signals, each candidate signal can be tested to determine whether it needs to be used as an anchor signal. Specifically, for any candidate signal, a specified area on the screen of the media playback device (e.g., the central area of the screen described above, occupying a small area of the screen) can be fixed as the candidate signal, and the output drive signals of the surrounding areas of the screen other than the specified area (which can be named the remaining area) can be initialized to 0.
[0107] For example, taking the output drive signal as the code value and the output result (output effect) as the output brightness, by setting a specified area on the screen of the media playback device to a candidate code value (such as 50) and setting the surrounding area to 0, the specified area can have a certain brightness, while the surrounding area has a black screen brightness effect.
[0108] Furthermore, the media characteristic parameters of the media playback device can be gradually increased based on the candidate signal. This step refers to: fixing a specified area as the candidate signal and gradually adjusting the output drive signals of the surrounding areas to this candidate signal. Essentially, with the specified area as the center, the range of the candidate signal is gradually expanded, causing the output drive signals of more and more areas on the screen to increase from 0 to this candidate signal. Although the output drive signal of the specified area remains unchanged, because the output drive signals of more and more surrounding areas on the screen are improved, the average value of the overall output drive signal of the screen (i.e., the media characteristic parameters) will be correspondingly improved.
[0109] For example, taking the output drive signal as the code value, the output result (output effect) as the output brightness, and the media characteristic parameter as the average brightness of the screen, assuming that the specified area is fixed at the code value 50, by gradually expanding the range of the area with the code value 50, more and more areas on the screen will change to the code value 50, and the surrounding areas can be gradually "lit up". Each time the range of the area with the code value 50 is expanded, the average brightness of the screen will increase once.
[0110] For a better understanding, please refer to the following: Figure 5 , Figure 5 This is a schematic diagram illustrating a scenario where media feature parameters of a media playback device are gradually increased based on candidate signals, according to an embodiment of this application. Wherein, as... Figure 5 The scenario example shown is a scenario example where the output driving signal is the code value, the candidate signal is the code value 50, the output result is the output brightness, and the media feature parameter is the average brightness of the screen.
[0111] like Figure 5 As shown, assuming the media playback device screen includes 16 areas (area 1, area 2, area 3, ..., area 16), let's assume area 6 is the designated area. This designated area can be fixed with a code value of 50, while the code values of the other 15 areas are initialized to 0. Thus, in this screen, only the designated area 6 has brightness, while the other 15 surrounding areas are in a black screen output state. In this initialized output state, the average code value of the 16 areas is approximately 3, so the average brightness of the screen is the brightness corresponding to code value 3.
[0112] Furthermore, the white window area can be gradually increased (i.e., the surrounding areas can be gradually brightened as well). For example, the code values of areas 2, 5, 7, and 10 can be increased to code value 50. This will make areas 2, 5, 7, and 10 "brighten up". Since the code values of areas 2, 5, 7, and 10 are increased, the average code value of the 16 areas in the output state is approximately 16, and the average brightness of the screen is the brightness corresponding to code value 16.
[0113] Next, the white window area can be further expanded. For example, the code values of regions 1, 3, 9, and 11 can be increased to a code value of 50. This will make regions 1, 3, 9, and 11 "light up." At this point, since the code values of regions 1, 3, 9, and 11 have been increased, the average code value of the 16 regions in the output state is approximately 28, and the average brightness of the screen is the brightness corresponding to a code value of 28. By gradually expanding the white window area, the code value of all 16 regions can eventually be changed to a code value of 50. At this point, the screen is in a state where the white window is fully covered, the average code value of the 16 regions is 50, and the average brightness of the screen is the brightness corresponding to a code value of 50.
[0114] When the output drive signals for all areas of the screen are candidate signals, the determined media feature parameters can be used as the media parameter thresholds corresponding to these candidate signals. For example, the above... Figure 5 In the corresponding embodiment, the average brightness of the screen corresponding to 50 can be used as the brightness threshold corresponding to this candidate code value 50. When the media feature parameters of the media playback device are the media parameter thresholds corresponding to the candidate signals, it can be said that the output driving signals of each region are all these candidate signals.
[0115] In practical applications, as the media feature parameters of the media playback device increase, the actual output result of a specified area may change accordingly. For example, as the average brightness of the screen increases, the ABL (Adjustable Brightness Block) mechanism may be triggered, causing the brightness of the specified area to decrease. Therefore, when the media feature parameters of the media playback device are at a media parameter threshold, the actual output result of the specified area can be obtained, as well as the result offset (such as brightness deviation) between the actual output result and the expected output result corresponding to the candidate signal. If this result offset is greater than the offset threshold (which can be set based on actual business needs), the candidate signal can be determined as the anchor signal.
[0116] Using the above method, each candidate signal can be detected to determine whether it is necessary to designate it as an anchor signal. Based on the above, for any candidate signal, this application fixes a specified area as this candidate signal and gradually increases the media characteristic parameters of the media playback device. Each time the parameters are increased, the actual output result of the specified area is measured. This application can obtain the media characteristic parameter at the point where the actual output result of the specified area begins to decrease (which can be called the media characteristic parameter of the first decrease). If the candidate signal is an anchor signal, the media characteristic parameter of the first decrease can be used as a representative media characteristic parameter (such as the first media characteristic parameter).
[0117] For example, suppose that in a specified area, the candidate signal is all other surrounding signals are 0, and the actual output of the specified area is 10. After the media characteristic parameter of the media playback device is increased for the first time, the actual output of the specified area is still 10. After the media characteristic parameter of the media playback device is increased for the second time, the actual output of the specified area is 9. After the media characteristic parameter of the media playback device is increased for the third time, the actual output of the specified area is 8. It can be seen that after the media characteristic parameter of the media playback device is increased for the second time, the actual output of the specified area begins to decrease (i.e., the first decrease). Therefore, this second increase in the media characteristic parameter of the media playback device can be used as a representative media characteristic parameter.
[0118] In other words, after determining an anchor signal, this application can fix a specified area as the anchor signal; based on the anchor signal, the media feature parameters of the media playback device can be gradually increased, and the actual output results of the specified area under each increased media feature parameter can be subjected to attribute detection (detecting whether the actual output result of the specified area has decreased and whether it is the first decrease; if it is the first decrease, the result attribute of the increased media feature parameter can be determined as the first decrease attribute); for the increased media feature parameter whose detected result attribute is the first decrease attribute, it can be determined as the first media feature parameter (i.e., a representative media feature parameter).
[0119] By using the above method to determine the first adjustment strategy for the first media feature parameter, the most suitable and optimal adjustment strategy (the adjustment strategy with the smallest perceptual error between the target and the expected output) can be determined for each of the other representative media feature parameters. For the remaining non-representative media feature parameters, the adjustment strategies of the W representative media feature parameters can be used as a reference to determine the corresponding adjustment strategy.
[0120] To distinguish them, the non-representative media feature parameters can be named the second media feature parameters. For any second media feature parameter, the adjustment strategy of the second media feature parameter can be determined based on the first adjustment strategy of the first media feature parameter and the adjustment strategies of other representative media feature parameters (to distinguish them, this is named the second adjustment strategy).
[0121] The specific implementation process may include at least the following: First, based on the first media feature parameter and the second media feature parameter, a reference media feature parameter can be determined from W representative media feature parameters, with the second media feature parameter falling between the first media feature parameter and the reference media feature parameter. That is, if the first media feature parameter is greater than the second media feature parameter, then a representative media feature parameter smaller than the second media feature parameter (preferably smaller than the largest of the representative media feature parameters in the second media feature parameter) can be selected from the W representative media feature parameters as the reference media feature parameter; if the first media feature parameter is smaller than the second media feature parameter, then a representative media feature parameter greater than the second media feature parameter (preferably greater than the smallest of the representative media feature parameters in the second media feature parameter) can be selected from the W representative media feature parameters as the reference media feature parameter. Then, an adjustment strategy for the reference media feature parameter (which can be called a reference adjustment strategy) can be obtained; based on the first adjustment strategy and the reference adjustment strategy, a second adjustment strategy for the second media feature parameter can be determined.
[0122] As described above, the first adjustment strategy in this application includes N first adjustment values, and correspondingly, the reference adjustment strategy also includes N adjustment values (referred to as second adjustment values) corresponding to the output drive signals. This application can generate a curve based on the correspondence between the N output drive signals and the N first adjustment values; this curve can be called the first signal correction curve. For example, a coordinate system can be constructed using the N output drive signals as the X-axis and the N first adjustment values as the Y-axis. Based on the correspondence between the N output drive signals and the N first adjustment values, a curve can be generated in this coordinate system.
[0123] Similarly, based on the correspondence between the N output drive signals and the N second adjustment values, a second signal correction curve can be generated. Based on the first and second signal correction curves, curve interpolation can be performed (this can be achieved using a curve interpolation algorithm, which will not be discussed in detail here). This generates an interpolation correction curve, which includes the curve interpolations corresponding to the N output drive signals. Each curve interpolation can serve as an adjustment value for an output drive signal. Therefore, based on the curve interpolations corresponding to the N output drive signals, a second adjustment strategy for the second media characteristic parameters can be generated.
[0124] As can be seen, in determining the adjustment strategy for all media feature parameters, this application does not follow the method provided in this application, sequentially determining the corresponding adjustment strategy for each media feature parameter. Such a full traversal would consume a significant amount of time and computational resources. This application pre-determines several representative media feature parameters and then, according to… Figure 2 In the corresponding embodiment, the method of determining the first adjustment strategy is to determine the corresponding adjustment strategy for each representative media feature parameter. For other non-representative media feature parameters, a more suitable and accurate adjustment strategy can be determined by relying on the adjustment strategy corresponding to each representative media feature parameter, which can save computing resources and time costs.
[0125] It should be noted that in determining the second adjustment strategy for a certain second media feature parameter, it is not necessary to rely on the first adjustment strategy. Instead, from among the W representative media feature parameters that are smaller than the second media feature parameter, the largest one is selected as a reference media feature parameter, and from among the W representative media feature parameters that are larger than the second media feature parameter, the smallest one is selected as another reference media feature parameter. Based on the adjustment strategies of the two reference media feature parameters, a curve interpolation algorithm can be used to determine the second adjustment strategy for the second media feature parameter. Of course, the above process of using curve interpolation to determine the adjustment strategy for the second media feature parameter is only an illustrative example. In practical applications, other methods can also be used to determine the adjustment strategy for the second media feature parameter based on the adjustment strategies of the W representative media feature parameters, and this application does not impose any restrictions on them.
[0126] After determining the second adjustment strategy for the second media characteristic parameter, the output drive signal for media data with the second media characteristic parameter can be adjusted according to this second adjustment strategy. For example, assuming media data with the second media characteristic parameter is received (for distinction, it is named the second media data), the output drive signal of the second media data (for distinction, the output drive signal of the second media data is called the second original output drive signal) can be adjusted according to this second adjustment strategy. Subsequently, the media playback device can be called to play the second media data based on the adjusted second original output drive signal.
[0127] In this embodiment, when playing media data using a media playback device, a method of minimizing perceptual error is employed to determine the most suitable adjustment strategy for different media characteristic parameters. When media data with these characteristic parameters needs to be played, this adjustment strategy can be used to adjust the output drive signal input to the media playback device to a more suitable value. After inputting a more suitable output drive signal to the media playback device, the actual output result of the media playback device can be closer to the expected result for this media data. Compared to traditional media data playback schemes, the solution provided in this application can reduce the deviation between the actual output effect and the expected output effect of the media data, while reducing the impact on the media playback device.
[0128] To better understand the process of determining an adjustment strategy for a certain media feature parameter (such as a representative media feature parameter), the following will take the first media feature parameter as an example and explain in detail the process of determining the first adjustment strategy for the first media feature parameter with reference to the accompanying drawings.
[0129] Please see also Figure 6 , Figure 6 This is a flowchart illustrating the determination of a first adjustment strategy provided in an embodiment of this application. This process can correspond to the above. Figure 2 The corresponding embodiment describes the process for determining the first adjustment strategy for the first media feature parameter based on the difference between standard output information and actual output information. For example... Figure 6 As shown, the process may include at least the following steps S601-S605: Step S601: Based on the difference between the standard output information and the actual output information, determine at least one candidate adjustment value corresponding to each of the N output drive signals from the N output drive signals.
[0130] In this application, the standard output information can be compared with the actual output information, and based on the difference between the two, at least one candidate adjustment value can be determined for each output drive signal (that is, the output drive signal that is the adjustment candidate among N output drive signals is called the candidate adjustment value).
[0131] Specifically, as can be seen from the above, both standard output information and actual output information can be presented in the form of curves. In this application, the curve used to characterize the standard output information is called the first mapping curve (reflecting the correspondence / mapping relationship between N output driving signals and the corresponding expected output results), and the curve used to characterize the actual output information is called the second mapping curve (reflecting the correspondence / mapping relationship between N output driving signals and the corresponding actual output results).
[0132] Two curves can be compared to obtain a curve segment from the second mapping curve that is close to the first mapping curve (a curve segment whose curve difference from the first mapping curve is less than a difference threshold). This curve segment can be called a close curve segment. Alternatively, a curve segment that deviates from the first mapping curve can be obtained from the second mapping curve (a curve segment whose curve difference from the first mapping curve is greater than a difference threshold). This curve segment can be called a deviated curve segment.
[0133] For example, please see also Figure 7 , Figure 7 This is a schematic diagram illustrating a method for filtering curve segments and deviation curve segments according to an embodiment of this application. Combined with... Figure 4In the embodiment shown, the first mapping curve is the desired brightness curve, while the second mapping curve is the actual brightness curve.
[0134] Through comparison, the deviation between the actual output brightness corresponding to code values 1 to 500 and the corresponding expected output brightness is less than the deviation threshold. Moreover, through curve comparison, the curve segments corresponding to code values 1 to 500 in the actual brightness curve almost overlap with the curve segments corresponding to code values 1 to 500 in the expected brightness curve, and the degree of deviation from the expected brightness curve is small.
[0135] Based on this, by comparison, the curve segments corresponding to code values 1 to 500 in the actual brightness curve can be identified as near curve segments, while curve segments other than these near curve segments in the actual brightness curve can be regarded as deviation curve segments.
[0136] After identifying the near-curve segment and the off-curve segment, the output drive signal covered by the near-curve segment can be identified as a first-type signal, for example, in Figure 7 In the embodiment shown, the code values covered by the proximity curve segment include code value 1 to code value 500. Code value 1, code value 2, ..., code value 500 can all be used as a first type signal.
[0137] Accordingly, the output drive signal covered by the deviation curve segment can be identified as a second type of signal, for example, in Figure 7 In the embodiment shown, the code values covered by the deviation curve segment include code values 501 to 1023. Code values 501, 502, 503, ..., 1023 can all be used as a second type of signal.
[0138] For any given Type I signal, since the deviation between the actual output and the expected output is small, no adjustment is needed. This Type I signal can be directly input into the media playback device, and the media data output by the device will be very close to the expected output. Therefore, the Type I signal itself can be identified as at least one candidate adjustment value corresponding to the Type I signal. For example, in... Figure 7 In the illustrated embodiment, at least one candidate adjustment value for code value 100 is 100, and at least one candidate adjustment value for code value 300 is 300.
[0139] For any given second-type signal, each of the N output drive signals other than the given second-type signal can be identified as a candidate adjustment value corresponding to the second-type signal. In other words, the number of at least one candidate adjustment value for each second-type signal includes N-1. For example, in... Figure 7In the embodiment shown, at least one candidate adjustment value of code value 501 is any of the other code values other than 501 among code values 1 to 1023.
[0140] Step S602: Iterate and combine at least one candidate adjustment value corresponding to each of the N output driving signals to obtain M candidate adjustment groups. Each candidate adjustment group consists of one candidate adjustment value corresponding to the N output driving signals; M is a positive integer.
[0141] In this application, after determining at least one candidate adjustment value for each of the N output drive signals, the at least one candidate adjustment value corresponding to each of the N output drive signals can be iterated and combined to obtain M candidate adjustment groups.
[0142] In this application, the traversal combination refers to: selecting one candidate adjustment value from at least one candidate adjustment value corresponding to each output driving signal and combining them, enumerating all possible selection methods, thereby forming multiple candidate adjustment groups.
[0143] For example, suppose there are N output drive signals, including 1, 2, and 3. Output drive signal 1 has one candidate adjustment value (2); output drive signal 2 has two candidate adjustment values (1 and 3); and output drive signal 3 has two candidate adjustment values (1 and 2). Iterating through and combining these values means selecting one value from at least one candidate adjustment value of output drive signal 1, one value from at least one candidate adjustment value of output drive signal 2, and one value from at least one candidate adjustment value of output drive signal 3, and combining them. Each selection method constitutes a combination, resulting in four combinations: [2, 1, 1], [2, 1, 2], [2, 3, 1], and [2, 3, 2]. Each combination can be considered a candidate adjustment group. In other words, the number of candidate adjustment groups obtained through iterating through the combinations is a Cartesian product: M1 × M2 × M3 × … × MN. Here, M1 is the number of at least one candidate adjustment values for output drive signal 1, M2 is the number of at least one candidate adjustment values for output drive signal 2, …, MN are the number of at least one candidate adjustment values for output drive signal N.
[0144] This application assumes that by iterating and combining at least one candidate adjustment value corresponding to each of the N output drive signals, Q (Q is a positive integer) candidate adjustment groups will be obtained. This application can filter these Q candidate adjustment groups to select M candidate adjustment groups with greater adjustment value. Therefore, to distinguish them, this application can refer to the Q candidate adjustment groups obtained after iteration and combination as the initial adjustment groups, and the M initial adjustment groups remaining after filtering are called the M candidate adjustment groups. One of the M candidate adjustment groups can be understood as a candidate adjustment strategy, including one candidate adjustment value for each of the N output drive signals.
[0145] In other words, the specific process of iterating and combining at least one candidate adjustment value corresponding to each of the N output drive signals to obtain M candidate adjustment groups may include at least the following: First, iterating and combining at least one candidate adjustment value corresponding to each of the N output drive signals to generate Q initial adjustment groups, where Q is a positive integer greater than or equal to M, and each initial adjustment group is composed of a candidate adjustment value of each of the N output drive signals.
[0146] Next, smoothness constraints can be used to test the Q initial adjustment groups. Only the initial adjustment groups that meet the smoothness constraints can be selected as candidate adjustment groups. That is, the M initial adjustment groups that meet the smoothness constraints among the Q initial adjustment groups will be determined as M candidate adjustment groups.
[0147] The actual output information can be presented as a curve, and the initial adjustment group can also be presented as a curve. For better understanding, please refer to [the relevant documentation / reference]. Figure 8 , Figure 8 This is a schematic diagram of an initial adjustment group provided in an embodiment of this application. Here, taking N output driving signals including code values 1 to 1023 as an example, an initial adjustment group includes a candidate adjustment value corresponding to each of code values 1 to 1023.
[0148] In this embodiment, an X-axis and a Y-axis can be constructed using code values 1 to 1023. The Y-axis is used to record the candidate adjustment values corresponding to code values 1 to 1023, thus forming a coordinate system. Based on the candidate adjustment values corresponding to code values 1 to 1023, a curve can be constructed in this coordinate system, for example, as shown below. Figure 8 The curve shown is as follows: Figure 8 The curve shown reflects the candidate adjustment value corresponding to each code value. For example... Figure 8 The curve shown can represent an initial adjustment group, and the curve used to represent the initial adjustment group can be called the signal correction curve.
[0149] This application can pre-configure a curve smoothness parameter (i.e., the smoothness constraint includes the curve smoothness parameter). For any initial adjustment group, the signal correction curve of the initial adjustment group can be checked according to this curve smoothness parameter. If the signal correction curve has curve smoothness, it can be determined that the initial adjustment group meets the smoothness constraint.
[0150] Taking Q initial adjustment groups including initial adjustment group i as an example, the process of detecting the Q initial adjustment groups using smoothness constraints can include: First, the N output driving signals can be sorted in ascending order, and the resulting sequence can be called the signal sequence; similarly, the N candidate adjustment values in initial adjustment group i can be sorted in ascending order, and the resulting sequence can be called the adjustment value sequence.
[0151] Based on the signal sequence and the adjustment value sequence, the signal correction curve for the initial adjustment group i can be generated (e.g., as shown in the figure). Figure 8 (The curve shown). The curve smoothness parameter can be used to detect the smoothness of the signal correction curve of the initial adjustment group i. Its specific implementation process can include at least the following: First, two output drive signals at adjacent positions in the signal sequence can be combined to obtain at least one signal group. For example, in... Figure 8 In the embodiment shown, the signal sequence is {1, 2, 3, 4, ..., 1023}. Two output drive signals at any adjacent position can be combined, thus the signal group includes: [1, 2], [2, 3], [3, 4], ..., [1022, 1023].
[0152] Furthermore, curve segments corresponding to each signal group can be obtained from the signal correction curve of the initial adjustment group i. For any signal group, the slope of the curve segment corresponding to that signal group can be determined. After obtaining the slopes of the curve segments corresponding to all signal groups, if at least one signal group has a corresponding curve slope greater than the curve smoothness parameter (which refers to a slope threshold), it can be determined that the signal correction curve of the initial adjustment group i does not have curve smoothness; if at least one signal group does not have a corresponding curve slope greater than the curve smoothness parameter, it can be determined that the signal correction curve of the initial adjustment group i has curve smoothness.
[0153] It is worth noting that, since some of the N output drive signals do not require modification, the curve segments corresponding to these output drive signals in the signal correction curve usually have a large slope, affecting the overall judgment. Therefore, these output drive signals can be disregarded when performing curve smoothness detection. The first type of signals can be removed from the signal sequence (usually the first few signal values in the sequence), and then two adjacent output drive signals can be combined from the remaining sequence. In other words, this application can sort the second type of signals in ascending order to obtain the signal sequence, and the constructed signal correction curve is only used to reflect the candidate adjustment values corresponding to these second type models, without considering the first type of signals that do not require correction.
[0154] For initial adjustment group i, if the signal correction curve of initial adjustment group i is found to have curve smoothness, it can be determined that initial adjustment group i satisfies the smoothness constraint condition; if the signal correction curve of initial adjustment group i is found to have curve smoothness, it can be determined that initial adjustment group i does not satisfy the smoothness constraint condition.
[0155] By using smoothness constraints, the possibility of the output drive signal being adjusted to an extremely high value can be reduced. This can reduce the peak power consumption of the media playback device at any moment and also minimize the distortion of the output effect (such as white point distortion) caused by excessive adjustment of individual output drive signals, making the playback transition more natural.
[0156] Step S603: Based on the standard output information and the actual output information, calculate the perception error for each candidate adjustment group to obtain the perception error of each candidate adjustment group.
[0157] In this application, after obtaining M candidate adjustment groups (M candidate adjustment strategies), the perception error of each candidate adjustment group can be calculated based on the standard output information and the actual output information to obtain the perception error of each candidate adjustment group.
[0158] Here, taking M candidate adjustment groups including candidate adjustment group j as an example, the perception error is calculated for each candidate adjustment group based on the standard output information and the actual output information. The specific implementation process of obtaining the perception error of each candidate adjustment group can include at least the following: First, in order to form a distinction, all N candidate adjustment values included in candidate adjustment group j can be determined as target candidate adjustment values, that is: candidate adjustment group j includes N target candidate adjustment values.
[0159] For any target candidate adjustment value, the actual output result corresponding to the target candidate adjustment value in the actual output information can be determined as the first output result of the target candidate adjustment value; in the standard output information, the expected output result corresponding to the output driving signal corresponding to the target candidate adjustment value can be determined as the second output result of the target candidate adjustment value.
[0160] For any target candidate adjustment value, the perception error can be calculated by comparing the first and second output results of that target candidate adjustment value. This yields the perception error of the target candidate adjustment value (for distinction, it is referred to as signal perception error, candidate adjustment error, or signal adjustment error). Taking N target candidate adjustment values, including target candidate adjustment value 'a', as an example, the specific implementation process for calculating the perception error between the first and second calculation results of each target candidate adjustment value to obtain the signal perception error of each target candidate adjustment value can include at least the following: First, the squared difference between the first and second output results of the target candidate adjustment value 'a' can be calculated, thus obtaining the squared difference of the target candidate adjustment value 'a'.
[0161] For N output driving signals, this application can configure a corresponding perception weight for each output driving signal based on human experience or prior knowledge. For example, for a subset of output driving signals with relatively small values (such as in a scenario where the output result is output brightness, where the N output driving signals include a total of code values 1 to 1023 and a subset of code values 1 to 300), the actual output result of the media playback device under these output driving signals is close to the expected output result, and no adjustment is needed. Therefore, their perception weight can be set to a low value (e.g., 0.05). For a subset of output driving signals with very large values (such as in a scenario where the output result is output brightness, where a subset of code values 900 to 1023), the output result of the media playback device saturates at the top, and the expected output result exceeds the achievable peak value of the media playback device. Under these code values, no matter what value the code value is adjusted to, the media playback device cannot achieve the expected result. Therefore, for these saturated code values that cannot achieve the expected result, their perception weight can still be configured to a low value (e.g., 0.03). Conversely, for a portion of the output drive signals in the middle segment (such as a portion of code values 301 to 899 in a scenario where the output result is output brightness), although the actual output result of the media playback device deviates from the expected output result, by adjusting these code values, the actual output result of the media playback device can be controlled to be as close as possible to the expected output result. This portion of the output drive signal can be considered as an output drive signal that deviates from the expectation but is adjustable. Therefore, it can be adjusted first to control computing resources and precision resources, and its perception weight can be configured to a large value (such as 0.97, 0.98, etc.).
[0162] In this way, by assigning lower perception weights to output drive signals that do not require correction and output drive signals that still cannot achieve the expected results after correction, and assigning higher perception weights to output drive signals that deviate from the expected but are adjustable, this application can focus the error consideration on the signal perception error of the output drive signal that deviates from the expected but is adjustable during the subsequent calculation of perception error, making the adjustment of the output drive signal more effective and reasonable.
[0163] For the target candidate adjustment value a, the perception weight of the output driving signal corresponding to the target candidate adjustment value a can be obtained; then the square of the difference between the target candidate adjustment value a and the perception weight of the corresponding output driving signal can be calculated (multiplied), thus the signal perception error corresponding to the target candidate adjustment value a can be obtained (which can also be understood as the signal perception error of the output driving signal corresponding to the target candidate adjustment value a).
[0164] By calculating the signal perception error corresponding to the target candidate adjustment value a, the signal perception error of N target candidate adjustment values can be determined. Then, the signal perception errors of the N target candidate adjustment values can be integrated (e.g., summed) to obtain the perception error of candidate adjustment group j.
[0165] The method for calculating the perceived error of a candidate adjustment group can be as shown in formula (1): Formula (1) Among them, as shown in formula (1) It can be used to characterize the actual output information; It can be used to characterize standard output information; 'a' can be used to characterize a certain output drive signal, where N is the number of output drive signals; Characterizes the candidate adjustment value corresponding to the output drive signal; Used to characterize the sensing weights corresponding to the output driving signal.
[0166] Step S604: Determine the candidate adjustment group with the smallest perception error among the M candidate adjustment groups as the target candidate adjustment group.
[0167] In this application, after determining the perceived error corresponding to M candidate adjustment groups, the candidate adjustment group with the smallest perceived error among the M candidate adjustment groups can be determined as the candidate adjustment group that satisfies the error convergence condition, and this candidate adjustment group can be named the target candidate adjustment group.
[0168] Step S605: Based on the correspondence between the N output driving signals and the N candidate adjustment values in the target candidate adjustment group, generate a first adjustment strategy for the first media feature parameters.
[0169] In this application, after determining the target candidate adjustment group, a first adjustment strategy for the first media characteristic parameter can be generated based on the correspondence between the N output driving signals and the N candidate adjustment values in the target candidate adjustment group. That is, the first adjustment strategy includes determining the appropriate values for the N output driving signals, i.e., it includes the adjustment values corresponding to the N output driving signals. For example, the signal correction curve corresponding to this target candidate adjustment group can be used as the first adjustment strategy for the first media characteristic parameter, and the N candidate adjustment values in this signal correction curve can be used as the first adjustment values.
[0170] In this embodiment, when playing media data using a media playback device, the application employs a method of minimizing perceptual error to determine the most suitable adjustment strategy for different media characteristic parameters. Under this adjustment strategy, when media data with specific media characteristic parameters needs to be played, the output drive signal input to the media playback device is adjusted to a more suitable value. After inputting a more suitable value to the media playback device, the actual result output by the media playback device according to this value is closer to the expected result for the media data. In the process of determining the adjustment strategy for a certain media characteristic parameter, in addition to minimizing perceptual error, a smoothness constraint is also introduced. This ensures that the adjustment values of adjacent output drive signals change smoothly, effectively reducing the problem of output effect distortion caused by improper adjustment strategies, and further improving the rationality of the adjustment strategy.
[0171] It should be noted that, based on the above description, the media data in this application can refer to a media frame (such as a video frame or audio frame) within a media resource (video, audio, etc.). For a media resource, the media characteristic parameters (average brightness) of two consecutive frames (such as video frames or audio frames) may differ significantly. Therefore, during the output display of these two frames, a jump in the output result is usually observed. For example, during video playback, if the average brightness of two consecutive frames differs significantly (one is 5%, the other is 90%), then when these two video frames are played sequentially, a brightness jump (from an extremely dark image to an extremely bright image) will occur, which greatly affects the user's perception of the media data.
[0172] Therefore, in order to improve the continuity and stability of the output effect of each media frame of the output media resource, this application can pre-adjust the media characteristic parameters of each media frame, so that the media characteristic parameters of consecutive media frames can transition smoothly rather than jump abruptly. The signal adjustment device in this application can determine the adjustment strategy for a certain media data based on the adjusted media characteristic parameters when it needs to play that media data.
[0173] Further, please see Figure 9 , Figure 9 This is a schematic diagram of a logical architecture for playing media data provided in an embodiment of this application. For example... Figure 9 As shown, the logical architecture may include at least: an output information construction component 91, an adjustment strategy solving component 92, a media decoder 93, a signal adjustment component 94, and a media playback device 95. The functions implemented by each component will be briefly described below: Output Information Construction Component 91: Used to construct the expected output information of the media playback device, as well as the actual output information of the media playback device under any media characteristic parameter.
[0174] Adjustment strategy solving component 92: This component determines the adjustment strategy for a given media feature parameter based on the desired output information of the media playback device and the actual output information of the media playback device under that specific media feature parameter. The set of adjustment strategies for each media feature parameter is called the adjustment strategy set.
[0175] Media decoder 93: Used to decode the media resources to be played in order to obtain the media feature parameters and original output drive signals of each media data in the media resources.
[0176] Signal adjustment component 94: This component receives media characteristic parameters and the original output drive signal of any media data, obtains the adjustment strategy corresponding to the media characteristic parameters of the media data from the adjustment strategy set, and adjusts the original output drive signal of the media data based on this adjustment strategy. The adjustment strategy solving component 92 and the signal adjustment component 94 can be jointly deployed in the signal adjustment device to enable the signal adjustment device to implement the media data playback scheme provided in the embodiments of this application.
[0177] Media playback device 95: Used to receive the adjusted original output drive signal sent by the signal adjustment component 94, and output media data corresponding to the output result.
[0178] For the specific implementation methods of each component, please refer to the relevant descriptions in the previous embodiments. They will not be elaborated on here, nor will their beneficial effects be elaborated on.
[0179] Further, please see Figure 10 , Figure 10 This is a schematic diagram of the structure of a data processing apparatus provided in an embodiment of this application. The data processing apparatus can be a computer program running on a computer device, for example, the data processing apparatus is an application software; the data processing apparatus can be used to execute... Figure 2 The method shown. (As illustrated) Figure 10As shown, the data processing device 1 may include: an information acquisition module 11, a strategy determination module 12, and a signal adjustment module 13.
[0180] Information acquisition module 11 is used to acquire the standard output information of the media playback device. The standard output information is used to reflect the expected output result of the media playback device under N output drive signals, where N is a positive integer. The information acquisition module 11 is also used to acquire the actual output information of the media playback device under the first media characteristic parameter. The actual output information is used to reflect the actual output result of the media playback device under N output drive signals. The strategy determination module 12 is used to determine a first adjustment strategy for the first media feature parameters based on the difference between standard output information and actual output information. The first adjustment strategy is used to adjust N output driving signals. The perceived error between the actual output result of the media playback device under the adjusted N output driving signals and the expected output result under the N output driving signals satisfies the error convergence condition. The signal adjustment module 13 is used to adjust the first original output drive signal of the first media data according to the first adjustment strategy when receiving the first media data with the first media characteristic parameter as the first media characteristic parameter, and to call the media playback device to play the first media data with the adjusted first original output drive signal.
[0181] The specific implementation methods of the information acquisition module 11, the strategy determination module 12, and the signal adjustment module 13 can be found in the above description. Figure 2 The descriptions of steps S201-S204 in the corresponding embodiments will not be repeated here.
[0182] In one embodiment, the strategy determination module 12 determines the specific implementation of the first adjustment strategy for the first media feature parameter based on the difference between standard output information and actual output information, including: Based on the difference between the standard output information and the actual output information, at least one candidate adjustment value corresponding to each of the N output drive signals is determined from the N output drive signals; By iterating and combining at least one candidate adjustment value corresponding to each of the N output drive signals, M candidate adjustment groups are obtained. Each candidate adjustment group consists of one candidate adjustment value corresponding to each of the N output drive signals; M is a positive integer. Based on the standard output information and the actual output information, the perception error of each candidate adjustment group is calculated to obtain the perception error of each candidate adjustment group. The candidate adjustment group with the smallest perceived error among the M candidate adjustment groups is determined as the target candidate adjustment group; A first adjustment strategy for the first media feature parameter is generated based on the correspondence between the N output driving signals and the N candidate adjustment values in the target candidate adjustment group.
[0183] In one embodiment, the standard output information is the first mapping curve, and the actual output information is the second mapping curve. The strategy determination module 12 determines, based on the difference between standard output information and actual output information, the specific implementation method for determining at least one candidate adjustment value corresponding to each of the N output drive signals from the N output drive signals, including: Based on the first mapping curve, the approach curve segment and the deviation curve segment are obtained from the second mapping curve. The approach curve segment is the curve segment whose curve difference with the first mapping curve is less than the difference threshold, and the deviation curve segment is the curve segment whose curve difference with the first mapping curve is greater than the difference threshold. The output drive signal that is close to the curve segment is identified as the first type of signal, and the output drive signal that deviates from the curve segment is identified as the second type of signal. The first type of signal is determined as at least one candidate adjustment value corresponding to the first type of signal; Each of the N output drive signals, excluding the second type signal, is determined as at least one candidate adjustment value corresponding to the second type signal.
[0184] In one embodiment, the strategy determination module 12 iterates and combines at least one candidate adjustment value corresponding to each of the N output driving signals to obtain M candidate adjustment groups. The specific implementation includes: The at least one candidate adjustment value corresponding to each of the N output drive signals is traversed and combined to generate Q initial adjustment groups, where Q is a positive integer greater than or equal to M. Each initial adjustment group is composed of a candidate adjustment value of each of the N output drive signals. Smoothness constraints were applied to detect the Q initial adjustment groups respectively; The M initial adjustment groups that satisfy the smoothness constraint among the Q initial adjustment groups are identified as M candidate adjustment groups.
[0185] In one embodiment, the smoothness constraint includes a curve smoothness parameter, and the Q initial adjustment groups include initial adjustment group i; The specific implementation method of strategy determination module 12 for detecting Q initial adjustment groups using smoothness constraints includes: Sort the N output drive signals in ascending order to obtain a signal sequence; Sort the N candidate adjustment values in the initial adjustment group i according to the N output driving signals in ascending order to obtain the adjustment value sequence; Based on the signal sequence and the adjustment value sequence, generate the signal correction curve for the initial adjustment group i; The curve smoothness of the signal correction curve of the initial adjustment group i is detected using a curve smoothness parameter. If the signal correction curve of the initial adjustment group i is detected to have curve smoothness, then it is determined that the initial adjustment group i satisfies the smoothness constraint condition. If the signal correction curve of the initial adjustment group i is found to lack curve smoothness, then it is determined that the initial adjustment group i does not meet the smoothness constraint.
[0186] In one embodiment, the strategy determination module 12 employs a curve smoothness parameter to detect the curve smoothness of the signal correction curve of the initial adjustment group i, including: Two output drive signals that are in adjacent positions in a signal sequence are combined to obtain at least one signal group; Obtain the curve segment corresponding to each signal group from the signal correction curve of the initial adjustment group i; Determine the slope of the curve segment corresponding to each signal group; If at least one signal group has a corresponding curve slope greater than the curve smoothness parameter, then it is determined that the signal correction curve of the initial adjustment group i does not have curve smoothness. If in at least one signal group there is no signal group whose corresponding curve slope is greater than the curve smoothness parameter, then it is determined that the signal correction curve of the initial adjustment group i has curve smoothness.
[0187] In one embodiment, the M candidate adjustment groups include candidate adjustment group j; The strategy determination module 12 calculates the perception error for each candidate adjustment group based on the standard output information and the actual output information, and obtains the specific implementation method of the perception error for each candidate adjustment group, including: The N candidate adjustment values included in candidate adjustment group j are determined as target candidate adjustment values; The actual output result corresponding to each target candidate adjustment value in the actual output information is determined as the first output result for each target candidate adjustment value. In the standard output information, the expected output result corresponding to the output driving signal of each target candidate adjustment value is determined as the second output result of each target candidate adjustment value; The perception error of each target candidate adjustment value is obtained by calculating the first and second output results of each target candidate adjustment value. The signal perception errors of N target candidate adjustment values are integrated to obtain the perception error of candidate adjustment group j.
[0188] In one embodiment, the N target candidate adjustment values include target candidate adjustment value a; The strategy determination module 12 calculates the perception error between the first and second calculation results of each target candidate adjustment value, and obtains the specific implementation method of the signal perception error of each target candidate adjustment value, including: The squared difference between the first and second output results of the target candidate adjustment value a is calculated to obtain the squared difference of the target candidate adjustment value a. Obtain the perceptual weight of the output driving signal corresponding to the target candidate adjustment value a; The squared difference between the target candidate adjustment value a and the perceived weight of the corresponding output driving signal is used to calculate the signal perception error corresponding to the target candidate adjustment value a.
[0189] In one embodiment, the specific implementation method of the information acquisition module 11 acquiring the actual output information of the media playback device under the first media feature parameters includes: Set the media feature parameters of the media playback device as the first media feature parameter; Select a specific area on the screen of the media playback device, set the output drive signal of the specified area to N output drive signals in sequence, and detect the actual output result of the specified area under N output drive signals. Based on the N output drive signals and the actual output results of the specified area under the N output drive signals, the actual output information of the media playback device under the first media characteristic parameters is generated.
[0190] In one embodiment, after the strategy determination module 12 determines a first adjustment strategy for N output drive signals based on the difference between standard output information and actual output information, the signal adjustment module 13 is further configured to perform the following steps: When receiving second media data with the second media characteristic parameter, a second adjustment strategy for the second media characteristic parameter is determined according to the first adjustment strategy; the second adjustment strategy is used to adjust N output drive signals. The second original output drive signal of the second media data is adjusted according to the second adjustment strategy, and the adjusted second original output drive signal is used to call the media playback device to play the second media data.
[0191] In one embodiment, the first media feature parameter is any one of W representative media feature parameters, where W is a positive integer; The signal adjustment module 13 determines, according to the first adjustment strategy, the specific implementation method of the second adjustment strategy for the second media characteristic parameters, including: Based on the first media feature parameter and the second media feature parameter, a reference media feature parameter is determined for the second media feature parameter from W representative media feature parameters, and the second media feature parameter is between the first media feature parameter and the reference media feature parameter. A reference adjustment strategy for obtaining reference media characteristic parameters; Based on the first adjustment strategy and the reference adjustment strategy, a second adjustment strategy is determined for the second media characteristic parameters.
[0192] In one embodiment, the first adjustment strategy includes first adjustment values corresponding to N output drive signals, and the reference adjustment strategy includes second adjustment values corresponding to N output drive signals. The signal adjustment module 13 determines the specific implementation method of the second adjustment strategy for the second media characteristic parameters based on the first adjustment strategy and the reference adjustment strategy, including: Based on the correspondence between N output drive signals and N first adjustment values, a first signal correction curve is generated; Based on the correspondence between N output drive signals and N second adjustment values, a second signal correction curve is generated; Curve interpolation is performed based on the first signal correction curve and the second signal correction curve to generate an interpolation correction curve, which includes curve interpolation corresponding to N output drive signals respectively. A second adjustment strategy is generated based on the curve interpolation corresponding to the N output drive signals to generate the second media feature parameters.
[0193] In one embodiment, the process of the signal adjustment module 13 acquiring the first media characteristic parameter includes: According to the specified signal filtering method, select the anchoring signal from N output drive signals; Select a specific area on the screen of the media playback device and fix the specified area as the anchor signal; Based on the anchor signal, the media feature parameters of the media playback device are gradually increased, and the attribute detection is performed on the actual output results of the specified area under each increased media feature parameter in turn. The increased media feature parameter with the detected result attribute being the first-drop attribute is determined as the first media feature parameter.
[0194] In one embodiment, the specific implementation method of the signal adjustment module 13 selecting the anchor signal from N output drive signals according to a specified signal filtering method includes: Candidate signals are obtained from N output drive signals, and a specified region is fixed as the candidate signal; Based on the candidate signal, the media feature parameters of the media playback device are gradually increased, and when the media feature parameters of the media playback device are the media parameter thresholds corresponding to the candidate signal, the result offset between the actual output result and the expected output result in the specified area is obtained. If the result offset is greater than the offset threshold, the candidate signal is determined as the anchor signal.
[0195] Further, please see Figure 11 , Figure 11 This is a schematic diagram of the structure of a computer device provided in an embodiment of this application. Figure 11 As shown, the computer device may include a processor 8001, a communication interface 8002, and a computer-readable storage medium 8003, wherein the processor 8001, the communication interface 8002, and the computer-readable storage medium 8003 can be connected via a bus or other means. The communication interface 8002 is used to receive and send data. The computer-readable storage medium 8003 can be stored in the memory of the computer device and is used to store computer programs, including program instructions. The processor 8001 is used to execute the program instructions stored in the computer-readable storage medium 8003. The processor 8001 (or CPU (Central Processing Unit)) is the computing and control core of the computer device, suitable for implementing one or more instructions, specifically suitable for loading and executing one or more instructions to achieve corresponding method flows or corresponding functions.
[0196] Furthermore, it should be noted that this application embodiment also provides a computer-readable storage medium storing a computer program executed by the aforementioned data processing computer device, and the computer program includes program instructions. When the processor executes the program instructions, it can execute the aforementioned... Figure 2 The description of the data processing method in the corresponding embodiments is already provided and will not be repeated here. Furthermore, the beneficial effects of using the same method will also not be repeated. For technical details not disclosed in the computer-readable storage medium embodiments related to this application, please refer to the description of the method embodiments of this application.
[0197] The aforementioned computer-readable storage medium can be an internal storage unit of the computer device, such as a hard drive or memory. It can also be an external storage device, such as a plug-in hard drive, smart media card (SMC), secure digital card (SD) card, or flash card. Furthermore, the computer-readable storage medium can include both internal and external storage units of the computer device. This computer-readable storage medium is used to store the computer program and other programs and data required by the computer device. It can also be used to temporarily store data that has been output or will be output.
[0198] One aspect of this application provides a computer program product comprising a computer program stored in a computer-readable storage medium. A processor of a computer device reads the computer program from the computer-readable storage medium and executes the computer program, causing the computer device to perform the method provided in one aspect of the embodiments of this application.
[0199] The terms "first," "second," etc., in the specification, claims, and drawings of this application are used to distinguish different objects, not to describe a specific order. Furthermore, the term "comprising," and any variations thereof, are intended to cover non-exclusive inclusion. For example, a process, method, apparatus, product, or device that includes a series of steps or units is not limited to the listed steps or modules, but may optionally include steps or modules not listed, or may optionally include other step units inherent to these processes, methods, apparatuses, products, or devices.
[0200] In the embodiments of this application, the terms "module" or "unit" refer to a computer program or part of a computer program that has a predetermined function and works with other related parts to achieve a predetermined goal, and can be implemented wholly or partially using software, hardware (such as processing circuitry or memory), or a combination thereof. Similarly, a processor (or multiple processors or memory) can be used to implement one or more modules or units. Furthermore, each module or unit can be part of an overall module or unit that includes the functionality of that module or unit.
[0201] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of both. To clearly illustrate the interchangeability of hardware and software, the components and steps of the various examples have been generally described in terms of functionality in the foregoing description. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementations should not be considered beyond the scope of this application.
[0202] The methods and related apparatuses provided in this application are described with reference to the method flowcharts and / or structural diagrams provided in this application. Specifically, each block of the method flowchart and / or structural diagram, as well as combinations of blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing device to create a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing device, generate instructions for implementing the process. Figure 1 A schematic diagram of one or more processes and / or structures. Figure 1 The computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 A schematic diagram of one or more processes and / or structures. Figure 1 The functions specified in one or more boxes. These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable apparatus for implementing the process. Figure 1 A process or multiple processes and / or structures illustrate the steps of the functions specified in one or more boxes.
[0203] The above-disclosed embodiments are merely preferred embodiments of this application and should not be construed as limiting the scope of this application. Therefore, any equivalent variations made in accordance with the claims of this application shall still fall within the scope of this application.
Claims
1. A data processing method, characterized in that, The method includes: Obtain the standard output information of the media playback device, wherein the standard output information is used to reflect the expected output result of the media playback device under N output drive signals, where N is a positive integer; The actual output information of the media playback device under the first media characteristic parameter is obtained, and the actual output information is used to reflect the actual output result of the media playback device under the N output drive signals; Based on the difference between the standard output information and the actual output information, a first adjustment strategy for the first media feature parameter is determined; the first adjustment strategy is used to adjust the N output driving signals, and the perceived error between the actual output result of the media playback device under the adjusted N output driving signals and the expected output result under the N output driving signals satisfies the error convergence condition. When receiving first media data with the first media feature parameter, the first original output drive signal of the first media data is adjusted according to the first adjustment strategy, and the adjusted first original output drive signal is used to call the media playback device to play the first media data.
2. The method according to claim 1, characterized in that, The first adjustment strategy for determining the first media feature parameter based on the difference between the standard output information and the actual output information includes: Based on the difference between the standard output information and the actual output information, at least one candidate adjustment value corresponding to each of the N output drive signals is determined from the N output drive signals; The at least one candidate adjustment value corresponding to each of the N output driving signals is traversed and combined to obtain M candidate adjustment groups, each candidate adjustment group consisting of one candidate adjustment value corresponding to the N output driving signals; M is a positive integer; Based on the standard output information and the actual output information, the perception error is calculated for each candidate adjustment group to obtain the perception error of each candidate adjustment group. The candidate adjustment group with the smallest perception error among the M candidate adjustment groups is determined as the target candidate adjustment group; Based on the correspondence between the N output driving signals and the N candidate adjustment values in the target candidate adjustment group, a first adjustment strategy for the first media feature parameters is generated.
3. The method according to claim 2, characterized in that, The standard output information is the first mapping curve, and the actual output information is the second mapping curve; The step of determining at least one candidate adjustment value corresponding to each of the N output drive signals from the N output drive signals based on the difference between the standard output information and the actual output information includes: Based on the first mapping curve, approach curve segments and deviation curve segments are obtained from the second mapping curve. The approach curve segment refers to a curve segment whose curve difference with the first mapping curve is less than a difference threshold, and the deviation curve segment refers to a curve segment whose curve difference with the first mapping curve is greater than the difference threshold. The output drive signal covered by the near curve segment is determined as a first type signal, and the output drive signal covered by the deviated curve segment is determined as a second type signal; The first type of signal is determined as at least one candidate adjustment value corresponding to the first type of signal; Each of the N output drive signals, excluding the second type signal, is determined as at least one candidate adjustment value corresponding to the second type signal.
4. The method according to claim 2, characterized in that, The step of iterating and combining at least one candidate adjustment value corresponding to each of the N output driving signals to obtain M candidate adjustment groups includes: The at least one candidate adjustment value corresponding to each of the N output drive signals is traversed and combined to generate Q initial adjustment groups, where Q is a positive integer greater than or equal to M. Each initial adjustment group is composed of a candidate adjustment value of each of the N output drive signals. The Q initial adjustment groups are tested using smoothness constraints. The M initial adjustment groups that satisfy the smoothness constraint among the Q initial adjustment groups are determined as M candidate adjustment groups.
5. The method according to claim 4, characterized in that, The smoothness constraint includes curve smoothness parameters, and the Q initial adjustment groups include initial adjustment group i; The step of using smoothness constraints to detect the Q initial adjustment groups includes: The N output driving signals are sorted in ascending order to obtain a signal sequence; Sort the N candidate adjustment values in the initial adjustment group i according to the N output driving signals in ascending order to obtain the adjustment value sequence; Based on the signal sequence and the adjustment value sequence, the signal correction curve of the initial adjustment group i is generated; The curve smoothness parameter is used to detect the curve smoothness of the signal correction curve of the initial adjustment group i; If the signal correction curve of the initial adjustment group i is detected to have curve smoothness, then it is determined that the initial adjustment group i satisfies the smoothness constraint condition. If the signal correction curve of the initial adjustment group i is found to lack curve smoothness, then it is determined that the initial adjustment group i does not meet the smoothness constraint condition.
6. The method according to claim 5, characterized in that, The step of detecting the curve smoothness of the signal correction curve of the initial adjustment group i using the curve smoothness parameter includes: The two output drive signals that are in adjacent positions in the signal sequence are combined to obtain at least one signal group; Obtain the curve segment corresponding to each signal group from the signal correction curve of the initial adjustment group i; Determine the slope of the curve segment corresponding to each of the signal groups; If, in the at least one signal group, there exists a signal group whose corresponding curve slope is greater than the curve smoothness parameter, then it is determined that the signal correction curve of the initial adjustment group i does not have curve smoothness. If there is no signal group in the at least one signal group whose curve slope is greater than the curve smoothness parameter, then it is determined that the signal correction curve of the initial adjustment group i has curve smoothness.
7. The method according to claim 2, characterized in that, The M candidate adjustment groups include candidate adjustment group j; The step of calculating the perception error for each candidate adjustment group based on the standard output information and the actual output information, to obtain the perception error for each candidate adjustment group, includes: The N candidate adjustment values included in the candidate adjustment group j are determined as the target candidate adjustment values; The actual output result corresponding to each of the target candidate adjustment values in the actual output information is determined as the first output result for each of the target candidate adjustment values; In the standard output information, the expected output result corresponding to the output driving signal of each target candidate adjustment value is determined as the second output result of each target candidate adjustment value; The perception error of each target candidate adjustment value is obtained by calculating the first and second output results of each target candidate adjustment value. The signal perception errors of N target candidate adjustment values are integrated to obtain the perception error of the candidate adjustment group j.
8. The method according to claim 7, characterized in that, The N target candidate adjustment values include target candidate adjustment value a; The step of calculating the perception error between the first calculation result and the second calculation result for each of the target candidate adjustment values to obtain the signal perception error of each target candidate adjustment value includes: The squared difference between the first output result and the second output result of the target candidate adjustment value a is calculated to obtain the squared difference of the target candidate adjustment value a. Obtain the perceptual weight of the output driving signal corresponding to the target candidate adjustment value a; The squared difference between the target candidate adjustment value a and the perception weight of the corresponding output driving signal are calculated to obtain the signal perception error corresponding to the target candidate adjustment value a.
9. The method according to claim 1, characterized in that, The step of obtaining the actual output information of the media playback device under the first media feature parameters includes: Set the media feature parameters of the media playback device to the first media feature parameters; Select a specified area on the screen of the media playback device, sequentially set the output drive signal of the specified area to the N output drive signals, and detect the actual output result of the specified area under the N output drive signals; Based on the N output drive signals and the actual output results of the specified area under the N output drive signals, the actual output information of the media playback device under the first media characteristic parameters is generated.
10. The method according to claim 1, characterized in that, After determining the first adjustment strategy for the N output drive signals based on the difference between the standard output information and the actual output information, the method further includes: When receiving second media data with the second media feature parameter, a second adjustment strategy for the second media feature parameter is determined according to the first adjustment strategy; the second adjustment strategy is used to adjust the N output drive signals. The second original output drive signal of the second media data is adjusted according to the second adjustment strategy, and the adjusted second original output drive signal is used to call the media playback device to play the second media data.
11. The method according to claim 10, characterized in that, The first media feature parameter is any one of W media feature parameters, where W is a positive integer; The second adjustment strategy for determining the second media feature parameters according to the first adjustment strategy includes: Based on the first media feature parameter and the second media feature parameter, a reference media feature parameter is determined for the second media feature parameter from the W representative media feature parameters, wherein the second media feature parameter is located between the first media feature parameter and the reference media feature parameter; A reference adjustment strategy for obtaining the reference media feature parameters; Based on the first adjustment strategy and the reference adjustment strategy, a second adjustment strategy for the second media feature parameters is determined.
12. The method according to claim 11, characterized in that, The first adjustment strategy includes a first adjustment value corresponding to each of the N output drive signals, and the reference adjustment strategy includes a second adjustment value corresponding to each of the N output drive signals; The second adjustment strategy for determining the second media feature parameter based on the first adjustment strategy and the reference adjustment strategy includes: Based on the correspondence between the N output drive signals and the N first adjustment values, a first signal correction curve is generated; Based on the correspondence between the N output drive signals and the N second adjustment values, a second signal correction curve is generated; Based on the first signal correction curve and the second signal correction curve, curve interpolation processing is performed to generate an interpolation correction curve, which includes curve interpolation corresponding to the N output drive signals respectively. A second adjustment strategy for the second media feature parameters is generated based on the curve interpolation corresponding to the N output drive signals.
13. The method according to claim 11, characterized in that, The process of obtaining the first media feature parameters includes: According to the specified signal filtering method, the anchoring signal is selected from the N output driving signals; Select a designated area on the screen of the media playback device and fix the designated area as the anchor signal; Based on the anchoring signal, the media feature parameters of the media playback device are gradually increased, and the actual output results of the specified area under each increased media feature parameter are sequentially subjected to attribute detection. The increased media feature parameter, which is the first-drop attribute of the detected result, is determined as the first media feature parameter.
14. The method according to claim 13, characterized in that, The step of selecting the anchoring signal from the N output driving signals according to the specified signal filtering method includes: Candidate signals are obtained from the N output drive signals, and the specified region is fixed as the candidate signal; Based on the candidate signal, the media feature parameters of the media playback device are gradually increased, and when the media feature parameters of the media playback device are the media parameter threshold corresponding to the candidate signal, the result offset between the actual output result and the expected output result of the specified area is obtained. If the result offset is greater than the offset threshold, then the candidate signal is determined as the anchor signal.
15. A data processing apparatus, characterized in that, The device includes: The information acquisition module is used to acquire the standard output information of the media playback device. The standard output information is used to reflect the expected output result of the media playback device under N output drive signals, where N is a positive integer. The information acquisition module is also used to acquire the actual output information of the media playback device under the first media characteristic parameter, and the actual output information is used to reflect the actual output result of the media playback device under the N output drive signals; The strategy determination module is used to determine a first adjustment strategy for the first media feature parameters based on the difference between the standard output information and the actual output information; the first adjustment strategy is used to adjust the N output driving signals, and the perceived error between the actual output result of the media playback device under the adjusted N output driving signals and the expected output result under the N output driving signals satisfies the error convergence condition. The signal adjustment module is used to adjust the first original output drive signal of the first media data according to the first adjustment strategy when receiving the first media data with the first media feature parameter, and to call the media playback device to play the first media data with the adjusted first original output drive signal.
16. A computer device, characterized in that, include: Processor, memory, and network interface; The processor is connected to the memory and the network interface, wherein the network interface is used to provide network communication functions, the memory is used to store computer programs, and the processor is used to call the computer programs to cause the computer device to execute the method according to any one of claims 1-14.
17. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program adapted to be loaded by a processor and to execute the method of any one of claims 1-14.
18. A computer program product, characterized in that, The computer program product includes a computer program stored in a computer-readable storage medium, the computer program being adapted to be read and executed by a processor to cause a computer device having the processor to perform the method of any one of claims 1-14.