CN106775531A - Reporting events method and device - Google Patents

Reporting events method and device Download PDF

Info

Publication number
CN106775531A
CN106775531A CN201611175923.6A CN201611175923A CN106775531A CN 106775531 A CN106775531 A CN 106775531A CN 201611175923 A CN201611175923 A CN 201611175923A CN 106775531 A CN106775531 A CN 106775531A
Authority
CN
China
Prior art keywords
display screen
priority
display
vertical synchronization
electronic equipment
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.)
Withdrawn
Application number
CN201611175923.6A
Other languages
Chinese (zh)
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.)
Meizu Technology Co Ltd
Original Assignee
Meizu Technology Co Ltd
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 Meizu Technology Co Ltd filed Critical Meizu Technology Co Ltd
Priority to CN201611175923.6A priority Critical patent/CN106775531A/en
Publication of CN106775531A publication Critical patent/CN106775531A/en
Withdrawn legal-status Critical Current

Links

Classifications

    • 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
    • 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/147Digital output to display device ; Cooperation and interconnection of the display device with other functional units using display panels

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

A kind of reporting events method, is applied in the electronic equipment for include at least two display screens, and the method includes:If receiving TE interrupt requests, the priority of the display screen of the triggering TE interrupt requests is obtained;Two priority classes vertical synchronization reporting events according to the display screen to the electronic equipment display management system.The present invention also provides a kind of reporting events device.The present invention can avoid display screen from refreshing chaotic and display screen refreshing caused interim card problem not in time.

Description

Reporting events method and device
Technical field
The present invention relates to electronic technology field, and in particular to a kind of reporting events method and device.
Background technology
The meeting after the vertical synchronization event that electronic device system is reported is received of the display management system of electronic equipment The display screen of electronic equipment is refreshed.Specifically, if electronic equipment only includes a display screen, display screen is used for The integrated circuit of display can at regular intervals produce a TE signal according to refreshing frequency, trigger TE interrupt requests.If electronics The operating system of equipment receives the TE and interrupts interrupt requests, when the TE interrupt requests are processed, can report vertical synchronization vsync Event sends vertical synchronization event to the display management system of electronic equipment to the display management system of electronic equipment.Aobvious After showing that management system receives vertical synchronization event, can trigger and display screen UI is rendered, synthesize and send aobvious operation, so as to complete The refreshing of display screen.
However, under the multi-screen environment that electronic equipment includes multiple display screens, the collection of display to be used for due to each display screen All TE signals can be produced according to refreshing frequency into circuit, trigger TE interrupt requests.Then the operating system of electronic equipment can be same Time or different time receive multiple interrupt requests, if electronic equipment reports vertical synchronization when each interrupt requests is processed Event, frequently refreshing etc. refreshes chaotic problem will to cause display management system, and refreshing confusion consumes unnecessary system and provides Source and it is easily caused display entanglement.
In the prior art, under multi-screen environment, can by start a process come according to refreshing frequency every one timing Between produce and once interrupt, so as to report a vertical synchronization event at regular intervals.But, because process is easily operated System call influences, and when operating system is busy, the promptness of vertical synchronization reporting events can have problem, easily produces display The problem of interim card.
The content of the invention
In consideration of it, being necessary to provide a kind of reporting events method and device, display screen can be avoided from refreshing chaotic and display Screen refreshes caused interim card problem not in time.
The first aspect of the application provides a kind of reporting events method, is applied to include that the electronics of at least two display screens sets In standby, methods described includes:
If receiving TE interrupt requests, the priority of the display screen of the triggering TE interrupt requests is obtained;
Two priority classes vertical synchronization reporting events according to the display screen to the electronic equipment display management system System.
In alternatively possible implementation, the two priority classes vertical synchronization reporting events according to the display screen Display management system to the electronic equipment includes:
If the priority of the display screen is default limit priority, vertical synchronization event to the electronic equipment is reported Display management system;
If the priority of the display screen is not the default limit priority, according to higher than the display screen priority The current dispaly state of other display screens controls the vertical synchronization reporting events.
It is described current according to other display screens higher than the display screen priority in alternatively possible implementation The dispaly state control vertical synchronization reporting events include:
Judge that whether the display screen higher than the priority of the display screen is current all in preset state;
If the determination result is YES, the vertical synchronization event to the display management system of the electronic equipment is reported.
In alternatively possible implementation, methods described also includes:
If there is currently the display screen higher than the priority of the display screen is not at the preset state, do not report described Vertical synchronization event.
In alternatively possible implementation, the preset state includes closed mode and/or self-refresh state.
The second aspect of the application provides a kind of reporting events device, is applied to include that the electronics of at least two display screens sets In standby, described device includes:
Acquisition module, if for receiving TE interrupt requests, acquisition triggers the preferential of the display screen of the TE interrupt requests Level;
Control module, for the two priority classes vertical synchronization reporting events according to the display screen to the electronic equipment Display management system.
In alternatively possible implementation, the control module includes:
Reporting unit, if being default limit priority for the priority of the display screen, reports vertical synchronization event extremely The display management system of the electronic equipment;
Control unit, if not being the default limit priority for the priority of the display screen, according to more aobvious than described The current dispaly state of display screen priority other display screens high controls the vertical synchronization reporting events.
In alternatively possible implementation, described control unit, specifically for judging the priority than the display screen Whether display screen high is current all in preset state;
The reporting unit, if it is current all in preset state to be additionally operable to the display screen higher than the priority of the display screen When, report the vertical synchronization event to the display management system of the electronic equipment.
In alternatively possible implementation, the control module also includes:
Holding unit, if be additionally operable to there is currently the display screen higher than the priority of the display screen be not at it is described default State, the vertical synchronization event is not reported.
In alternatively possible implementation, the preset state includes closed mode and/or self-refresh state.
If the embodiment of the present invention triggers the excellent of the display screen of the TE interrupt requests by receiving TE interrupt requests, acquisition First level;Two priority classes vertical synchronization reporting events according to the display screen to the electronic equipment display management system. After receiving TE interrupt requests, the priority of the display screen for triggering the interrupt requests is obtained, made with the priority of display screen On the basis of control vertical synchronization reporting events to electronic equipment display management system.So that including at least two display screens In electronic equipment, report vertical synchronization event to have and report benchmark, without in the TE interrupt requests that trigger each display screen Report, so as to refreshing will not be produced chaotic.Meanwhile, vertical synchronization event is reported not over launching process, therefore will not also receive To system call influence, interim card problem caused by refreshing not in time due to display screen will not be produced.
Brief description of the drawings
Technical scheme in order to illustrate more clearly the embodiments of the present invention, embodiment will be described below needed for be used Accompanying drawing is briefly described, it should be apparent that, drawings in the following description are some embodiments of the present invention, general for this area For logical technical staff, on the premise of not paying creative work, other accompanying drawings can also be obtained according to these accompanying drawings.
Fig. 1 is a kind of flow chart of reporting events method that the embodiment of the present invention one is provided;
Fig. 2 is a kind of flow chart of reporting events method that the embodiment of the present invention two is provided;
Fig. 3 is a kind of structure chart of reporting events device that the embodiment of the present invention three is provided;
Fig. 4 is a kind of structure chart of reporting events device that the embodiment of the present invention four is provided;
Fig. 5 present invention realizes the structural representation of the electronic equipment of the preferred embodiment of reporting events method.
Following specific embodiment will further illustrate the present invention with reference to above-mentioned accompanying drawing.
Specific embodiment
It is below in conjunction with the accompanying drawings and specific real in order to be more clearly understood that the above objects, features and advantages of the present invention The present invention will be described in detail to apply example.It should be noted that in the case where not conflicting, embodiments herein and embodiment In feature can be mutually combined.
Many details are elaborated in the following description in order to fully understand the present invention, and described embodiment is only Only it is a part of embodiment of the invention, rather than whole embodiments.Based on the embodiment in the present invention, ordinary skill The every other embodiment that personnel are obtained under the premise of creative work is not made, belongs to the scope of protection of the invention.
Unless otherwise defined, all of technologies and scientific terms used here by the article with belong to technical field of the invention The implication that technical staff is generally understood that is identical.The term for being used in the description of the invention herein is intended merely to description tool The purpose of the embodiment of body, it is not intended that in the limitation present invention.
Embodiment one
Fig. 1 is the schematic flow diagram of the reporting events method that the embodiment of the present invention one is provided.As shown in figure 1, reporting events Method may include following steps:
S101:If receiving TE interrupt requests, the priority of the display screen of the triggering TE interrupt requests is obtained.
Reporting events method proposed by the present invention is applied in electronic equipment, the electronic equipment can for multi-screen mobile phone, The electronic equipment including at least two display screens such as double screen flat board.Meanwhile, if only one of which display screen when electronic equipment dispatches from the factory, then After a secondary external display screen, constitute comprising two electronic equipments of display screen, the side of present invention offer is provided Method.
The executive agent of the inventive method is electronic equipment, specifically, can be the operating system in electronic equipment.
When display screen is shown, the IC (Integrated circuit, integrated circuit) of display screen can produce TE (tearing effect) signal.When above-mentioned TE signals are that display screen is in certain working condition, by the TE on the IC of display screen The signal of pin output, its effect is in order that display screen is synchronous when writing data with brush data.Then, the AP of electronic equipment (application processor, application processor) is processed according to the TE signals for receiving, and produces TE interrupt requests.
The operating system of electronic equipment can process interrupt requests, if operating system receives TE interrupt requests, obtain and touch The priority of the display screen for sending out TE interrupt requests described.
The priority can be default priority, i.e., in advance for each display screen sets priority.It is described preferential Level can also be in running, the priority of operating system setting automatically.
Specifically, priority can be determined according to the attribute of display screen, for example, the parameter according to display screen is carried out really It is fixed.Meanwhile, priority can also determine according to the usage frequency of user and material information.
When operating system sets priority automatically, metastable priority can be determined in Preset Time, that is, existed In the Preset Time, the priority between display screen is stablized relatively, does not change.
S102:Two priority classes vertical synchronization reporting events according to the display screen to the electronic equipment display tube Reason system.
The purpose of the above-mentioned display management system by vertical synchronization reporting events to electronic equipment is to make display management system After receiving vertical synchronization event, UI is rendered, synthesize and is sent it is aobvious, make video card output frame number and screen vertical refreshing rate phase Together.
After the priority of display screen of triggering TE interrupt requests is got, the two priority classes according to the display screen are vertical Synchronous event reports to the display management system of electronic equipment.Above-mentioned display management system is referred to as display system, and being can For being controlled the software systems with management to display.
Specifically, can be controlled according to the height of the priority of the display screen of triggering TE interrupt requests.Such as, only should Just by the display management system of vertical synchronization reporting events to electronic equipment when the priority of display screen meets pre-conditioned.
If the embodiment of the present invention one obtains the display screen of the triggering TE interrupt requests by receiving TE interrupt requests Priority;Two priority classes vertical synchronization reporting events according to the display screen to the electronic equipment display management system System.After receiving TE interrupt requests, the priority of the display screen for triggering the interrupt requests is obtained, with the priority of display screen Vertical synchronization reporting events to the display management system of electronic equipment are controlled as benchmark.So that including at least two display screens Electronic equipment in, report vertical synchronization event to have and report benchmark, without the TE interrupt requests for triggering each display screen Report, so as to refreshing will not be produced chaotic.Meanwhile, vertical synchronization event is reported not over launching process, therefore also will not Influenceed by system call, interim card problem caused by refreshing not in time due to display screen will not be produced.
Embodiment two
Fig. 2 is the schematic flow diagram of the reporting events method that the embodiment of the present invention two is provided.As shown in Fig. 2 reporting events Method may include following steps:
S201:If receiving TE interrupt requests, the priority of the display screen of the triggering TE interrupt requests is obtained.
Step S201 is consistent with step S101 in embodiment one in the present embodiment, specifically refers to step in embodiment one The associated description of S101, does not repeat herein.
S202:If the priority of the display screen is default limit priority, vertical synchronization event to the electronics is reported The display management system of equipment.
After the priority of display screen of triggering TE interrupt requests is got, whether the priority for judging the display screen is pre- If limit priority, if default limit priority, then report vertical synchronization event to the display management system of electronic equipment.
The purpose of the above-mentioned display management system by vertical synchronization reporting events to electronic equipment is that display management system connects After receiving vertical synchronization event, UI is rendered, synthesize and is sent it is aobvious, make video card output frame number and screen vertical refreshing rate phase Together.
Above-mentioned display management system is referred to as display system, can be used for display be controlled with management it is soft Part system.
For example, if electronic equipment includes A display screens, B display screens and C display screens, the priority of A display screens is default highest Priority.After A display screens produce TE signals, triggering TE to interrupt, if the priority for getting the A display screens that triggering TE is interrupted is Default limit priority, then process the interrupt requests, by the display management system of vertical synchronization reporting events to electronic equipment.
S203:If the priority of the display screen is not the default limit priority, according to more preferential than the display screen The current dispaly state of level other display screens high controls the vertical synchronization reporting events.
Above-mentioned other display screens higher than the display screen priority refer to all displays included in the electronic equipment In screen, all display screens higher than the display screen priority.
If for example, electronic equipment includes A display screens, B display screens and C display screens.When B display screens produce TE signals, triggering After TE is interrupted, the priority of B display screens is obtained, it is now aobvious according to A if the priority of B display screens is not default limit priority The dispaly state control vertical synchronization reporting events of display screen and C display screens.
Further, the step S203 is according to the current display shape of other display screens higher than the display screen priority The state control vertical synchronization reporting events include:
Judge that whether the display screen higher than the priority of the display screen is current all in preset state.
Whether above-mentioned judgement step is specifically to judge the display screen higher than the priority of the display screen of triggering TE interrupt requests All in preset state.
Further, the preset state includes closed mode and/or self-refresh state.
Above-mentioned closed mode, also referred to as power off states, when display screen is closed, identify the display screen It is not on working condition.When certain display screen is not at working condition, it is not necessary to which the display screen to the closed mode is brushed Newly.If display screen does not need display management system to be refreshed, display screen will not also trigger TE interruptions.
Above-mentioned self-refresh state, also referred to as idle states.When display screen is in self-refresh state, without display management system What system carried out UI to it renders, synthesizes and send aobvious operation.
If the determination result is YES, the vertical synchronization event to the display management system of the electronic equipment is reported.
When the priority of the display screen than triggering TE interrupt requests display screen high is all in preset state, mark does not have The display screen higher than the priority for triggering the display screen of TE interrupt requests can trigger TE and interrupt, and now trigger the aobvious of TE interrupt requests The priority of display screen is to be currently needed for highest priority in the display screen of refreshing.Therefore, receive the display screen triggering in After disconnected request, vertical synchronization event is reported.
If judged result is no, even there is currently the display screen higher than the priority of the display screen be not at it is described pre- If state, the vertical synchronization event is not reported.
When there is the display screen higher than triggering the priority of the display screen of TE interrupt requests in preset state, do not report Vertical synchronization event.
In such scheme, all the time to be currently needed for sending among aobvious display screen, on the basis of the display screen of highest priority, Only receive be currently needed for sending aobvious display screen among highest priority display screen triggering TE interrupt requests when, just report Vertical synchronization event.
If for example, electronic equipment includes A display screens, B display screens and C display screens.Wherein, three priority of display screen from High to Low to be followed successively by A display screens, B display screens, C display screens, the i.e. highest priority of A display screens, the priority of C display screens is most It is low.After B display screens produce TE signals, triggering TE to interrupt, the priority of B display screens is obtained, if the priority of B display screens is not Default limit priority, then judge whether the A display screen higher than the priority of B display screen is closed mode or self-refresh state. If A display screens are closed mode or self-refresh, the TE interrupt requests of the triggering of B display screens are responded, report vertical synchronization event. If A display screens need to send aobvious state for normal work, the TE interrupt requests of B display screens triggering are now not responding to, do not reported Vertical synchronization event.
The present embodiment two is by obtaining the priority of the display screen of triggering TE interrupt requests and aobvious to be currently needed for sending all the time Display screen among, on the basis of the display screen of highest priority, only receive be currently needed for sending aobvious display screen among it is preferential During the TE interrupt requests of level highest display screen triggering, vertical synchronization event is just reported.Without the TE for triggering each display screen Interrupt requests are all reported, so as to refreshing will not be produced chaotic.Meanwhile, vertical synchronization event is reported not over launching process, Therefore will not also be influenceed by system call, interim card problem caused by refreshing not in time due to display screen will not be produced.
Above is the detailed description carried out to method provided by the present invention.According to different demands, in shown flow chart The execution sequence of square can change, and some squares can be omitted, and the method for reporting events can also be in above-mentioned reporting events side It is selective in method to be applied in combination, or used with other above-mentioned NM reporting events Combination of Methods.Below to the present invention The device for being provided is described.
Embodiment three
Fig. 3 is the structure chart of the reporting events device that the embodiment of the present invention three is provided, as shown in figure 3, reporting events device Can include:Acquisition module 310, control module 320.
Acquisition module 310, if for receiving TE interrupt requests, acquisition triggers the excellent of the display screen of the TE interrupt requests First level.
Reporting events device proposed by the present invention is applied in the electronic equipment comprising at least two display screens, the electronics Equipment is specifically as follows the electronic equipments including at least two display screens such as multi-screen mobile phone, double screen flat board.Meanwhile, if electronic equipment Only one of which display screen when dispatching from the factory, again after an external display screen, constitutes comprising two electronic equipments of display screen, also together Sample is applied to the device that the present invention is provided.
When display screen is shown, the IC (Integrated circuit, integrated circuit) of display screen can produce TE (tearing effect) signal.When above-mentioned TE signals are that display screen is in certain working condition, by the TE on the IC of display screen The signal of pin output, its effect is in order that display screen is synchronous when writing data with brush data.Then, the AP of electronic equipment (application processor, application processor) is processed according to the TE signals for receiving, and produces TE interrupt requests.
If acquisition module 310 receives TE interrupt requests, acquisition module 310 obtains the display of the triggering TE interrupt requests The priority of screen.
The priority can be default priority, i.e., in advance for each display screen sets priority.It is described preferential Level can also be in running, the priority of operating system setting automatically.
Specifically, priority can be determined according to the attribute of display screen, for example, the parameter according to display screen is carried out really It is fixed.Meanwhile, priority can also determine according to the usage frequency of user and material information.
When automatic setting priority, metastable priority can be determined in Preset Time, i.e., when this is default Interior, the priority between display screen is stablized relatively, does not change.
Control module 320, for the two priority classes vertical synchronization reporting events according to the display screen to the electronics The display management system of equipment.
The purpose of the above-mentioned display management system by vertical synchronization reporting events to electronic equipment is to make display management system After receiving vertical synchronization event, UI is rendered, synthesize and is sent it is aobvious, make video card output frame number and screen vertical refreshing rate phase Together.
After the priority of display screen of triggering TE interrupt requests is got, control module 320 is according to the excellent of the display screen First level controls vertical synchronization reporting events to the display management system of electronic equipment.Above-mentioned display management system is referred to as showing Show system, can be used for being controlled display the software systems with management.
Specifically, can be controlled according to the height of the priority of the display screen of triggering TE interrupt requests.Such as, only should Just by the display management system of vertical synchronization reporting events to electronic equipment when the priority of display screen meets pre-conditioned.
If the embodiment of the present invention three obtains the display screen of the triggering TE interrupt requests by receiving TE interrupt requests Priority;Two priority classes vertical synchronization reporting events according to the display screen to the electronic equipment display management system System.After receiving TE interrupt requests, the priority of the display screen for triggering the interrupt requests is obtained, with the priority of display screen Vertical synchronization reporting events to the display management system of electronic equipment are controlled as benchmark.So that including at least two display screens Electronic equipment in, report vertical synchronization event to have and report benchmark, without the TE interrupt requests for triggering each display screen Report, so as to refreshing will not be produced chaotic.Meanwhile, vertical synchronization event is reported not over launching process, therefore also will not Influenceed by system call, interim card problem caused by refreshing not in time due to display screen will not be produced.
Example IV
Fig. 4 is the structure chart of the reporting events device that the embodiment of the present invention four is provided, as shown in figure 4, reporting events device Can include:Acquisition module 310, control module 320, wherein control module 320 include reporting unit 321, the and of control unit 322 Holding unit 323.
Acquisition module 310, if for receiving TE interrupt requests, acquisition triggers the excellent of the display screen of the TE interrupt requests First level.
Acquisition module 310 is consistent with acquisition module in example IV 310 in the present embodiment, in specifically referring to embodiment three The associated description of acquisition module 310, does not repeat herein.
Control module 320, for the two priority classes vertical synchronization reporting events according to the display screen to the electronics The display management system of equipment.
Wherein, control module 320 includes reporting unit 321, control unit 322 and holding unit 323.
Reporting unit 321, if being default limit priority for the priority of the display screen, reports vertical synchronization event To the display management system of the electronic equipment.
After the priority of display screen of triggering TE interrupt requests is got, whether the priority for judging the display screen is pre- If limit priority, if default limit priority, reporting unit 321 reports vertical synchronization event to the display tube of electronic equipment Reason system.
The purpose of the above-mentioned display management system by vertical synchronization reporting events to electronic equipment is that display management system connects After receiving vertical synchronization event, UI is rendered, synthesize and is sent it is aobvious, make video card output frame number and screen vertical refreshing rate phase Together.
Above-mentioned display management system is referred to as display system, can be used for display be controlled with management it is soft Part system.
For example, if electronic equipment includes A display screens, B display screens and C display screens, the priority of A display screens is default highest Priority.After A display screens produce TE signals, triggering TE to interrupt, if acquisition module 310 obtains the A display screens that triggering TE is interrupted , if the priority of A display screens is default limit priority, reporting unit 321 sets vertical synchronization reporting events to electronics Standby display management system.
Control unit 322, if being not the default limit priority for the priority of the display screen, according to than described The current dispaly state of display screen priority other display screens high controls the vertical synchronization reporting events.
Above-mentioned other display screens higher than the display screen priority refer to all displays included in the electronic equipment In screen, all display screens higher than the display screen priority.
If for example, electronic equipment includes A display screens, B display screens and C display screens.When B display screens produce TE signals, triggering After TE is interrupted, acquisition module 310 obtains the priority of B display screens, if the priority of B display screens is not default limit priority, Now control unit 322 controls vertical synchronization reporting events according to the dispaly state of A display screens and C display screens.
Described control unit 322, specifically for judging that whether the display screen higher than the priority of the display screen be current all In preset state.
The reporting unit 321, if it is current all in default to be additionally operable to the display screen higher than the priority of the display screen During state, the vertical synchronization event to the display management system of the electronic equipment is reported.
When control unit 322 is judged, specifically, judging that the priority of the display screen than triggering TE interrupt requests is high Whether display screen is all in preset state.
When the priority of the display screen than triggering TE interrupt requests display screen high is all in preset state, mark does not have The display screen higher than the priority for triggering the display screen of TE interrupt requests can trigger TE and interrupt, and now trigger the aobvious of TE interrupt requests The priority of display screen is to be currently needed for highest priority in the display screen of refreshing.Therefore, receive the display screen triggering in After disconnected request, reporting unit 321 reports vertical synchronization event.
Further, the preset state includes closed mode and/or self-refresh state.
Above-mentioned closed mode, also referred to as power off states, when display screen is closed, identify the display screen It is not on working condition.When certain display screen is not at working condition, it is not necessary to which the display screen to the closed mode is brushed Newly.If display screen does not need display management system to be refreshed, display screen will not also trigger TE interruptions.
Above-mentioned self-refresh state, also referred to as idle states.When display screen is in self-refresh state, without display management system What system carried out UI to it renders, synthesizes and send aobvious operation.
Holding unit 323, if be additionally operable to there is currently the display screen higher than the priority of the display screen be not at it is described Preset state, the vertical synchronization event is not reported.
When there is the display screen higher than triggering the priority of the display screen of TE interrupt requests in preset state, keep single Unit 323 keeps current state, does not carry out reporting the operation of vertical synchronization event.
In such scheme, all the time to be currently needed for sending among aobvious display screen, on the basis of the display screen of highest priority, Only receive be currently needed for sending aobvious display screen among highest priority display screen triggering TE interrupt requests when, just report Vertical synchronization event.
If for example, electronic equipment includes A display screens, B display screens and C display screens.Wherein, three priority of display screen from High to Low to be followed successively by A display screens, B display screens, C display screens, the i.e. highest priority of A display screens, the priority of C display screens is most It is low.After B display screens produce TE signals, triggering TE to interrupt, acquisition module 310 obtains the priority of B display screens, if B display screens Priority be not default limit priority, then whether control unit 322 judges the A display screen higher than the priority of B display screen It is closed mode or self-refresh state.If A display screens are closed mode or self-refresh, reporting unit 321 reports vertical synchronization Event.If A display screens need to send aobvious state for normal work, now holding unit 323 keeps current state, does not carry out Report the operation of vertical synchronization event.
The present embodiment four is by obtaining the priority of the display screen of triggering TE interrupt requests and aobvious to be currently needed for sending all the time Display screen among, on the basis of the display screen of highest priority, only receive be currently needed for sending aobvious display screen among it is preferential During the TE interrupt requests of level highest display screen triggering, vertical synchronization event is just reported.Without the TE for triggering each display screen Interrupt requests are all reported, so as to refreshing will not be produced chaotic.Meanwhile, vertical synchronization event is reported not over launching process, Therefore will not also be influenceed by system call, interim card problem caused by refreshing not in time due to display screen will not be produced.
Embodiment five
Fig. 5 is refer to, Fig. 5 is the structural representation of the electronic equipment of the preferred embodiment that the present invention realizes reporting events method Figure.
The electronic equipment 50 be it is a kind of can according to the instruction being previously set or store, carry out automatically numerical computations and/ Or the equipment of information processing, its hardware includes but is not limited to microprocessor, application specific integrated circuit (Application Specific Integrated Circuit, ASIC), programmable gate array (Field-Programmable Gate Array, FPGA), number Word processing device (Digital Signal Processor, DSP), embedded device etc..
The electronic equipment 50 may be, but not limited to, any one can with user by keyboard, mouse, remote control, touch The mode such as template or voice-operated device carries out the electronic product of man-machine interaction, for example, panel computer, smart mobile phone, individual digital are helped Reason (Personal Digital Assistant, PDA), intellectual Wearable etc..
Network residing for the electronic equipment 50 includes, but are not limited to internet, wide area network, Metropolitan Area Network (MAN), LAN, virtual Dedicated network (Virtual Private Network, VPN) etc..
The electronic equipment 50 includes at least one dispensing device 51, the treatment of at least one storage device 52, at least one Equipment 53, at least one reception device 54, at least one display device 55 and at least one communication bus.Wherein, it is described logical Letter bus is used to realize the connection communication between these components.
Wherein, the reception device 54 and the dispensing device 51 can be wired sending ports, or wirelessly set It is standby, such as including antenna assembly, for entering row data communication with other equipment.
The processing equipment 53 can include one or more microprocessor, digital processing unit.
The storage device 52 is used to store the program code of each program segment in reporting events device.The storage device 52 can be smart media card (smart media card), safe digital card (secure digital card), flash The storage facilities such as device card (flash card).
Preferably, reporting events method of the invention by the electronic equipment 50 store reporting events device come reality It is existing.
If the reporting events device obtains the display screen of the triggering TE interrupt requests by receiving TE interrupt requests Priority;Two priority classes vertical synchronization reporting events according to the display screen to the electronic equipment display management system System.After receiving TE interrupt requests, the priority of the display screen for triggering the interrupt requests is obtained, with the priority of display screen Vertical synchronization reporting events to the display management system of electronic equipment are controlled as benchmark.So that including at least two display screens Electronic equipment in, report vertical synchronization event to have and report benchmark, without the TE interrupt requests for triggering each display screen Report, so as to refreshing will not be produced chaotic.Meanwhile, vertical synchronization event is reported not over launching process, therefore also will not Influenceed by system call, interim card problem caused by refreshing not in time due to display screen will not be produced.
The display device 55 can be touch-screen etc. other be used for display picture equipment.
In several embodiments provided by the present invention, it should be understood that disclosed method, device and unit, also may be used To realize by another way.For example, device embodiment described above is only schematical, for example, the unit Division, only a kind of division of logic function can have other dividing mode when actually realizing.
It is obvious to a person skilled in the art that the invention is not restricted to the details of above-mentioned one exemplary embodiment, Er Qie In the case of without departing substantially from spirit or essential attributes of the invention, the present invention can be in other specific forms realized.Therefore, no matter From the point of view of which point, embodiment all should be regarded as exemplary, and be nonrestrictive, the scope of the present invention is by appended power Profit requires to be limited rather than described above, it is intended that all in the implication and scope of the equivalency of claim by falling Change is included in the present invention.Any reference in claim should not be considered as the claim involved by limitation.This Outward, it is clear that " including " word is not excluded for other units or step, odd number is not excluded for plural number.The multiple stated in device claim Device can also be realized by same device or system by software or hardware.The first, the second grade word is used for representing name Claim, and be not offered as any specific order.
Finally it should be noted that the above embodiments are merely illustrative of the technical solutions of the present invention and it is unrestricted, although reference Preferred embodiment has been described in detail to the present invention, it will be understood by those within the art that, can be to of the invention Technical scheme is modified or equivalent, without deviating from the spirit and scope of technical solution of the present invention.

