CN108710479A - Synchronous display method and device, electronic equipment and storage medium - Google Patents

Synchronous display method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN108710479A
CN108710479A CN201810289965.5A CN201810289965A CN108710479A CN 108710479 A CN108710479 A CN 108710479A CN 201810289965 A CN201810289965 A CN 201810289965A CN 108710479 A CN108710479 A CN 108710479A
Authority
CN
China
Prior art keywords
screen
interrupt signal
period
generation time
refresh cycle
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201810289965.5A
Other languages
Chinese (zh)
Other versions
CN108710479B (en
Inventor
齐志强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by ZTE Corp filed Critical ZTE Corp
Priority to CN201810289965.5A priority Critical patent/CN108710479B/en
Priority to PCT/CN2018/101385 priority patent/WO2019192126A1/en
Publication of CN108710479A publication Critical patent/CN108710479A/en
Application granted granted Critical
Publication of CN108710479B publication Critical patent/CN108710479B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G5/00Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
    • G09G5/12Synchronisation between the display unit and other units, e.g. other display units, video-disc players
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1423Digital output to display device ; Cooperation and interconnection of the display device with other functional units controlling a plurality of local displays, e.g. CRT and flat panel display

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • General Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Computer Hardware Design (AREA)
  • Controls And Circuits For Display Device (AREA)
  • Control Of Indicators Other Than Cathode Ray Tubes (AREA)

Abstract

The embodiment of the invention discloses a kind of synchronous display method and device, electronic equipment and storage mediums.Synchronous display method provided in an embodiment of the present invention, including:First generation time of the first interrupt signal of the first screen within the current refresh cycle is recorded, and records second generation time of the second interrupt signal of the second screen within the current refresh cycle;Based on first generation time and second generation time, predict that first interrupt signal and generation time of second interrupt signal within next refresh cycle are poor;If the generation time difference is not less than time difference threshold value, shield first screen and/or second screen next refresh cycle picture refreshing.

Description

Synchronous display method and device, electronic equipment and storage medium
Technical field
The present invention relates to electronic technology field more particularly to a kind of synchronous display method and device, electronic equipment and storages Medium.
Background technology
In order to meet the different demands of user, some electronic equipments are provided with multiple display screens.It is multiple under some scenes Display screen needs simultaneous display, is shown with expanding display area or being associated content.
It is to be carried out based on picture frame, for example, screen receives the interrupt signal generated based on crystal oscillator when screen display (vsync) with regard to refresh picture after.The crystal oscillator that different screens uses is different, if the time precision of crystal oscillator is different, or Although the time precision of crystal oscillator is identical but the time deviation of crystal oscillator is different, then may cause to receive interruption between different screen The time difference of signal is excessive, and then leads to a screen-refresh, and another screen does not refresh, and then user is caused to see Nonsynchronous display effect of the picture tearing of different screen or the display effect of flower screen.
Invention content
In view of this, an embodiment of the present invention is intended to provide a kind of synchronous display method and device, electronic equipment and storages to be situated between Matter at least partly solves the above problems.
In order to achieve the above objectives, the technical proposal of the invention is realized in this way:
In a first aspect, the embodiment of the present invention provides a kind of synchronous display method, including:
First generation time of the first interrupt signal of the first screen within the current refresh cycle is recorded, and records the second screen Second generation time of second interrupt signal of curtain within the current refresh cycle;
Based on first generation time and second generation time, first interrupt signal and described second are predicted Generation time of the interrupt signal within next refresh cycle is poor;
If the generation time difference is not less than time difference threshold value, first screen and/or second screen are shielded in institute State the picture refreshing of next refresh cycle.
Second aspect, the embodiment of the present invention provide a kind of synchronous display apparatus, including:
Logging modle, when for recording first generation of the first interrupt signal of the first screen within the current refresh cycle Between, and record second generation time of the second interrupt signal of the second screen within the current refresh cycle;
Prediction module, for being based on first generation time and second generation time, prediction described first is interrupted The generation time of signal and second interrupt signal within next refresh cycle is poor;
Refresh module shields first screen and/or described if being not less than time difference threshold value for the generation time difference Picture refreshing of second screen in next refresh cycle.
The third aspect, the embodiment of the present invention provide a kind of electronic equipment, including:
First screen, for showing;
Second screen, for showing;
Memory is used for information storage;
Processor is connect respectively with first screen, second screen and the memory, for passing through computer The synchronous display method that aforementioned one or more technical solutions provide is realized in the execution of program.
Fourth aspect, the embodiment of the present invention provide a kind of computer storage media, and the computer storage media is stored with Computer program;After the computer program is performed, it can realize that synchronizing for aforementioned one or more technical solution offers is aobvious Show method.
Synchronous display method and device provided in an embodiment of the present invention, electronic equipment and storage medium, can record current brush The generation time of two respective interrupt signals of screen in the new period, and the generation time difference based on record predicts next brush The generation time of two interrupt signals is poor in the new period, if the generation time difference within next refresh cycle is more than time threshold Value, then picture refreshing of at least one screen of automatic shield in next refresh cycle, avoids two screen-refresh time intervals too Asynchronous or picture refreshing the tearing phenomenon of display caused by big.In some embodiments, next refresh cycle shields at least After one screen display, two screens of lower lower refresh cycle are directly based upon respective interrupt signal recovery display and display can be realized It is synchronous, this is because since screen-refresh is periodic, and two interrupt signals periodically generate, if y refreshes week The generation time difference of phase is excessive, can cause the interrupt signal earlier generated generate next time can with generate later interrupt signal This generate time it is closer, for example, shielding screen-refresh earlier is generated within the y refresh cycles, y+1 refresh As usual refresh in period will make shielding refresh screen and do not shield the screen-refresh of the screen y refresh cycles of refreshing when Between be spaced sufficiently small, meet synchronous refresh, to which the nonsynchronous phenomenon of display will not be generated, ensure that the follow-up refresh cycle Interior simultaneous display effect.In also some embodiments, the display of next refresh cycle can be solved when shielding screen-refresh Nonsynchronous problem, then adjusted by the generation time of at least one interrupt signal so that in two interruptions of lower lower refresh cycle The diminution of signal generation time difference, realizes the synchronization of follow-up refresh cycle, to also improve synchronous effect, and can also reduce The generation time difference of two interrupt signals in one cycle reaches the frequency of time difference threshold value.
Description of the drawings
Fig. 1 is the flow diagram of the first synchronous display method provided in an embodiment of the present invention;
Fig. 2 is the effect diagram in the practical generation period of the first interrupt signal provided in an embodiment of the present invention;
Fig. 3 is a kind of ratio on a timeline of first interrupt signal and the second interrupt signal provided in an embodiment of the present invention To schematic diagram;
Fig. 4 is that the flow of the generation time difference of the next refresh cycle interrupt signal of prediction provided in an embodiment of the present invention is shown It is intended to;
Fig. 5 is the effect diagram in the practical generation period of second of interrupt signal provided in an embodiment of the present invention;
Fig. 6 is the structural schematic diagram of synchronous display apparatus provided in an embodiment of the present invention;
Fig. 7 is the structural schematic diagram of a kind of electronic equipment provided in an embodiment of the present invention;
Fig. 8 is a kind of structural schematic diagram of dual-screen electronic device provided in an embodiment of the present invention;
Fig. 9 is the effect diagram in the practical generation period of the third interrupt signal provided in an embodiment of the present invention;
Figure 10 is the effect diagram in the practical generation period of the 4th kind of interrupt signal provided in an embodiment of the present invention;
Figure 11 is the effect diagram in the practical generation period of the 5th kind of interrupt signal provided in an embodiment of the present invention;
Figure 12 is the effect diagram in the practical generation period of the 6th kind of interrupt signal provided in an embodiment of the present invention.
Specific implementation mode
Technical scheme of the present invention is further elaborated below in conjunction with Figure of description and specific embodiment.
As shown in Figure 1, the present embodiment provides a kind of synchronous display methods, including:
Step S110:First generation time of the first interrupt signal of the first screen within the current refresh cycle is recorded, and Record second generation time of the second interrupt signal of the second screen within the current refresh cycle;
Step S120:Based on first generation time and second generation time, first interrupt signal is predicted It is poor with generation time of second interrupt signal within next refresh cycle;
Step S130:If the generation time difference is not less than time difference threshold value, first screen and/or described second are shielded Picture refreshing of the screen in next refresh cycle.
The synchronous display method provided in the present embodiment can be applied in the electronic equipment with multiple display screens, alternatively, It is connected in the electronic equipment of multiple display screens.For example, there are two show screen for a mobile phone tool.When multiple screen synch are shown When, pass through the synchronous synchronization for realizing multiple screens two-by-two.For example, when carrying out the simultaneous display of 4 screens, Fig. 1 institutes may be used Show that method realizes the simultaneous display of 4 screens by synchronizing two-by-two.It is a kind of dual-screen electronic device includes screen that Fig. 8, which is shown, S1 and screen S 2.
In the present embodiment, electronic equipment can record the production of the interrupt signal of two screens in the current refresh cycle first The raw time.Herein, the interrupt signal of the first screen is referred to as the first interrupt signal, and the generation time of the first interrupt signal is referred to as First generation time.The interrupt signal of second screen is referred to as the second interrupt signal, and the generation time of the second interrupt signal is referred to as For the second generation time.Interrupt signal is the signal for triggering screen and carrying out picture refreshing, and first interrupt signal is for triggering First screen carries out picture refreshing, and second interrupt signal carries out picture refreshing for triggering the second screen.When in receiving After break signal, display data can be read from the caching of corresponding screen, refresh the picture of screen, to show switching.For example, The display brightness and/or color for refreshing each pixel according to display data, to realize picture refreshing.In the present embodiment, The time that screen receives interrupt signal twice is equal to a refresh cycle.
In the present embodiment, the first screen and the second screen are the screens for needing simultaneous display.First screen and It should be the same that the refresh cycle of two screens is predetermined.For example, the refresh cycle of the first screen is equal to the refreshing week of the second screen Phase., may be inconsistent due to the time precision for the crystal oscillator that the first screen and the second screen connect but in actual control, or Person, time precision is consistent but error is inconsistent etc., cause the duration of the refresh cycle of the first screen and the second screen equal but It is the deviation there is the refresh cycle, for example, the duration of some refresh cycle is shorter or longer than the standard duration of refresh cycle. In another example two screens are used to trigger the time deviation of the crystal oscillator of the generation of interrupt signal, so as to cause the refreshing of two screens The unjustified problem at the refreshing moment in period.Fig. 2 show the actual refresh cycle of one of screen.For example, one A length of T when the standard of refresh cycle, then actually since the timing offset of crystal oscillator can lead to practical duration such as Fig. 2 of refresh cycle It is shown, there is T, T-t1, T+t1 and T+t2 etc..
The first generation time and the second generation time can be recorded in step S110 in the present embodiment.First generation time And second deviation between generation time, it may be determined that go out the difference when the refreshing moment of the first two screen, due to predetermined two screens The refresh cycle of curtain is the same, and this time difference can influence two screens in the time difference of next refresh cycle, for example, meeting It postpones to next refresh cycle;Therefore it can be based on the next refreshing of prediction of poor at the first time and the second time difference in the present embodiment The time difference that the interrupt signal of two screens generates in period.If the generation time difference mistake in next refresh cycle of prediction Greatly, the asynchronous of display switching can be perceived when such as the time difference reaches time difference threshold value by the eyes of user, if then the One screen and the second screen are refreshed also according to the interrupt signal being respectively received, then may be such that user sees two The asynchronous problem of the picture refreshing of screen.In view of this, in the present embodiment, in order to avoid user sees this screen-refresh Nonsynchronous problem, then in next refresh cycle, the picture of at least one screen does not refresh, then next refreshing week Phase, only there are one screen-refresh picture, alternatively, two screens do not refresh, so as to avoid the refreshing moment of two screens Refresh caused by the time difference is excessive asynchronous.
At the same time, since the screen switching of two screens (refresh) was carried out based on the refresh cycle, and screen brush The new refresh cycle be also according to human eye can perceive less than.Similarly, if human eye can perceive the refreshing of two screens not Synchronous, then the time difference of the first interrupt signal and the second interrupt signal that show two screens is sufficiently large, and is presented below as feature:
Interruption of the interrupt signal of the current refresh cycle of one screen with another screen in next refresh cycle is believed Number time difference, can be less than the two screens the interrupt signal of current refresh cycle time difference.
In figure 3, the generation time of the first interrupt signal and the second interrupt signal that vertical line indicates on a timeline.With reference to Fig. 3 is it is found that the first interrupt signal and the second interrupt signal are very close in the generation time of each refresh cycle originally, still With the increase of screen-refresh number, the first interrupt signal and the second interrupt signal are poor in the generation time of the same refresh cycle It is increasing.It is such as obvious very in the generation time of the second interrupt signal of refresh cycle M-1 and the first interrupt signal difference in figure 3 Greatly, the generation time of the second interrupt signal of the first interrupt signal generation time and refresh cycle M-1 of opposite refresh cycle M is more It is close.If at this point, masking the first screen in the refreshing of refresh cycle M-1 and maintaining the second screen in the brush of refresh cycle M-1 Refreshing of new and the first screen in refresh cycle M, it is clear that the first screen can be made in the refresh time and the second screen of refresh cycle M Curtain refresh cycle M-1 refresh time very close to, it is clear that be achieved that synchronous refresh.A secondary screen is being shielded in this mode Digital display after, need adjust simultaneous display refresh cycle counting, so that it may to ensure that subsequent synchronisation is shown.In short, working as Preceding first screen is in refresh cycle M-1 not refresh pictures, and the second screen is in refresh cycle M-1 refresh picture, the first screen and Two screens refresh in refresh cycle M, then can make the generation time difference more adjunction of the interrupt signal of two screen-refresh pictures Closely.For example, the first screen should show that xth frame picture, the second screen are shown in refresh cycle M in refresh cycle M originally Y frame pictures, but since the time difference is excessive, the first screen does not refresh in refresh cycle M-1, i.e., does not show that xth frame is drawn Face;In the generation time refresh picture of the interrupt signal of refresh cycle M, xth frame picture is shown, and at this point, the brush of the second screen The interrupt signal in new period M-1 also produces, the second screen display y frame pictures.Obviously at this point, not only avoiding the first screen At the same time picture tearing caused by asynchronous refreshing and flower screen problem with the second screen pass through the refreshing week of the first screen The shielding of phase M-1 refreshes, and to be more nearly with correspondence xth frame picture and y frame picture display times, to real Simultaneous display is showed.
If therefore the generation time difference of two interrupt signals in next refresh cycle in the present embodiment is more than time difference threshold Value, shields the refreshing of at least one screen, can not only solve the problems, such as that two screen-refresh that next period generates are nonsynchronous, Simultaneously can also not refreshing by least one screen so that two screen displays correspond to the interrupt signal of picture when It is closer on countershaft.
In some embodiments, the step S120 may include:Calculate the first interrupt signal and of current refresh cycle The generation time of two interrupt signals is poor, which can be directly as the first interrupt signal of next refresh cycle and The generation time of two interrupt signals is poor.
In further embodiments, the step S120 may include:
Calculate the first interrupt signal of current refresh cycle and the time difference tx of the second interrupt signal;
The variation tendency of the first interrupt signal and the second interrupt signal generation time difference is counted, then tx+ty is under prediction The time difference of one refresh cycle, ty is offset identical with the variation tendency, if the variation tendency is to increase, institute It is positive value to state ty, if the variation tendency is to reduce, the ty is negative value.
In some embodiments, the ty can be preset value, and in further embodiments, the ty can be what dynamic calculated Value, for example, ty=tx/N;Wherein, the N is the number for the refresh cycle being had been subjected in current statistic window.
In further embodiments, as described in Figure 4, the step S120 may include:
Step S121:Based on first generation time and second generation time, determined for first time difference;
Step S122:First based on first interrupt signal practical generates the of period and second interrupt signal In two practical generation periods, determined for second time difference;
Step S123:Based on first time difference and second time difference, predict that the generation time of next refresh cycle is poor.
In the present embodiment, the predetermined generation period of first interrupt signal and second interrupt signal should be equal to Refresh cycle, but due to crystal oscillator of the first interrupt signal of triggering and the second interrupt signal etc. and its time deviation, can make The practical cycle phase that generates deviates the predetermined generation period.
Here first it is practical generate the practical generation period that the period is the first interrupt signal, second practical generate the period and is The practical generation period of second interrupt signal.The practical deviation for generating the period and making a reservation for the generation period is the essence due to hardware itself The problems such as delay of degree and inherent limitation and software, is caused.For example, the first interrupt signal and the second interrupt signal is predetermined It is 16.7ms to generate the period, but the first practical generation period may swing in 16.5ms between 16.7ms;And second is real The border generation period may swing between 16.7ms to 17ms.And in next refresh cycle, first interrupt signal and The practical generation period of two interrupt signals is also uncertain, then at this time can according to historical record, count the first interrupt signal and In the second interrupt signal respective practical generation period, it is based on the practical generation period, calculated for second time difference.
When in step S123 by the generation of next refresh cycle is gone out according to first time difference and the second time difference unified budget Between it is poor;For example, absolute value of the difference and the sum of absolute value of the difference when second when solving first, when obtaining the generation of next refresh cycle Between it is poor.In the present embodiment, it is clear that the time difference that the first interrupt signal and the second interrupt signal have generated is not only allowed for, and And also according to the practical generation period of two interrupt signals, it is contemplated that go out the time difference that can be increased newly within next refresh cycle (i.e. Second time difference) so that the generation time of prediction is poor, and the time difference more adjunction is actually generated within next refresh cycle Closely, so that prediction result is more accurate.If prediction result is more accurate, two screen-refresh on the one hand can be avoided in advance Asynchronous problem, on the other hand, it is possible to reduce unnecessary refreshings caused by prediction result is inaccurate shields.
Optionally, the step S122 may include:
Based on the described first practical extreme value for generating the period and the second practical extreme value for generating the period, described the is determined Two time differences.
The reality generates period extreme value:It is practical to generate period maximum and practical generation period minimum.For example, The practical generation period of first interrupt signal may swing in 16.5ms between 16.7ms, then 16.5ms is the practical generation period Minimum;16.7ms is practical generation period maximum.
The step S122 may include:
The time difference of the described first practical maximum for generating the period and the described second practical maximum for generating the period is calculated, Obtain period 1 deviation;
The time difference of the described first practical minimum for generating the period and the described second practical maximum for generating the period is calculated, Obtain second round deviation;
The time difference of the described first practical maximum for generating the period and the described second practical minimum for generating the period is calculated, Determine period 3 deviation;
The time difference of the described first practical minimum for generating the period and the described second practical minimum for generating the period is calculated, Determine period 4 deviation;
It is inclined from the period 1 deviation, the second round deviation, the period 3 deviation and the period 4 Select maximum value as second time difference in difference.
Assuming that the predetermined generation period of the first interrupt signal and the second interrupt signal is 16.7ms, but the first practical production The raw period may swing in 16.5ms between 16.7ms;And the second practical generation period may put between 16.7ms to 17ms It is dynamic;Then period 1 deviation is 17-16.7=0.3ms;Second round deviation is 17-16.5=0.5ms, and period 3 deviation is 16.7-16.7=0ms;Period 4 deviation is 16.7-16.5=0.2ms.By comparing it is found that second round deviation is maximum Value, then second time difference was equal to second round deviation at this time, and was equal to 0.5ms.
After calculating period 1 deviation to period 4 deviation, maximum value can be selected from this 4 periodic deviations As second time difference, to participate in the calculating of the generation time difference of two interrupt signals of next refresh cycle.Using this Mode, the maximum generation time that can calculate two interrupt signals of next refresh cycle is poor, if maximum generation time difference is all small In time difference threshold value, it may be considered that user perceives the nonsynchronous problem of refreshing when next refresh cycle is not in refreshing. If maximum generation time difference is not less than time difference threshold value, it is nonsynchronous to may be such that user leads to the problem of refreshing, then It can be by shielding the refreshing of at least one screen, to refresh nonsynchronous ask to greatest extent to avoid user from perceiving Topic, promotes the reliability of simultaneous display.
Optionally, the step S122 may include:
Determine the first calculated value, wherein if the probability of occurrence of the described first practical maximum for generating the period is not less than institute The probability of occurrence of the first practical minimum for generating the period is stated, then first calculated value is the very big of the first practical generation period Otherwise value is the described first practical minimum for generating the period;
Determine the second calculated value, wherein if the probability of occurrence of the described second practical maximum for generating the period is not less than institute The probability of occurrence of the second practical minimum for generating the period is stated, then second calculated value is the very big of the second practical generation period Otherwise value is the described second practical minimum for generating the period;
Based on the period 1 value and the second week time value, second time difference is calculated.
It in the present embodiment, can be according to the probability of occurrence of the first actual cycle and the extreme value of the second actual cycle, selection ginseng In this case on the one hand the first calculated value and the second calculated value calculated with second time difference has considered and has currently generated First time difference, second time difference was on the other hand calculated based on the probability of occurrence of statistics so that result of calculation is wanted with actual capabilities The duration of generation is more nearly, so that the prediction result of next refresh cycle is more accurate.
Optionally, the step S122 further includes:Determine that the described first practical mean value for generating the period is third calculated value; Determine that the described second practical mean value for generating the period is the 4th calculated value;Alternatively, determining in the described first practical generation period Value is third calculated value;Determine that the described second practical intermediate value for generating the period is the 4th calculated value;Based on the third calculated value And the 4th calculated value, calculate second time difference.It is calculated in the present embodiment in order to simplify, directly selects practical generation week Calculating of the mean value or intermediate value of phase as second time difference, has the characteristics of easy operation.
Optionally, the step S130 may include it is following it is several in any one realization method:
Mode one:
The step S130 may include:
If the generation time difference is not less than the time difference threshold value, when second generation time is generated earlier than described first Between, shield the picture refreshing of the second screen described in next refresh cycle.If current first generation time is generated earlier than second Between, then show that the first interrupt signal is earlier than the second interrupt signal within the current refresh cycle, in the production of next cycle interruption signal The raw time can also continue this rule, if shielding interrupt signal generates screen-refresh earlier, directly shield the first screen Refresh.
Mode two:
The step S130 may include:
If the generation time difference be not less than the time difference threshold value, and the first generation time be later than it is described second generate when Between, picture refreshing of shielding first screen in next refresh cycle.In this programme shielded in the current refresh cycle The refreshing of the later screen of interior interrupt signal.
Mode three:
The step S130 may include:
If the generation time difference is not less than the time difference threshold value, and second generation time is generated earlier than described first Time, picture refreshing of shielding second screen in next refresh cycle.
Mode four:
The step S130 may include:
If the generation time difference is not less than the time difference threshold value, while shielding first screen and second screen In the picture refreshing of next refresh cycle.
Optionally, the step S130 may include:
If the generation time difference is not less than the time difference threshold value, in the first display caching area for shielding first screen Update of first display data in next refresh cycle, and/or, in the second display caching area for shielding second screen Update of second display data in next refresh cycle;Wherein, first display in first display caching area Data are used for the picture refreshing for first screen, and second display data in second display caching area is for supplying The picture refreshing of second screen.
In the present embodiment by shielding not brushing for display data in the first display caching area and/or the second display caching area Newly, what display screen was read from caching is identical display data with the current refresh cycle, to reach the work that shielding refreshes With.
It can refresh as usual in also some embodiments aobvious in first display caching area and the second display caching area Registration evidence is only that the first screen of shielding and/or the second screen read display data from caching and carry out picture refreshing.
In other embodiments, shielding refreshes and can also be:Both the update without display data in caching, simultaneously Screen does not also read data from the caching and is refreshed.
Optionally, the step S130 may include following operation:
Picture refreshing of first screen in next refresh cycle is shielded, and shields first screen next The picture refreshing of refresh cycle includes:The first display data is shielded in the first display caching area of first screen under described The update of one refresh cycle, first display data in first display caching area are used for the picture for first screen Face is refreshed;
Picture refreshing of second screen in next refresh cycle is shielded, and shields second screen described The picture refreshing of next refresh cycle includes:The second display data is shielded in the second display caching area of second screen in institute The update of next refresh cycle is stated, second display data in second display caching area is used to supply second screen Picture refreshing.
Optionally, the step S110 may include:
The first generation time of n-th of first interrupt signal is recorded in current record time window, and described in record The second generation time that n-th of second interrupt signal of the second screen generates;Wherein, it interrupts for described n-th described first Signal is the interrupt signal of the current refresh cycle of first screen;N-th of second interrupt signal is described the The interrupt signal of the current refresh cycle of one screen;N is positive integer;In embodiments of the present invention, it can interrupt and believe by first Number and the second interrupt signal the serial number in time window is recorded at one to determine the interrupt signal for belonging to the same refresh cycle.Institute Step S120 is stated to may include:The first generation time based on described n-th first interrupt signal and n-th described described Second generation time of two interrupt signals, first interrupt signal and described second for predicting next refresh cycle are interrupted The generation time of signal is poor.The record time window includes at least one refresh cycle, usually the integral multiple brush The new period.
In some embodiments, the step S110 further includes:
If the generation time difference is not less than time difference threshold value, described first is recorded in next record time window and interrupts letter Number the first generation time, and when recording in the next record time window the second of second interrupt signal and generating Between.
If the generation time difference for recording the first interrupt signal and the second interrupt signal in time window at one has equalized to Or be more than time difference threshold value, then next record time window is entered, the weight to the first interrupt signal and the second interrupt signal is started New record renumbers.It, can be to avoid by recording the statistics of the first interrupt signal and the second interrupt signal in time window It is not the calculating of the generation time difference of the interrupt signal of the same refresh cycle, the calculating for improving generation time difference again is accurate Degree.
As shown in figure 5, the method further includes in the present embodiment:
Step S140:In next refresh cycle, it is aligned the generation of first interrupt signal and the second interrupt signal Time.For example, the step S140 is executed after the step S130, if being not less than time difference threshold in the generation time difference Value shields first screen and/or second screen after the picture refreshing of next refresh cycle, the method Also wrap the step S140.
If the generation time difference predicted in next refresh cycle between the first interrupt signal and the second interrupt signal is excessive, While shielding the first screen and at least one of refreshing of the second screen, when at least adjusting the generation of an interrupt signal Between.For example, in some embodiments, adjusting the generation in the interrupt signal of the screen of next refresh cycle inner shield refreshing Time so that the first interrupt signal and the second interrupt signal after adjustment can be aligned on a timeline after the adjustment so that The first interrupt signal of next refresh cycle and the second interrupt signal have better time synchronization effect under.For example, current brush The new period is x-th of refresh cycle, and next refresh cycle is the (x+1)th refresh cycle, under the next refresh cycle be xth+2 Refresh cycle.The alignment of the first interrupt signal and the second interrupt signal on a timeline is carried out in the (x+1)th refresh cycle, can be made It obtains and so that the first interrupt signal is more synchronous with the generation time of the second interrupt signal in+2 refresh cycles of xth.For example, passing through An adjust instruction is sent to the generation circuit of the first interrupt signal and/or the second interrupt signal, which makes first Shifting to an earlier date or postponing at least one of interrupt signal and the second interrupt signal interrupt signal generates, the first interrupt signal and second The adjustment amount of the generation time of interrupt signal can be determined based on aforementioned first time difference.For example, the of the current refresh cycle Between one interrupt signal and the second interrupt signal first when a length of 15ms, and it is predetermined to generate the period be 16.7ms, first, under The adjustment of one refresh cycle generates the generation time of the first interrupt signal earlier, can be by by the first of the lower lower refresh cycle Interrupt signal postpones 1.7ms backward so that the first interrupt signal generation time of next refresh cycle under is interrupted with second to be believed Number generation time it is consistent, with reduce two interrupt signals generation time difference be more than time difference threshold value probability.Assuming that in this reality The refreshing for applying shielding corresponding second screen of the second later interrupt signal of generation time within the current refresh cycle in example, then may be used To adjust the generation time of the second interrupt signal in the (x+1)th refresh cycle, such as when the generation of second interrupt signal in advance Between so that do sth. in advance 1.7ms etc. forward in the generation time of the second interrupt signal of+2 refresh cycle of xth.In the present embodiment individually It adjusts an interrupt signal and can be equal in the adjustment time amount of the generation time of+2 refresh cycle of xth and predetermined generate the period and the The difference of one time difference.When can also adjust the generation of the first interrupt signal and the second interrupt signal simultaneously in some embodiments Between.For example, when shielding the refreshing of the first screen and the second screen simultaneously in step s 130, the first interruption letter can be adjusted simultaneously Number and the second interrupt signal generation time so that realize two interrupt signals pair on a timeline in+2 refresh cycle of xth Together.
As shown in fig. 6, the present embodiment provides a kind of synchronous display apparatus, including:
Logging modle 110, for recording first generation of the first interrupt signal of the first screen within the current refresh cycle Time, and record second generation time of the second interrupt signal of the second screen within the current refresh cycle;
Prediction module 120, for being based on first generation time and second generation time, in prediction described first The generation time of break signal and second interrupt signal within next refresh cycle is poor;
Refresh module 130, if being not less than time difference threshold value for the generation time difference, shield first screen and/or Picture refreshing of second screen in next refresh cycle.
The logging modle 110, prediction module 120 and refresh module 130 can be program module in the present embodiment, be located After managing device execution, when being able to record lower first generation time, the second generation time, predicting the generation of next refresh cycle Between it is poor, and bad student's time difference be more than the time difference threshold value when, mask the picture refreshing of at least one screen, avoid at two trigger The asynchronous or tearing of two screen displays caused by the generation time difference of the interrupt signal of screen-refresh still refreshes when excessive Display effect, to improve screen synch display effect.
Optionally, the prediction module 120, including:
First determination sub-module, for being based on first generation time and second generation time, when determining first Difference;
Second determination sub-module, in the first practical generation period and described second based on first interrupt signal The second of break signal is practical to generate the period, determines for second time difference;
It predicts submodule, for being based on first time difference and second time difference, predicts the generation of next refresh cycle Time difference.
In the present embodiment, the predetermined generation period of first interrupt signal and the second interrupt signal should be equal , the initial time of and general initial time, the predetermined generation period of the first interrupt signal and the second interrupt signal is also alignment , to realize better simultaneous display.
Optionally, second determination sub-module, for based on the described first practical extreme value for generating the period and described the The two practical extreme values for generating the period, determine second time difference.
In the present embodiment, the practical extreme value for generating the period may include maximum and minimum.
Optionally, second determining module, can be used for calculating the described first practical maximum for generating the period with it is described The time difference of the second practical maximum for generating the period, obtain period 1 deviation;Calculate the described first practical pole for generating the period The time difference of small value and the described second practical maximum for generating the period, obtain second round deviation;Calculate the described first practical production The time difference of the maximum in raw period and the described second practical minimum for generating the period, obtain period 3 deviation;Described in calculating The time difference of the first practical minimum for generating the period and the described second practical minimum for generating the period, it is inclined to obtain the period 4 Difference;It is selected from the period 1 deviation, the second round deviation, the period 3 deviation and the period 4 deviation Maximum value is selected as second time difference.
Optionally, second determination sub-module, it may also be used for determine the first calculated value, wherein if described first is practical Generate probability of occurrence of the probability of occurrence not less than the described first practical minimum for generating the period of the maximum in period, then it is described First calculated value is otherwise the first practical maximum for generating the period is the described first practical minimum for generating the period;Determine Two calculated values, wherein generated if the probability of occurrence of the described second practical maximum for generating the period is practical not less than described second The probability of occurrence of the minimum in period, then otherwise it is described that second calculated value, which is the second practical maximum for generating the period, The two practical minimums for generating the period;Based on the period 1 value and the second week time value, second time difference is calculated.
Optionally, second determination sub-module is specifically used for determining that the described first practical mean value for generating the period is the Three calculated values;Determine that the described second practical mean value for generating the period is the 4th calculated value;Alternatively, determining the described first practical generation The intermediate value in period is third calculated value;Determine that the described second practical intermediate value for generating the period is the 4th calculated value;Based on described Three calculated values and the 4th calculated value calculate second time difference.
The refresh module 130 is specifically used for executing following one:If the generation time difference is not less than the time difference threshold Value, and first generation time shields the brush of first screen in next refresh cycle earlier than second generation time Newly;If the generation time difference is not less than the time difference threshold value, and first generation time is earlier than second generation time, The picture refreshing of second screen is shielded in next refresh cycle;If the generation time difference is not less than the time difference threshold value, And second generation time shields the picture brush of first screen in next refresh cycle earlier than first generation time Newly;If the generation time difference is not less than the time difference threshold value, and second generation time is earlier than first generation time, The picture refreshing of second screen is shielded in next refresh cycle;If the generation time difference is not less than the time difference threshold value, Simultaneously shield first screen and second screen next refresh cycle picture refreshing.
Optionally, the refresh module 130, if being not less than the time difference threshold value, screen specifically for the generation time difference Covert states update of first display data in next refresh cycle in the first display caching area of the first screen, and/or, screen The second display data is stated in the second display caching area of the second screen in the update of next refresh cycle in covert;Wherein, institute State the picture refreshing that first display data in the first display caching area is used to supply first screen, second display Second display data in buffer area is used for the picture refreshing for second screen.
Optionally, the refresh module 130 can be specifically used in the first display caching area for shielding first screen the Update of one display data in next refresh cycle, first display data in first display caching area are used for For the picture refreshing of first screen;And/or the second display data in the second display caching area of shielding second screen Second display data in the update of next refresh cycle, second display caching area is used to supply described second The picture refreshing of screen.
Optionally, the logging modle 110 can be used for recording n-th described first in current record time window and interrupt First generation time of signal, and when the second generation of n-th of second interrupt signal generation for recording second screen Between;Wherein, described n-th first interrupt signal is the interrupt signal of the current refresh cycle of first screen;It is described N-th of second interrupt signal is the interrupt signal of the current refresh cycle of first screen;N is positive integer;
The prediction module 120 can be used for the first generation time based on described n-th first interrupt signal and institute The second generation time of n-th of second interrupt signal is stated, predicts first interrupt signal of next refresh cycle It is poor with the generation time of second interrupt signal.
Optionally, the logging modle 110, if can be used for the generation time difference is not less than time difference threshold value, next The first generation time of first interrupt signal is recorded in record time window, and is recorded in the next record time window Second generation time of second interrupt signal.
The synchronous display apparatus further includes:
Alignment module, if be additionally operable to the generation time difference shields first screen and/or institute not less than time difference threshold value The second screen is stated after the picture refreshing of next refresh cycle, in next refresh cycle, alignment described first The generation time of break signal and the second interrupt signal.
In the present embodiment by alignment module, corresponding the first interruption of time adjustment letter of next refresh cycle can be utilized Number and/or the second interrupt signal, the first interrupt signal generated within next refresh cycle again in this way and the second interrupt signal Generation time difference smaller, the generation time deviation to reduce follow-up two interrupt signals are more than the frequency of time difference threshold value.
As shown in fig. 7, the present embodiment provides a kind of electronic equipment, including:
First screen 211, for showing;
Second screen 212, for showing;
Memory 220 is used for information storage;
Processor 230 is connect with first screen 211, second screen 212 and the memory 220 respectively, is used In the execution by computer program, the synchronous display method that any one aforementioned technical solution provides is realized, for example, executing such as One or more of method shown in Fig. 1, Fig. 4, Fig. 5 and Fig. 9 to Figure 12.
The processor 230 can realize following operation by the execution of computer program:
First generation time of the first interrupt signal of the first screen within the current refresh cycle is recorded, and records the second screen Second generation time of second interrupt signal of curtain within the current refresh cycle;
Based on first generation time and second generation time, first interrupt signal and described second are predicted Generation time of the interrupt signal within next refresh cycle is poor;
If the generation time difference is not less than time difference threshold value, first screen and/or second screen are shielded in institute State the picture refreshing of next refresh cycle.
Optionally, the processor 230, be particularly used in based on first generation time and it is described second generate when Between, determined for first time difference;
First based on first interrupt signal practical the second practical production for generating period and second interrupt signal In the raw period, determined for second time difference;
Based on first time difference and second time difference, predict that the generation time of next refresh cycle is poor.
Optionally, the processor 230 is particularly used in based on the described first practical extreme value for generating the period and described the The two practical extreme values for generating the period, determine second time difference.For example, calculate the described first practical maximum for generating the period with The described second practical maximum for generating the period, obtains the time difference of period 1 deviation;Calculated for the described first practical generation period Minimum and the described second practical maximum for generating the period the time difference, obtain second round deviation;It is real to calculate described first Border generates the time difference of the maximum and the described second practical minimum for generating the period in period, obtains period 3 deviation;It calculates The time difference of the described first practical minimum for generating the period and the described second practical minimum for generating the period, obtain the period 4 Deviation;From the period 1 deviation, the second round deviation, the period 3 deviation and the period 4 deviation Select maximum value as second time difference.
Optionally, the processor 230 can also be used to determine the first calculated value, wherein if the described first practical generation week The probability of occurrence of the maximum of phase then described first is counted not less than the probability of occurrence of the described first practical maximum for generating the period Calculation value is the first practical maximum for generating the period, is otherwise the described first practical minimum for generating the period;Determine the second meter Calculation value, wherein if the probability of occurrence of the described second practical maximum for generating the period is practical not less than described second to generate the period Maximum probability of occurrence, then second calculated value is the second practical maximum for generating the period, is otherwise described second The practical minimum for generating the period;Based on the period 1 value and the second week time value, second time difference is calculated.
In also some embodiments, the processor 230 is specifically used for determining the described first practical mean value for generating the period For third calculated value;Determine that the described second practical mean value for generating the period is the 4th calculated value;Alternatively, determining that described first is practical The intermediate value for generating the period is third calculated value;Determine that the described second practical intermediate value for generating the period is the 4th calculated value;Based on institute Third calculated value and the 4th calculated value are stated, second time difference is calculated.
The processor 230 can execute at least one of when shielding the picture refreshing of screen:If when the generation Between difference be not less than the time difference threshold value, and first generation time is earlier than second generation time, in next refresh cycle Shield the refreshing of first screen;If the generation time difference is not less than the time difference threshold value, and first generation time Earlier than second generation time, the picture refreshing of second screen is shielded in next refresh cycle;If the generation time Difference is not less than the time difference threshold value, and second generation time is earlier than first generation time, in next refresh cycle screen State the picture refreshing of the first screen in covert;If the generation time difference is not less than the time difference threshold value, and when second generation Between earlier than first generation time, the picture refreshing of second screen is shielded in next refresh cycle;If when the generation Between difference be not less than the time difference threshold value, while shield first screen and second screen next refresh cycle picture Refresh.
Optionally, if the processor 230 can be additionally used in the generation time difference and be not less than the time difference threshold value, institute is shielded Update of first display data in next refresh cycle in the first display caching area of the first screen is stated, and/or, shield institute The second display data is stated in the second display caching area of the second screen in the update of next refresh cycle;Wherein, described First display data in one display caching area is used for the picture refreshing for first screen, second display caching Second display data in area is used for the picture refreshing for second screen.
The processor 230 can control the memory 220 and be recorded in current record time window n-th described first First generation time of interrupt signal, and the second production that n-th of second interrupt signal for recording second screen generates The raw time;Wherein, described n-th first interrupt signal is the interrupt signal of the current refresh cycle of first screen; N-th of second interrupt signal is the interrupt signal of the current refresh cycle of first screen;N is positive integer.Institute State processor 230 can be additionally used in the first generation time based on described n-th first interrupt signal and it is n-th described described in Second generation time of the second interrupt signal, in first interrupt signal and described second for predicting next refresh cycle The generation time of break signal is poor.
The memory 220 can be also used under control of a processor 230, if being not less than for the generation time difference Time difference threshold value, into next record time window in the record of the first generation time of first interrupt signal and next The record of second generation time of second interrupt signal in the record time window.
The processor 230 can also be used to, in next refresh cycle, be aligned in first interrupt signal and second The generation time of break signal.
First screen and the second screen can be various types of display screens in the present embodiment, for example, liquid crystal display Various types of display screens such as screen, electric ink display screen, organic light emitting diode (OLED) display screen.First screen and Second screen can be any two screen in multi-screen display equipment, the different screens that multiple can also be connected in the same equipment Curtain.First screen and the second screen can also be different types of display screen with the display screen of same type.
The memory 220 can be the memory device for including storage medium, it may for example comprise the memory device of caching.It is depositing Computer program is stored on reservoir 220, the processor 230 can be by communication interface in the equipment such as Integration Bus, respectively It is connect with the first screen 211, the second screen 212 and memory 220, the aobvious of the first screen 211 and the second screen 212 can be controlled Show.In the present embodiment, the processor 230 can be various types of processors, for example, central processing unit, microprocessor, number Word signal processor, application processor or programmable array etc. have the processing chip or processing circuit of the information processing function.
The embodiment of the present invention also provides a kind of computer storage media, and the computer storage media is stored with computer journey Sequence;After the computer program is performed, the synchronous display method that aforementioned one or more embodiments provide, example can be realized Such as, one or more of method as shown in Fig. 1, Fig. 4, Fig. 5 and Fig. 9 to Figure 12 is executed.
The computer storage media can be:Movable storage device, read-only memory (ROM, Read-Only Memory), Random access memory (RAM, Random Access Memory), magnetic disc or CD etc. are various can to store program code Medium;It is chosen as non-moment storage medium.
Several specific examples are provided below in conjunction with above-mentioned any embodiment:
Example 1:
This exemplary key technology is that the algorithm of synchronous refresh, this algorithm can count in the vsync of screen 1 and screen 2 Disconnected period extreme value (corresponding to the aforementioned practical extreme value for generating the period), between being refreshed according to these information prediction screens next time 1 and screen 2 Certain frame picture can be lost, waits being spaced extensive if interval is too big every (generation time of two respective interrupt signals of screen is poor) Restore the refreshing of picture after answering normally again.Because frame losing is the 1-2 frames in very short time, can be neglected for 60 frame per second Slightly, user can not perceive.The interrupt signal generated when vsync is screen-refresh, screen is per second to be refreshed 60 times, that is, is produced Raw 60 vsync interrupt signals.
This example provides a kind of method that double-screen synchronous is shown, referring to FIG. 9, Fig. 9 is the stream for the method that this example provides Journey schematic diagram may include:
Step S101:When screen generates vsync, holding time value (corresponds to above-mentioned first to produce for operation booting Raw time and the second generation time), and the number for starting counting up statistics vsync from 1.1 n-th vsync productions of screen are represented with V1n Raw time, V2n represent the time that 2 n-th vsync of screen is generated.
Step S102:Extreme value e1 interrupt cycle, e2 of statistics screen 1 and screen 2;
Step S103:Display caching area (BUFFER) 1 and display caching area 2 correspond to the display caching area of screen 1 and screen 2, when The content in display caching area will be shown on screen by vsync when arrival;
Step S104:As abs (V1n-V2n)+abs (e1-e2)s <When 16, update display caching area 1 and display caching Area 2;Per second to refresh 60 times, i.e. 16.7ms refreshes once, takes 16ms as time difference threshold value, in other examples, root in this example According to refreshing frequency, time difference threshold value can also take other values;Abs expressions take absolute value;
Step S105:As abs (V1n-V2n)+abs (e1-e2)s >Display caching 1 and display caching 2 are not updated when=16, And again since 1, i.e. the n of V1n and V2n repeat S102-S105 since 1 for the counting of the vsync of screen 1 and screen 2.
When vsync signals generate, it is which that data acquisition module (corresponding to logging modle above-mentioned), which will be recorded, Screen, the interruption and corresponding time value which time generates.
Example 2:
As shown in Figure 10, when display data preparation is put into display caching area, logic execution module (can be prediction above-mentioned The component part of module) from data acquisition module acquisition data (for example, generation time of interrupt signal), calculate two screens most Nearly primary V1n and V2n and e1 and e2.
As shown in figure 11, the update of this exemplary screen can execute following steps repeatedly:
S1101:Screen-refresh generates vsync;
S1102:Which screen record is, the interrupt signal and corresponding which time generates in this record time window Time value.
Figure 12 is that the logic execution module flow chart of this example providing method includes:
Step S1201:When display data preparation is put into display caching area, data are obtained from data acquisition module;
Step S1202:Calculate the V1n and V2n and e1 and e2 of two screen the last times;
Step S1203:As abs (V1n-V2n)+abs (e1-e2)s <When 16, update display caching area 1 and display are slow Deposit area 2;
Step S1204:As abs (V1n-V2n)+abs (e1-e2)s >When=16, display caching area 1 is not updated and display is slow Deposit area 2, and shield 1 and screen 2 vsync counting again since 1, i.e. the n of V1n and V2n are since 1;Repeat S301- S304;
In several embodiments provided herein, it should be understood that disclosed device and method can pass through it Its mode is realized.Apparatus embodiments described above are merely indicative, for example, the division of the unit, only A kind of division of logic function, formula that in actual implementation, there may be another division manner, such as:Multiple units or component can combine, or It is desirably integrated into another system, or some features can be ignored or not executed.In addition, shown or discussed each composition portion It can be the INDIRECT COUPLING by some interfaces, equipment or unit to divide mutual coupling or direct-coupling or communication connection Or communication connection, can be electrical, mechanical or other forms.
The above-mentioned unit illustrated as separating component can be or may not be and be physically separated, aobvious as unit The component shown can be or may not be physical unit, you can be located at a place, may be distributed over multiple network lists In member;Some or all of wherein unit can be selected according to the actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in various embodiments of the present invention can be fully integrated into a processing module, also may be used It, can also be during two or more units be integrated in one unit to be each unit individually as a unit;It is above-mentioned The form that hardware had both may be used in integrated unit is realized, can also be realized in the form of hardware adds SFU software functional unit.
One of ordinary skill in the art will appreciate that:Realize that all or part of step of above method embodiment can pass through The relevant hardware of program instruction is completed, and program above-mentioned can be stored in a computer read/write memory medium, the program When being executed, step including the steps of the foregoing method embodiments is executed.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain Lid is within protection scope of the present invention.Therefore, protection scope of the present invention should be based on the protection scope of the described claims.

Claims (14)

1. a kind of synchronous display method, which is characterized in that including:
First generation time of the first interrupt signal of the first screen within the current refresh cycle is recorded, and records the second screen Second generation time of second interrupt signal within the current refresh cycle;
Based on first generation time and second generation time, predict that first interrupt signal and described second is interrupted Generation time of the signal within next refresh cycle is poor;
If the generation time difference is not less than time difference threshold value, first screen and/or second screen are shielded under described The picture refreshing of one refresh cycle.
2. according to the method described in claim 1, it is characterized in that,
It is described to be based on first generation time and second generation time, predict first interrupt signal and described second Generation time of the interrupt signal within next refresh cycle is poor, including:
Based on first generation time and second generation time, determined for first time difference;
First based on first interrupt signal practical the second practical generation week for generating period and second interrupt signal Phase determined for second time difference;
Based on first time difference and second time difference, predict that the generation time of next refresh cycle is poor.
3. according to the method described in claim 2, it is characterized in that,
Described first based on first interrupt signal practical the second practical production for generating period and second interrupt signal In the raw period, determined for second time difference, including:
Based on the described first practical extreme value for generating the period and the second practical extreme value for generating the period, when determining described second Difference.
4. according to the method described in claim 3, it is characterized in that,
It is described based on the described first practical extreme value for generating the period and the second practical extreme value for generating the period, determine described the Two time differences, including:
It the time difference for calculating the described first practical maximum for generating the period and the described second practical maximum for generating the period, obtains Period 1 deviation;
It the time difference for calculating the described first practical minimum for generating the period and the described second practical maximum for generating the period, obtains Second round deviation;
It the time difference for calculating the described first practical maximum for generating the period and the described second practical minimum for generating the period, obtains Period 3 deviation;
It the time difference for calculating the described first practical minimum for generating the period and the described second practical minimum for generating the period, obtains Period 4 deviation;
From the period 1 deviation, the second round deviation, the period 3 deviation and the period 4 deviation Select maximum value as second time difference.
5. according to the method described in claim 3, it is characterized in that,
It is described based on the described first practical extreme value for generating the period and the second practical extreme value for generating the period, determine described the Two time differences, including:
Determine the first calculated value, wherein if the probability of occurrence of the described first practical maximum for generating the period is not less than described the The probability of occurrence of the one practical minimum for generating the period, then first calculated value is that the first practical maximum for generating the period is no It is then the described first practical minimum for generating the period;
Determine the second calculated value, wherein if the probability of occurrence of the described second practical maximum for generating the period is not less than described the The probability of occurrence of the two practical minimums for generating the period, then second calculated value is that the second practical maximum for generating the period is no It is then the described second practical minimum for generating the period;
Based on first calculated value and second calculated value, second time difference is calculated.
6. according to the method described in claim 2, it is characterized in that,
Described first based on first interrupt signal practical the second practical production for generating period and second interrupt signal In the raw period, determined for second time difference, including:
Determine that the described first practical mean value for generating the period is third calculated value;Determine the described second practical mean value for generating the period For the 4th calculated value;Alternatively, determining that the described first practical intermediate value for generating the period is third calculated value;Determine that described second is practical The intermediate value for generating the period is the 4th calculated value;
Based on the third calculated value and the 4th calculated value, second time difference is calculated.
If 7. according to the method described in claim 1, it is characterized in that, the generation time difference be not less than time difference threshold value, Shield the picture refreshing of first screen and/or second screen in next refresh cycle, including following one:
If the generation time difference be not less than the time difference threshold value, and first generation time earlier than it is described second generate when Between, picture refreshing of shielding first screen in next refresh cycle;
If the generation time difference be not less than the time difference threshold value, and first generation time earlier than it is described second generate when Between, picture refreshing of shielding second screen in next refresh cycle;
If the generation time difference be not less than the time difference threshold value, and second generation time earlier than it is described first generate when Between, picture refreshing of shielding first screen in next refresh cycle;
If the generation time difference be not less than the time difference threshold value, and second generation time earlier than it is described first generate when Between, picture refreshing of shielding second screen in next refresh cycle;
If the generation time difference is not less than the time difference threshold value, while shielding first screen and second screen in institute State the picture refreshing of next refresh cycle.
8. method according to claim 1 or claim 7, which is characterized in that
Picture refreshing of shielding first screen in next refresh cycle, including:Shield first screen Update of first display data in next refresh cycle in first display caching area, the institute in first display caching area State the first display data for for first screen picture refreshing;
Picture refreshing of shielding second screen in next refresh cycle, including:Shield second screen Update of second display data in next refresh cycle in second display caching area, the institute in second display caching area State the second display data for for second screen picture refreshing.
9. according to the method described in claim 1, it is characterized in that,
First generation time of first interrupt signal of the first screen of the record within the current refresh cycle, and record the second screen Second generation time of second interrupt signal of curtain within the current refresh cycle, including:
The first generation time of n-th of first interrupt signal is recorded in current record time window, and records described second The second generation time that n-th of second interrupt signal of screen generates;Wherein, described n-th first interrupt signal For the interrupt signal of the current refresh cycle of first screen;N-th of second interrupt signal is first screen The interrupt signal of the current refresh cycle of curtain;N is positive integer;Wherein, include in the record time window:At least one refreshing week Phase;
It is described to be based on first generation time and second generation time, predict first interrupt signal and described second Generation time of the interrupt signal within next refresh cycle is poor, including:
The first generation time and n-th of second interrupt signal based on described n-th first interrupt signal Second generation time, predict next refresh cycle first interrupt signal and second interrupt signal generation when Between it is poor.
10. according to the method described in claim 9, it is characterized in that,
First generation time of the first interrupt signal of the first screen of the record, and record the second interrupt signal of the second screen The second generation time, further include:
If the generation time difference is not less than time difference threshold value, first interrupt signal is recorded in next record time window First generation time, and in the next record time window second interrupt signal the second generation time.
11. if according to the method described in claim 1, it is characterized in that, be not less than time difference threshold value, screen in the generation time difference Covert states the first screen and/or second screen after the picture refreshing of next refresh cycle, and the method is also wrapped It includes:
In next refresh cycle, it is aligned the generation time of first interrupt signal and the second interrupt signal.
12. a kind of synchronous display apparatus, which is characterized in that including:
Logging modle, for recording first generation time of the first interrupt signal of the first screen within the current refresh cycle, and Record second generation time of the second interrupt signal of the second screen within the current refresh cycle;
Prediction module predicts first interrupt signal for being based on first generation time and second generation time It is poor with generation time of second interrupt signal within next refresh cycle;
Refresh module shields first screen and/or described second if being not less than time difference threshold value for the generation time difference Picture refreshing of the screen in next refresh cycle.
13. a kind of electronic equipment, including:
First screen, for showing;
Second screen, for showing;
Memory is used for information storage;
Processor is connect respectively with first screen, second screen and the memory, for passing through computer program Execution, realize the synchronous display method that any one of claim 1 to 11 provides.
14. a kind of computer storage media, the computer storage media is stored with computer program;The computer program quilt After execution, the synchronous display method that any one of claim 1 to 11 provides can be realized.
CN201810289965.5A 2018-04-03 2018-04-03 Synchronous display method and device, electronic equipment and storage medium Active CN108710479B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201810289965.5A CN108710479B (en) 2018-04-03 2018-04-03 Synchronous display method and device, electronic equipment and storage medium
PCT/CN2018/101385 WO2019192126A1 (en) 2018-04-03 2018-08-20 Synchronous display method and apparatus, electronic device, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810289965.5A CN108710479B (en) 2018-04-03 2018-04-03 Synchronous display method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN108710479A true CN108710479A (en) 2018-10-26
CN108710479B CN108710479B (en) 2022-06-07

Family

ID=63866538

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810289965.5A Active CN108710479B (en) 2018-04-03 2018-04-03 Synchronous display method and device, electronic equipment and storage medium

Country Status (2)

Country Link
CN (1) CN108710479B (en)
WO (1) WO2019192126A1 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110958490A (en) * 2019-11-27 2020-04-03 北京凯视达科技有限公司 Method and device for playing video, storage medium and electronic equipment
CN110971971A (en) * 2019-11-27 2020-04-07 北京凯视达科技有限公司 Method and device for playing video, storage medium and electronic equipment
CN111711718A (en) * 2020-05-07 2020-09-25 华为技术有限公司 Electronic device
CN112384971A (en) * 2018-12-05 2021-02-19 谷歌有限责任公司 Varying display refresh rate

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111986610B (en) * 2020-09-01 2022-12-27 紫旸升光电科技(苏州)有限公司 Multi-screen display unit color correction synchronization method
CN114928769B (en) * 2022-04-21 2024-05-14 瑞芯微电子股份有限公司 Method and electronic device for displaying frame data

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101088116A (en) * 2004-12-30 2007-12-12 英特尔公司 Method and apparatus for controlling display refresh
CN101968728A (en) * 2010-09-27 2011-02-09 广东威创视讯科技股份有限公司 Processing method and device after acquiring vertical synchronization time during image update
US20110299352A1 (en) * 2010-06-07 2011-12-08 Elpida Memory, Inc. Semiconductor device including memory cells that require refresh operation
CN104808984A (en) * 2015-03-24 2015-07-29 魅族科技(中国)有限公司 Display interface refresh method and device
CN104951266A (en) * 2015-06-11 2015-09-30 联想(北京)有限公司 Screen adjustment method and electronic device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150022463A1 (en) * 2013-07-17 2015-01-22 Lenovo (Singapore) Pte. Ltd. Synchronization of input surface data and display screen refresh
CN106791488B (en) * 2016-12-28 2021-01-29 浙江宇视科技有限公司 Synchronous splicing display method and device
CN107220019B (en) * 2017-05-15 2021-01-08 固安县朔程燃气有限公司 Rendering method based on dynamic VSYNC signal, mobile terminal and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101088116A (en) * 2004-12-30 2007-12-12 英特尔公司 Method and apparatus for controlling display refresh
US20110299352A1 (en) * 2010-06-07 2011-12-08 Elpida Memory, Inc. Semiconductor device including memory cells that require refresh operation
CN101968728A (en) * 2010-09-27 2011-02-09 广东威创视讯科技股份有限公司 Processing method and device after acquiring vertical synchronization time during image update
CN104808984A (en) * 2015-03-24 2015-07-29 魅族科技(中国)有限公司 Display interface refresh method and device
CN104951266A (en) * 2015-06-11 2015-09-30 联想(北京)有限公司 Screen adjustment method and electronic device

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112384971A (en) * 2018-12-05 2021-02-19 谷歌有限责任公司 Varying display refresh rate
CN112384971B (en) * 2018-12-05 2022-08-05 谷歌有限责任公司 Varying display refresh rates
US11688367B2 (en) 2018-12-05 2023-06-27 Google Llc Varying display refresh rate
CN110958490A (en) * 2019-11-27 2020-04-03 北京凯视达科技有限公司 Method and device for playing video, storage medium and electronic equipment
CN110971971A (en) * 2019-11-27 2020-04-07 北京凯视达科技有限公司 Method and device for playing video, storage medium and electronic equipment
CN110971971B (en) * 2019-11-27 2022-01-11 北京凯视达科技股份有限公司 Method and device for playing video, storage medium and electronic equipment
CN110958490B (en) * 2019-11-27 2022-01-11 北京凯视达科技股份有限公司 Method and device for playing video, storage medium and electronic equipment
CN111711718A (en) * 2020-05-07 2020-09-25 华为技术有限公司 Electronic device
CN111711718B (en) * 2020-05-07 2021-11-19 荣耀终端有限公司 Electronic device

Also Published As

Publication number Publication date
WO2019192126A1 (en) 2019-10-10
CN108710479B (en) 2022-06-07

Similar Documents

Publication Publication Date Title
CN108710479A (en) Synchronous display method and device, electronic equipment and storage medium
CN105074648B (en) Apparatus and method for showing video data
CN101815226B (en) Image adjusting apparatus and associated method
CN102566068B (en) Synchronization circuits and methods usable in shutter glasses
CN104808984B (en) Display interface method for refreshing and device
CN101945296B (en) Image processing device, image display device, and image processing and display method and program
CN110168480B (en) Method and apparatus for mitigating touch-and pen-sensed display noise
CN102209247A (en) Communication method and system
CN106951247A (en) A kind of dynamic background methods of exhibiting and device
CN102647600A (en) Three-dimensional image signal processing method, three-dimensional image signal processing device, display panel and liquid crystal display
CN101964181B (en) Apparatus and method for controlling display devices
CN103065598A (en) Control method for preventing liquid crystal display from being blurred
US8913190B2 (en) Method and apparatus for regenerating a pixel clock signal
CN103149402A (en) Oscilloscope with functions of recording and replaying wave forms
US20150035956A1 (en) Method for the synchronization of 3d devices and corresponding synchronization device
CN1841978B (en) Method and apparatus for realizing multipath signal re-timing
US5777687A (en) Image display system and multi-window image display method
EA022789B1 (en) System and method for controlling shutter glasses
US9167238B2 (en) 3D display apparatus for use in synchronization with 3D glasses and 3D display method thereof
CN112309311B (en) Display control method, device, display control card and computer readable medium
CN103533334A (en) 3D (3-dimensional) image processing method, device and display system
CN106357459A (en) Method and device for processing delay jitter and clock synchronizing device
TWI581247B (en) Display device and control method thereof
CN1615602B (en) Frame boundary discriminator
US9098199B2 (en) Data receiver, clock generation device, and method for controlling data receiver

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant