Optimization processing method based on data transmission path of set-top box

By analyzing and adjusting the differences between cached data and read and write data in the data transmission path of the set-top box, the problem of output lag in the application layer of the set-top box is solved, and the smoothness of data transmission and the rational utilization of cache space are achieved.

CN119135981BActive Publication Date: 2025-05-02南宁市欧韦电子科技有限公司
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202411310160.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-09-19
Publication Date
2025-05-02
Estimated Expiration
2044-09-19

AI Technical Summary

Technical Problem

When the existing set-top box is output in real time in the application layer, when node fast forwarding or data jumping is selected, the output of the data application layer is stuttered, resulting in waiting time, and further optimization processing effect is not achieved.

Method used

By analyzing cached data and read and write data in the data transmission path of the set-top box, analyzing cache data and read and write data in a limited monitoring cycle, locking the set of value differences, and confirming the cache amount execution logic in the next set of monitoring cycles based on the change execution difference, adjusting the cache amount in real time to avoid lag.

Benefits of technology

It effectively avoids lags in data transmission, improves the application effect of set-top boxes, achieves good optimization processing effects, and ensures the smoothness of data reading and writing and the rational use of cache space.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119135981B_ABST
    Figure CN119135981B_ABST
Patent Text Reader

Abstract

The present invention discloses an optimization processing method based on a data transmission path of a set-top box. The present invention relates to the technical field of set-top boxes and solves the problem that in the original method, when there is node fast-forward or data layer jump selection in the application layer, the corresponding data application layer will be stuck during output, thereby generating a waiting time. The present invention analyzes the data features generated in the monitoring cycle by limiting the monitoring cycle to determine the cache amount corresponding to the next processing cycle. Based on the determined specific values, the corresponding set-top box is guaranteed to be in normal reading and writing, and the cache amount is further increased, so that there will be no jamming during the process of accelerated data reading and writing, thereby improving the application effect of the set-top box and achieving a better optimization processing effect.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of set-top boxes, and in particular to an optimization processing method based on a data transmission path of a set-top box. Background Art

[0002] The development of set-top boxes is closely related to the rapid progress of Internet technology. As people's demand for TV content shifts from traditional TV stations to streaming platforms, smart set-top boxes have become an important bridge connecting traditional TV and Internet content.

[0003] The application with publication number CN104602118A discloses a method and device for outputting multimedia data. In multi-screen interactive services, the existing set-top box device is optimized. The set-top box does not directly transmit the multimedia data sent by a display device to other display devices, but caches the multimedia data into multimedia data with different display states according to the display capability information of other display devices (such as caching the original high-resolution multimedia data into low-resolution multimedia data). The set-top box transmits the cached multimedia data to the display device adapted to the display capability information according to the display state of each cached multimedia data, so that the display devices with different display capabilities can correctly display the received multimedia data after receiving the multimedia data transmitted by the set-top box.

[0004] During the transmission and processing of set-top box data, its application layer outputs in real time based on the data cached in real time by the set-top box. However, with this type of real-time output, if there is node fast-forward or data layer jump selection in the application layer, the corresponding data application layer will be stuck in output, resulting in waiting time and unable to achieve further optimization processing effects. Summary of the invention

[0005] In view of the deficiencies in the prior art, the present invention provides an optimization processing method based on the data transmission path of a set-top box, which solves the problem in the original method that when there is node fast-forward or data layer jump selection in the application layer, the corresponding data application layer will be stuck in output, thereby generating a waiting time problem.

[0006] To achieve the above objectives, the present invention is implemented by the following technical solutions: an optimization processing method based on a set-top box data transmission path comprises the following steps:

[0007] S1), based on the data request generated by the set-top box at the current moment, the server sends real-time data to the set-top box based on the data request, defines a set of monitoring cycles, analyzes the cache data and read-write data generated by the set-top box in this monitoring cycle, and locks the value difference set generated in this monitoring cycle. The specific sub-steps are:

[0008] S11, starting from the corresponding moment when the server sends the real-time data to the set-top box, determining a monitoring period, wherein the monitoring period is a preset period;

[0009] S12, in this monitoring cycle, the cache amount per unit time sent by the server to the set-top box is set to a fixed value, wherein the fixed value is a preset value, and the read and write amount generated by the set-top box at different times in this monitoring cycle is confirmed in real time and marked as XD i , where i represents different moments in this monitoring cycle, the determined cache volume per unit time is calibrated as HC, and CZ is used i =HC-XD i Confirm the change difference CZ at the corresponding time i , and according to the time sequence, several groups of change differences CZ i Sorting is performed to determine the difference sequence;

[0010] S13, the proposed difference sequence is {CZ1, CZ2, ..., CZ n}, starting from CZ1, identify the difference ZZ between CZ1 and CZ2, where ZZ = |CZ1-CZ2|:

[0011] If ZZ≤Y1, where Y1 is a preset value, CZ1 and CZ2 are calibrated as similar feature parameters, and then the difference ZZ between CZ2 and CZ3 is identified, and it is evaluated whether CZ2 and CZ3 are similar feature parameters. If so, CZ1, CZ2 and CZ3 are all calibrated as similar feature parameters simultaneously. If not, starting from CZ3, the relevant determination of other similar feature parameters is carried out later;

[0012] If ZZ>Y1, then starting from CZ2, the same method as ZZ≤Y1 is used to determine the related characteristic parameters of the same type;

[0013] S14, eliminating the same type of feature parameters confirmed in the difference sequence to obtain a value difference set generated in this monitoring period;

[0014] S2), based on the value difference set determined in the corresponding monitoring period and the specific change of the data cache space in the corresponding set-top box in this monitoring period, determine the change execution difference in the next group of monitoring periods, and based on the determined change execution difference, confirm the execution logic of the cache amount in the next group of monitoring periods, the specific sub-steps are:

[0015] S21, the data cache space of the set-top box at the end of the previous monitoring cycle is marked as KD, where KD is the remaining cache space of the data cache space, and then the data cache space K1 occupied by the maximum read and write volume of the previous monitoring cycle is determined, and the data cache space K2 occupied by the corresponding read and write volume at the end of the previous monitoring cycle is simultaneously determined, and BK=KD-(K1-K2) is used to confirm the standard execution space BK;

[0016] S22, the set monitoring period is calibrated as T, and BK÷T=Zk is used to confirm the maximum cache parameter ZK that can be generated per unit time, and the maximum value difference CZ within the identification value difference set is imax Satisfied: CZ imax ≤ZK;

[0017] If satisfied, the determined maximum value difference CZ imax Calibrated as change execution difference;

[0018] If not, determine from the value difference set that it satisfies: CZ i ≤ZK change difference:

[0019] If the change difference does not exist, an error signal is generated and displayed;

[0020] If there is a group of change differences, this group of change differences is marked as the change execution difference;

[0021] If there are multiple groups of change differences, the maximum value among the multiple groups of change differences is selected as the change execution difference;

[0022] The specific sub-steps for confirming the execution logic of the cache amount in the next set of monitoring cycles are:

[0023] Based on the error signal generated:

[0024] For error signals, the cache volume at the initial moment in the next monitoring cycle is set to a fixed value. When the read / write volume at the initial moment is generated, the read / write volume at this moment is used as the cache volume for the next moment. The cache volume at each subsequent corresponding moment is the same as the read / write volume at the previous moment.

[0025] Differential handling based on the resulting changes:

[0026] According to the determined change execution difference, the cache amount at the initial moment of the next monitoring cycle is set to a fixed value. When the read / write amount DD1 at the initial moment is generated, the cache amount CC2 at the next moment is determined, where CC2 = DD1 + change execution difference. Similarly, the cache amount at the next moment is the sum of the read / write amount at the previous moment and the change execution difference. The cache amount at different subsequent moments of this monitoring cycle is confirmed in real time.

[0027] S3), for the subsequent monitoring cycles, the same method as step S1 and step S2 is adopted to determine the change execution difference or error signal of the next set of monitoring cycles according to the value difference set determined in the previous set of monitoring cycles, and the cache amount at different times in the next set of monitoring cycles is confirmed and executed;

[0028] S4), for different cache amounts executed in real time at different moments in each monitoring cycle after the initial cycle, determine the relevant difference between the corresponding cache amount and the read / write amount at the same moment, calibrate the relevant difference with the change execution difference, and adjust the cache amount at the next moment in real time; the specific method is:

[0029] S41, determine the change execution difference Bx determined in the corresponding monitoring period, confirm the cache amount and read / write amount generated at the corresponding time in the corresponding monitoring period, and lock the relevant difference generated at the corresponding time, wherein the relevant difference = cache amount - read / write amount;

[0030] S42, calibrate the relevant difference as XCC, if XCC≤Bx, do not make any operation adjustment, if XCC>Bx, confirm that the specified digital difference SZ=XCC-Bx:

[0031] If SZ≤Bx, then the buffer amount CCq at the next moment is corrected to determine the correction value XCq, where q represents different moments in different cycles, and XCq=CCq-(Bx-SZ), and this correction value XCq is executed when the next moment arrives;

[0032] If SZ>Bx, a read / write exception signal is generated, and the data cache process at the next moment is stopped. At a subsequent moment, the cache amount at the next moment is determined based on the read / write amount at the previous moment until the end of this monitoring cycle.

[0033] The present invention provides an optimization processing method based on the data transmission path of a set-top box. Compared with the prior art, it has the following beneficial effects:

[0034] The present invention analyzes the data features generated in the monitoring cycle by limiting the monitoring cycle to determine the cache amount corresponding to the next processing cycle. Based on the determined specific value, the corresponding set-top box is guaranteed to read and write normally, and the cache amount is further increased, so that there will be no jamming in the process of accelerated data reading and writing, thereby improving the application effect of the set-top box and achieving a better optimization processing effect.

[0035] When there is a large difference between the cache size and the read-write size, the cache size at the next moment is corrected in real time. While ensuring that the set-top box space can be fully utilized to the maximum extent, it will not cause congestion in the internal cache space of the set-top box and will not affect the normal data reading and writing process of the set-top box. This will ensure the overall use effect of the set-top box and maximize the optimization processing. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] Figure 1 It is a schematic diagram of the process of the present invention;

[0037] Figure 2 A schematic diagram of a process for determining poor execution of variations of the present invention. DETAILED DESCRIPTION

[0038] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0039] See also Figure 1 The present application provides an optimization processing method based on the data transmission path of a set-top box, comprising the following steps:

[0040] S1), based on the data request generated by the set-top box at the current moment, the server sends real-time data to the set-top box based on the data request, defines a set of monitoring cycles, analyzes the cache data and read-write data generated by the set-top box in this monitoring cycle, and locks the value difference set generated in this monitoring cycle. Specifically, the so-called value difference set is the numerical difference of the corresponding data in a unit time, and the numerical difference is the numerical feature generated by the corresponding set-top box in this monitoring cycle. Based on the determined numerical feature, it is convenient to confirm the subsequent more accurate cache amount, wherein the specific sub-steps of locking the value difference set are:

[0041] S11, starting from the corresponding moment when the server sends the real-time data to the set-top box, determining the monitoring period, wherein the monitoring period is a preset period, and its specific value is determined by the operator based on experience;