Claims (10)

1. a kind of reporting events method, is applied in the electronic equipment for include at least two display screens, it is characterised in that the side Method includes:
If receiving TE interrupt requests, the priority of the display screen of the triggering TE interrupt requests is obtained;
Two priority classes vertical synchronization reporting events according to the display screen to the electronic equipment display management system.
2. the method for claim 1, it is characterised in that the two priority classes vertical synchronization according to the display screen Reporting events to the display management system of the electronic equipment includes:
If the priority of the display screen is default limit priority, vertical synchronization event to the display of the electronic equipment is reported Management system;
If the priority of the display screen is not the default limit priority, according to other higher than the display screen priority The current dispaly state of display screen controls the vertical synchronization reporting events.
3. method as claimed in claim 2, it is characterised in that described according to other displays higher than the display screen priority The current dispaly state control vertical synchronization reporting events of screen include:
Judge that whether the display screen higher than the priority of the display screen is current all in preset state;
If the determination result is YES, the vertical synchronization event to the display management system of the electronic equipment is reported.
4. method as claimed in claim 3, it is characterised in that methods described also includes:
If there is currently the display screen higher than the priority of the display screen is not at the preset state, do not report described vertical Synchronous event.
5. the method as described in claim 3 or 4, it is characterised in that the preset state includes closed mode and/or self-refresh State.
6. a kind of reporting events device, is applied in the electronic equipment for include at least two display screens, it is characterised in that the dress Put including:
Acquisition module, if for receiving TE interrupt requests, obtaining the priority of the display screen of the triggering TE interrupt requests;
Control module, for the aobvious of the two priority classes vertical synchronization reporting events according to the display screen to the electronic equipment Show management system.
7. device as claimed in claim 6, it is characterised in that the control module includes:
Reporting unit, if being default limit priority for the priority of the display screen, reports vertical synchronization event to described The display management system of electronic equipment;
Control unit, if being not the default limit priority for the priority of the display screen, according to than the display screen The current dispaly state of priority other display screens high controls the vertical synchronization reporting events.
8. device as claimed in claim 7, it is characterised in that described control unit, specifically for judging than the display screen Priority display screen high it is current whether all in preset state;
The reporting unit, if be additionally operable to the display screen higher than the priority of the display screen it is current all in preset state when, Report the vertical synchronization event to the display management system of the electronic equipment.
9. device as claimed in claim 8, it is characterised in that the control module also includes:
Holding unit, the default shape is not at if being additionally operable to there is currently the display screen higher than the priority of the display screen State, the vertical synchronization event is not reported.
10. device as claimed in claim 8 or 9, it is characterised in that the preset state includes closed mode and/or from brushing New state.
CN201611175923.6A 2016-12-19 2016-12-19 Reporting events method and device Withdrawn CN106775531A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611175923.6A CN106775531A (en) 2016-12-19 2016-12-19 Reporting events method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611175923.6A CN106775531A (en) 2016-12-19 2016-12-19 Reporting events method and device