[0042] S12, during this monitoring period, the cache amount per unit time sent by the server to the set-top box is set to a fixed value, wherein the fixed value is a preset value, and its specific value is determined by the operator based on experience, and the read and write amount generated by the set-top box at different times during this monitoring period is confirmed in real time and marked as XD i , where i represents different moments in this monitoring cycle, the determined cache volume per unit time is calibrated as HC, and CZ is used i =HC-XD i Confirm the change difference CZ at the corresponding time i , and according to the time sequence, several groups of change differences CZ i Sorting is performed to determine the difference sequence. For example, assuming that the monitoring period is 3 minutes, the preset unit time cache volume (HC) sent by the server to the set-top box is 100MB; during this monitoring period, the read and write volume (XDi) generated by the set-top box at different times are: the first minute: XD1 = 20MB; the second minute: XD2 = 35MB; the third minute: XD3 = 50MB; then the corresponding change difference (CZ i) is calculated as follows: CZ1 = HC-XD1 = 100-20 = 80MB; CZ2 = HC-XD2 = 100-35 = 65MB; CZ3 = HC-XD3 = 100-50 = 50MB; these change differences are sorted according to the time sequence, and the difference sequence is: 80MB, 65MB, 50MB;

[0043] S13, the proposed difference sequence is {CZ1, CZ2, ..., CZ n}, starting from CZ1, identify the difference ZZ between CZ1 and CZ2, where ZZ = |CZ1-CZ2|:

[0044] If ZZ≤Y1, where Y1 is a preset value, and its specific value is determined by the operator based on experience, then CZ1 and CZ2 are calibrated as similar characteristic parameters, and then the difference ZZ between CZ2 and CZ3 is identified, and it is evaluated whether CZ2 and CZ3 are similar characteristic parameters. If so, CZ1, CZ2 and CZ3 are all calibrated as similar characteristic parameters simultaneously. If not, start from CZ3 and determine the related characteristics of other similar characteristic parameters in the future;

[0045] If ZZ>Y1, then starting from CZ2, the same method as ZZ≤Y1 is used to determine the related characteristic parameters of the same type. For example, assume that the preset value Y1 is 10MB; the proposed difference sequence is {20MB, 15MB, 18MB, 30MB, 25MB, 12MB}; first, calculate the difference ZZ between CZ1 (20MB) and CZ2 (15MB): ZZ=|20-15|=5MB, because 5MB≤10MB, so CZ1 and CZ2 are marked as similar characteristic parameters; then calculate the difference ZZ between CZ2 (15MB) and CZ3 (18MB) :ZZ=|15-18|=3MB, since 3MB≤10MB, CZ1, CZ2 and CZ3 are all marked as similar characteristic parameters; then, calculate the difference ZZ between CZ3 (18MB) and CZ4 (30MB): ZZ=|18-30|=12MB, since 12MB>10MB, the similar characteristic parameters are re-determined from CZ4; calculate the difference ZZ between CZ4 (30MB) and CZ5 (25MB): ZZ=|30-25|=5MB, 5MB≤10MB, CZ4 and CZ5 are marked as similar characteristic parameters. Calculate the difference ZZ between CZ5 (25MB) and CZ6 (12MB): ZZ=|25-12|=13MB, 13MB>10MB, there are no similar characteristic parameters from CZ6 onwards. In summary, the final calibrated similar feature parameters are: CZ1, CZ2, CZ3 in one group, CZ4, CZ5 in another group;

[0046] S14, eliminating similar feature parameters confirmed in the difference sequence to obtain a value difference set generated in this monitoring period. Specifically, by eliminating similar feature parameters, a large numerical difference between the corresponding cache amount and the read / write amount can be identified. From the large numerical difference generated, the subsequent related change value difference can be made more accurate, so that the set-top box can achieve the maximum data cache during data transmission;

[0047] S2) Combination Figure 2 , based on the value difference set determined in the corresponding monitoring period and the specific change of the data cache space in the corresponding set-top box in this monitoring period, determine the change execution difference in the next group of monitoring periods, and based on the determined change execution difference, confirm the execution logic of the cache amount in the next group of monitoring periods, wherein the specific sub-steps of determining the change execution difference in the next group of monitoring periods are:

[0048] S21, the data cache space of the set-top box at the end of the previous monitoring cycle is marked as KD, and this KD is the remaining cache space of the data cache space, and then the data cache space K1 occupied by the maximum read and write amount of the previous monitoring cycle is determined, and the data cache space K2 occupied by the corresponding read and write amount at the end of the previous monitoring cycle is simultaneously determined, and BK=KD-(K1-K2) is used to confirm the standard execution space BK (in the specific monitoring process of the next monitoring cycle, its remaining cache space is the numerical value determined at the end of the previous monitoring cycle, that is, the numerical value corresponding to K2, but there is a maximum read and write amount in the corresponding monitoring cycle, and the execution space occupied by the maximum read and write amount is much larger than K2, so in order to make the confirmed standard execution space BK more accurate, accurate numerical confirmation is required);

[0049] S22, the set monitoring period is calibrated as T, and BK÷T=Zk is used to confirm the maximum cache parameter ZK that can be generated per unit time, and the maximum value difference CZ within the identification value difference set is imax Satisfied: CZ imax ≤ZK;

[0050] If satisfied, the determined maximum value difference CZ imax Calibrated as change execution difference;

[0051] If not, determine from the value difference set that it satisfies: CZ i ≤ZK change difference:

[0052] If the change difference does not exist, an error signal is generated and displayed;

[0053] If there is a group of change differences, this group of change differences is marked as the change execution difference;

[0054] If there are multiple groups of change differences, the maximum value among the multiple groups of change differences is selected as the change execution difference;

[0055] The specific sub-steps for confirming the execution logic of the cache amount in the next set of monitoring cycles are:

[0056] S23, performing different processing methods based on the generated error signal or the changed execution difference:

[0057] For the error signal, the cache amount at the initial moment in the next group of monitoring cycles is set to a fixed value. When the read and write amount at the initial moment is generated, the read and write amount at this moment is used as the cache amount for the next group of moments. The cache amount at each subsequent corresponding moment is the same as the read and write amount at the previous moment, so as to ensure that the set-top box can read and write normally, and at the same time will not cause data congestion or excessive cache. Because the error signal is generated, it means that when caching according to the fixed value, insufficient cache may occur. Therefore, in order to avoid such a situation, the cache is reduced to the minimum to ensure that the set-top box can read and write normally;

[0058] According to the determined change execution difference, the cache amount at the initial moment of the next monitoring cycle is set to a fixed value. When the read / write amount DD1 at the initial moment is generated, the cache amount CC2 at the next moment is determined, where CC2 = DD1 + change execution difference. Similarly, the cache amount at the next moment is the sum of the read / write amount at the previous moment and the change execution difference. The cache amount at different subsequent moments of this monitoring cycle is confirmed in real time.

[0059] S3), for the subsequent monitoring cycles, the same method as step S1 and step S2 is adopted to determine the change execution difference or error signal of the next set of monitoring cycles according to the value difference set determined in the previous set of monitoring cycles, and the cache amount at different times in the next set of monitoring cycles is confirmed and executed;

[0060] S4), for different cache amounts executed in real time at different moments in each monitoring cycle after the initial cycle, determine the relevant difference between the corresponding cache amount and the read / write amount at the same moment, calibrate the relevant difference with the change execution difference, and adjust the cache amount at the next moment in real time, wherein the specific method of adjusting is:

[0061] S41, determine the change execution difference Bx determined in the corresponding monitoring period, confirm the cache amount and read / write amount generated at the corresponding time in the corresponding monitoring period, and lock the relevant difference generated at the corresponding time, wherein the relevant difference = cache amount - read / write amount;

[0062] S42, calibrate the relevant difference as XCC, if XCC≤Bx, do not make any operation adjustment, if XCC>Bx, confirm that the specified digital difference SZ=XCC-Bx:

[0063] If SZ≤Bx, the cache amount CCq at the next moment is corrected to determine the correction value XCq, where q represents different moments in different cycles, and XCq=CCq-(Bx-SZ), and this correction value XCq is executed when the next moment arrives, that is, the cache amount CCq at the next moment changes to XCq, which is reduced accordingly;