Publications (1)

Publication Number Publication Date
CN106775531A true CN106775531A (en) 2017-05-31

Family

ID=58891200

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611175923.6A Withdrawn CN106775531A (en) 2016-12-19 2016-12-19 Reporting events method and device

Country Status (1)

Country Link
CN (1) CN106775531A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103377638A (en) * 2012-04-28 2013-10-30 华为技术有限公司 Method and device for rapid signal response
US20150194114A1 (en) * 2014-01-08 2015-07-09 Samsung Electronics Co., Ltd. Semiconductor device and method for controlling the same
CN105389144A (en) * 2014-08-25 2016-03-09 三星电子株式会社 Host and multi-display system including the same
US20160239249A1 (en) * 2015-02-12 2016-08-18 Samsung Electronics Co., Ltd. Multi-display device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103377638A (en) * 2012-04-28 2013-10-30 华为技术有限公司 Method and device for rapid signal response
US20150194114A1 (en) * 2014-01-08 2015-07-09 Samsung Electronics Co., Ltd. Semiconductor device and method for controlling the same
CN105389144A (en) * 2014-08-25 2016-03-09 三星电子株式会社 Host and multi-display system including the same
US20160239249A1 (en) * 2015-02-12 2016-08-18 Samsung Electronics Co., Ltd. Multi-display device