[0064] If SZ>Bx, a read / write exception signal is generated, and the data cache process at the next moment is stopped. At the subsequent moment, the cache amount at the next moment is determined based on the read / write amount at the previous moment until the end of this monitoring cycle. This means that the set-top box itself has related exceptions when reading and writing data. Because the confirmed change execution difference is based on the specific normal operation process for related confirmation, and the range is large, if the specified number difference generated at the corresponding moment is still far greater than such parameters, it means that other programs may be involved, and the set-top box executes multiple processing processes, causing load, resulting in slow reading and writing, or after closing such programs, other programs are turned on, and multiple programs are running synchronously, resulting in such slow reading and writing abnormalities;

[0065] Example: Suppose in a certain period, we have XCC=100, Bx=80, then SZ=XCC-Bx=100-80=20.

[0066] Since SZ≤Bx, we need to correct the cache capacity CCq at the next moment. Assuming that the cache capacity at the next moment is CCq=150, the correction value XCq=CCq-(Bx-SZ)=150-(80-20)=150-60=90.

[0067] Therefore, the buffer size at the next moment will change to XCq=90, which is a related reduction.

[0068] If SZ>Bx, for example, SZ=120, a read / write exception signal will be generated and the data cache process at the next moment will be stopped. At subsequent moments, the cache amount at the next moment will be determined based on the read / write amount at the previous moment until the monitoring cycle ends.

[0069] Some of the data in the above formulas are dimensionless and numerically calculated. Meanwhile, the contents not described in detail in this specification belong to the prior art known to those skilled in the art.

[0070] The above embodiments are only used to illustrate the technical method of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical method of the present invention may be modified or replaced by equivalents without departing from the spirit and scope of the technical method of the present invention.

Claims

1. An optimization processing method based on a set-top box data transmission path, characterized in that: The following steps are involved: S1), based on the data request generated by the set-top box at the current moment, the server sends real-time data to the set-top box based on the data request, defines a set of monitoring cycles, analyzes the cache data and read-write data generated by the set-top box in this monitoring cycle, and locks the value difference set generated in this monitoring cycle; S2), based on the value difference set determined in the corresponding monitoring period and the specific change of the data cache space in the corresponding set-top box in this monitoring period, determine the change execution difference in the next group of monitoring periods, and based on the determined change execution difference or error signal, confirm the execution logic of the cache amount in the next group of monitoring periods, the specific sub-steps are: Based on the error signal generated: For error signals, the cache volume at the initial moment in the next monitoring cycle is set to a fixed value. When the read / write volume at the initial moment is generated, the read / write volume at this moment is used as the cache volume for the next moment. The cache volume at each subsequent corresponding moment is the same as the read / write volume at the previous moment. Differential handling based on the resulting changes: According to the determined change execution difference, the cache amount at the initial moment of the next monitoring cycle is set to a fixed value. When the read / write amount DD1 at the initial moment is generated, the cache amount CC2 at the next moment is determined, where CC2 = DD1 + change execution difference. Similarly, the cache amount at the next moment is the sum of the read / write amount at the previous moment and the change execution difference. The cache amount at different subsequent moments of this monitoring cycle is confirmed in real time. S3) For subsequent monitoring cycles, the same method as steps S1 and S2 is used to determine the change execution difference or error signal of the next set of monitoring cycles based on the value difference set determined by the previous set of monitoring cycles, and the cache amount at different times in the next set of monitoring cycles is confirmed and executed.

2. The optimization processing method based on the set-top box data transmission path according to claim 1 is characterized in that: In step S1, the specific sub-steps of locking the value difference set are: S11, starting from the corresponding moment when the server sends the real-time data to the set-top box, determining a monitoring period, wherein the monitoring period is a preset period; S12, in this monitoring cycle, the cache amount per unit time sent by the server to the set-top box is set to a fixed value, wherein the fixed value is a preset value, and the read and write amount generated by the set-top box at different times in this monitoring cycle is confirmed in real time and marked as XD i , where i represents different moments in this monitoring cycle, the determined cache volume per unit time is calibrated as HC, and CZ is used i =HC-XD i Confirm the change difference CZ at the corresponding time i , and according to the time sequence, several groups of change differences CZ i Sorting is performed to determine the difference sequence; S13, the proposed difference sequence is {CZ1, CZ2, ..., CZ n }, starting from CZ1, identify the difference ZZ between CZ1 and CZ2, where ZZ = |CZ1-CZ2|: If ZZ≤Y1, where Y1 is a preset value, CZ1 and CZ2 are calibrated as similar feature parameters, and then the difference ZZ between CZ2 and CZ3 is identified, and it is evaluated whether CZ2 and CZ3 are similar feature parameters. If so, CZ1, CZ2 and CZ3 are all calibrated as similar feature parameters simultaneously. If not, starting from CZ3, the relevant determination of other similar feature parameters is carried out later; If ZZ>Y1, then starting from CZ2, the same method as ZZ≤Y1 is used to determine the related characteristic parameters of the same type; S14. Eliminate the similar feature parameters confirmed in the difference sequence to obtain the value difference set generated in this monitoring period.

3. The optimization processing method based on the set-top box data transmission path according to claim 2 is characterized in that: In step S2, the specific sub-steps of determining the change execution difference within the next set of monitoring cycles are: S21, the data cache space of the set-top box at the end of the previous monitoring cycle is marked as KD, where KD is the remaining cache space of the data cache space, and then the data cache space K1 occupied by the maximum read and write volume of the previous monitoring cycle is determined, and the data cache space K2 occupied by the corresponding read and write volume at the end of the previous monitoring cycle is simultaneously determined, and BK=KD-(K1-K2) is used to confirm the standard execution space BK; S22, the set monitoring period is calibrated as T, and BK÷T=Zk is used to confirm the maximum cache parameter ZK that can be generated per unit time, and the maximum value difference CZ within the identification value difference set is imax Satisfied: CZ imax ≤ZK; If satisfied, the determined maximum value difference CZ imax Calibrated as change execution difference; If not, determine from the value difference set that it satisfies: CZ i ≤ZK change difference: If the change difference does not exist, an error signal is generated and displayed; If there is a group of change differences, this group of change differences is marked as the change execution difference; If there are multiple groups of change differences, the maximum value among the multiple groups of change differences is selected as the change execution difference.

4. The optimization processing method based on the set-top box data transmission path according to claim 1 is characterized in that: Also includes: S4) For different cache amounts executed in real time at different moments in each monitoring cycle subsequent to the initial cycle, determine the relevant difference between the corresponding cache amount and the read-write amount at the same moment, calibrate the relevant difference with the change execution difference, and adjust the cache amount at the next moment in real time.

5. The optimization processing method based on the set-top box data transmission path according to claim 4 is characterized in that: In step S4, the specific method of adjusting the cache amount at the next moment in real time is: S41, determine the change execution difference determined in the corresponding monitoring period, mark it as Bx, confirm the cache amount and read / write amount generated at the corresponding time in the corresponding monitoring period, lock the relevant difference generated at the corresponding time, and the relevant difference = cache amount - read / write amount; S42, calibrate the relevant difference as XCC, if XCC≤Bx, do not make any operation adjustment, if XCC>Bx, confirm that the specified digital difference SZ=XCC-Bx: If SZ≤Bx, the cache amount CCq at the next moment is corrected to determine the correction value XCq, where q represents different moments in different cycles, and XCq=CCq-(Bx-SZ), and this correction value XCq is executed when the next moment arrives.

6. The optimization processing method based on the set-top box data transmission path according to claim 5 is characterized in that: In step S42, if SZ>Bx, a read / write exception signal is generated, and the data cache process at the next moment is stopped. At a subsequent moment, the cache amount at the next moment is determined based on the read / write amount at the previous moment until the end of this monitoring cycle.

Citation Information

Patent Citations

  • Multimedia data output method and equipment

    CN104602118A

  • Asynchronous storage method and device for vehicle-mounted log data, equipment and medium

    CN115712391A

  • Memory cache processing method and device, terminal and storage medium

    CN116756058A