Similar Documents

Publication Publication Date Title
CN106921798A (en) The processing method and processing device of notification message
CN109076125A (en) A kind of display methods and equipment
EP3142304A1 (en) Synchronization method for notification message of electronic device, server and electronic device
EP3133481B1 (en) Terminal device display method and terminal device
EP3142336A1 (en) Synchronization method for notification message of electronic device, and electronic device
CN107180186A (en) Authority configuring method, control method, device and the mobile terminal of application program
KR20200102491A (en) User interface display method, apparatus and device
CN106774789A (en) Method for information display and device
CN107219983A (en) List display method and device
CN107329721A (en) Display methods, electronic equipment and computer-readable recording medium
CN110708426A (en) Double-screen synchronous display method and device, server and storage medium
CN101251993B (en) Method and device for supervising multiple screens
CN112862198A (en) Cleaning path acquisition method and device for cleaning equipment and storage medium
CN110147186A (en) A kind of control method and terminal device of application
CN114115673B (en) Control method of vehicle-mounted screen
CN110290058A (en) A kind of method and apparatus that conversation message being presented in the application
CN108595481A (en) A kind of notification message display methods and terminal device
CN108401453A (en) A kind of method, apparatus and intelligent terminal of control display screen
CN103870113B (en) Information processing method and electronic equipment
CN106648501A (en) Information display method and device
CN107197455A (en) terminal control method, device, mobile terminal and storage medium
CN112269513A (en) Interface display method and device and electronic equipment
CN106775531A (en) Reporting events method and device
CN104571791A (en) Information processing method and electronic equipment
CN115674198A (en) Method, device, equipment and storage medium for deploying robot

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
WW01 Invention patent application withdrawn after publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20170531