CN102565480B - The multi-window display method of testing apparatus - Google Patents

The multi-window display method of testing apparatus Download PDF

Info

Publication number
CN102565480B
CN102565480B CN201010617589.1A CN201010617589A CN102565480B CN 102565480 B CN102565480 B CN 102565480B CN 201010617589 A CN201010617589 A CN 201010617589A CN 102565480 B CN102565480 B CN 102565480B
Authority
CN
China
Prior art keywords
window
message
process steps
display message
display
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.)
Active
Application number
CN201010617589.1A
Other languages
Chinese (zh)
Other versions
CN102565480A (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.)
Rigol Technologies Inc
Original Assignee
Rigol Technologies Inc
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 Rigol Technologies Inc filed Critical Rigol Technologies Inc
Priority to CN201010617589.1A priority Critical patent/CN102565480B/en
Publication of CN102565480A publication Critical patent/CN102565480A/en
Application granted granted Critical
Publication of CN102565480B publication Critical patent/CN102565480B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Controls And Circuits For Display Device (AREA)
  • Digital Computer Display Output (AREA)

Abstract

The invention provides a kind of multi-window display method of testing apparatus, described testing apparatus is according to the multiple key assignments information inputted and current state, parse window display message and sequentially preserve corresponding window display message, and show multiple window accordingly, there are two process steps: the first process steps: from the window display message of described preservation, sequentially obtain window display message, and show corresponding window accordingly; Second process steps: to described key assignments information sensing, first hangs up the first described process steps, then sequentially preserves the window display message corresponding to described key assignments information.Present invention saves the unnecessary refreshing to window, save time and resource, only vicissitudinous window is refreshed, do not have vicissitudinous window not refresh.Each window carries out order according to the priority of press key message and refreshes, and makes refreshing timely and effective, there will not be and refresh chaotic phenomenon.

Description

The multi-window display method of testing apparatus
Technical field
The present invention relates to electric variable field tests, particularly relate to the multi-window display method of testing apparatus.
Background technology
Along with the development of digital technology, the function of various digital test equipment and index are also in increase and improve, therefore, the function of digital test equipment is also more and more diversified, along with the increase of function, the content that testing apparatus display interface shows is also just more and more, and therefore on the display interface of testing apparatus, have many display windows, these display windows receive the message of the button of testing apparatus and constantly refresh.The refreshing management method of traditional testing apparatus to the display interface with multiple display window is as follows: the video card itself due to testing apparatus has 5 memory headrooms, so these 5 memory headrooms are assigned to 5 different display layers, each display layer there is multiple display window, when the some display windows on certain one deck need to refresh, it is not the display window only refreshing the refreshing of these needs, but by whole for the display layer at this display window place refreshing one time, such consequence is, the display window refreshed is not needed to be refreshed one time yet, when the press key message of testing apparatus is many, such refreshing mode speed is too slow, be not suitable with the user demand of user to testing apparatus.
With reference to Fig. 1, have display window A, display window B and display window C in display layer D, only need to refresh display window A if current, whole display layer D can refresh by testing apparatus.Display window A namely in display layer D, display window B and display window C will refresh one time again.This just causes local change among a small circle, causes whole all must carrying out to refresh the consequence redrawn on a large scale, wastes time and resource.
Summary of the invention
Technical matters to be solved by this invention is, only refreshes the display window needing to upgrade, and makes each need the display window refreshed to refresh according to the sequencing of press key message, refreshes promptly and accurately, saves time and resource.
Solve the problems of the technologies described above, the invention provides a kind of multi-window display method of testing apparatus, described testing apparatus, according to multiple key assignments information of input, sequentially preserves corresponding window display message, and show multiple window accordingly, it is characterized in that: there are two process steps:
First process steps: from the window display message of described preservation, sequentially obtain window display message, and show corresponding window accordingly;
Second process steps: to described key assignments information sensing, first hangs up the first described process steps, then sequentially preserves the window display message corresponding to described key assignments information.
In one embodiment of the invention, described second process steps comprises: when the first process steps described in hanging up, interrupt the first process steps, and record returns to return position when continuing execution the first process steps.
In one embodiment of the invention, the second described process steps comprises: when sequentially preserving the display of the window corresponding to described key assignments information message, records this window display message and the annexation being close to the window preserved and showing message.
In one embodiment of the invention, the second described process steps comprises: when sequentially preserving the display of the window corresponding to described key assignments information message, in described window display message, before record, the window of next-door neighbour shows the preservation address of message, be close in the described window display message of preservation before described, record the preservation address of the window display message corresponding to described key assignments information.
In one embodiment of the invention, execute described second process steps, and when there is no new described key assignments information, according to the return position of the first described process steps, continue the first process steps described in performing.
In one embodiment of the invention, the first described process steps comprises: show the corresponding identical window of message in the described window display message got with the window that next-door neighbour preserves, and type of message identical time, only according to one of them window display message, the window that display is corresponding.
In one embodiment of the invention, the first described process steps comprises: show the corresponding identical window of message in the described window display message got with the window that next-door neighbour preserves, and type of message identical time, and when also comprising the status information of a merging display, only according to one of them window display message, the window that display is corresponding.
In one embodiment of the invention, the first described process steps comprises: the described window display message got with before be close to preservation window show the corresponding identical window of message, and type of message identical time, sequentially redirect obtains the window display message of next corresponding different windows, and the window that display is corresponding.
In one embodiment of the invention, the first described process steps comprises: the described window display message got with before be close to preservation window show the corresponding uniform window of message, and type of message identical time, and described before next-door neighbour preserve window display message comprise described merge display status information time, sequentially redirect obtains the window display message of next corresponding different windows, and the window that display is corresponding.
The present invention at least has following beneficial effect:
1, save unnecessary refreshing, save time and resource, only vicissitudinous display window is refreshed, do not have vicissitudinous display window not refresh.
2, each display window carries out order refreshing according to the priority of press key message, make refreshing timely and effective, especially when twisting testing apparatus button, due to multiple message can be sent while twisting, adopt multi-window display method of the present invention that multiwindow is refreshed according to the order of sequence, there will not be and refresh chaotic phenomenon.
Accompanying drawing explanation
Fig. 1 is the schematic diagram of a testing apparatus display interface
Fig. 2 is the first process steps process flow diagram 1 of one embodiment of the invention
Fig. 3 is the second process steps process flow diagram 2 of one embodiment of the invention
Embodiment
Embodiments of the invention are further illustrated below in conjunction with accompanying drawing.
In an embodiment of the present invention, system is respective independently memory headroom for each display interface and display window are assigned with, above-mentioned display interface and display window are all called window by us below, testing apparatus can carry out initialization to window when opening, initialized main task is exactly to each attribute assignment of window, and opens up message pool memory headroom.Wherein the attribute of window comprises: window memory pointer, window level number, the window's position, window width and window height etc.
The testing apparatus of the present embodiment, according to multiple key assignments information of input, is sequentially preserved corresponding window display message, and is shown multiple window accordingly, have two process steps:
With reference to Fig. 2, the first process steps is from the window display message of described preservation, sequentially obtains window display message, and shows corresponding window accordingly.
Wherein, S11 step, first judges whether window display message number is zero;
If be zero, then perform S19 step, terminate;
If window display message number is non-vanishing, then illustrates now there is pending window display message, perform S12 step, judge that whether adjacent window display message is identical, if different, perform S16 step;
If identical, perform S13 step, judge that adjacent and identical window display message is the need of merging, if do not need to merge, performs step S16;
If need to merge, perform step S14, window is shown the window display message count that message count deducts merging, specifically window is shown the number that message number deducts adjacent uniform window display message and add 1 again;
Perform step S15, merge window display message, particularly delete N-1 in N number of adjacent identical window display message;
Perform step S16, according to window display message, display window;
Perform step S17, window display message count subtracts 1;
Perform step S18, judge whether window display message count is 0, when being 0, performs step S19, terminates;
When window display message is not 0, returns and perform S12 step.
With reference to Fig. 3, the second process steps is when testing apparatus receives a key assignments information again, first hangs up the first described process steps, then sequentially preserves the window display message corresponding to described key assignments information.
Wherein, step S21, receives a key assignments information;
Step S22, confirms the window that need refresh and the window display message that need refresh;
As an example, during the key assignments information of step S22 in analyzing step S21, also will according to the current state of testing apparatus, such as common testing apparatus digital oscilloscope, an identical button W, under the state of selector channel 1, the W that pushes button resolves key assignments information now, and the window obtained display message opens certain window, and under the state selecting Math, the W that pushes button resolves key assignments information now, and the window obtained display message opens another one window.
Step S23, judges whether current window display message count is 0,
If current window display message count is 0, perform step S24, the window display message that need refresh is preserved as message header;
If current window display message count is not 0, perform step S25, sequentially preserve the window display message that need refresh;
Wherein, the window display message that described preservation need refresh refers to that the content of assignment comprises according to key assignments information to assignment in the message pool memory headroom of each window:
(1) type of message: such as create window, open window, close window, change the window's position, change window size, window and redraw.
(2) message parameter: according to the difference of type of message, message parameter is also different, such as when type of message for a change the window's position time, message parameter is used for representing the value of window reposition.
(3) status information of display is merged: indicate adjacent and identical window display message the need of merging.
(4) window pointer of the window that this message is corresponding.Due to the window pointer of the corresponding window of each window display message, namely a corresponding window, so corresponding window can be refreshed according to a window display message, and refresh process need not be carried out to incoherent window.
(5) pointer of next window display message.
(6) pointer of upper window display message.
Step S26, window display message count adds 1;
Step S27, judges whether new key assignments information;
If there is new key assignments information, returns and perform S21 step;
If there is no new key assignments information, turn to the first process steps.
As an example, because testing apparatus is operated in the state of multithreading, when there is no new key assignments information, if the thread having priority higher needs to perform, also directly may not turn to execution first process steps, but perform the first process steps again after the higher thread of first execution priority.
In the present embodiment, when testing apparatus receives a key assignments information again, interrupt the first process steps, and record returns to return position when continuing execution the first process steps, re-execute step S21 to step S27, the window display Message Record needing to refresh is preserved, preserves after terminating, if do not have new key assignments information just to turn to execution first process steps, and continue the window corresponding according to the window display message display of preserving according to above-mentioned return position.
In the present embodiment, when sequentially preserving the display of the window corresponding to described key assignments information message, record this window display message and the annexation being close to the window preserved and showing message, here record this window display message and the annexation being close to the window preserved and showing message point in message pool memory headroom to preserve a window and show the pointer that the pointer of message and next window show message, makes a window show message and the window that is close to before and after it and show message and set up and contact.
In the present embodiment, adjacent window display message is identical refers to the window that two adjacent window display message is corresponding identical, and type of message is identical, now, can in order successively according to two adjacent window display message, the window that display is corresponding, if a window shows identical window display message continuously, visually can feel flicker.Also can only according to one of them window display message, the window that display is corresponding.When display in the status information that above-mentioned merging shows needs adjacent uniform window display message coalescing, only according to one of them window display message, the window that display is corresponding.After have employed the process means of merging, the consecutive identical window display message for a window refers to display once, and human eye can not see the situation that window constantly glimmers.
In the present embodiment, the described window display message got with before be close to preservation window show the corresponding identical window of message, and type of message identical time, because adjacent uniform window display message merges, now according to the pointer of the next window display message of preserving in message pool memory headroom, sequentially redirect obtains the window display message of next corresponding different windows, and the window that display is corresponding.Even if after this just makes several adjacent and identical window display message merged, testing apparatus still can in order according to window display message, display window.
The present invention at least has following beneficial effect:
1, save unnecessary refreshing, save time and resource, only vicissitudinous window is refreshed, do not have vicissitudinous window not refresh.
2, each window carries out order refreshing according to the priority of press key message, make refreshing timely and effective, especially when twisting testing apparatus button, due to multiple message can be sent while twisting, adopt multi-window display method of the present invention that multiwindow is refreshed according to the order of sequence, there will not be and refresh chaotic phenomenon.
Although describe embodiments of the present invention by reference to the accompanying drawings, those of ordinary skill in the art can make various changes and modifications within the scope of the appended claims.

Claims (9)

1. a multi-window display method for testing apparatus,
Described testing apparatus, according to multiple key assignments information of input, is sequentially preserved corresponding window display message, and is shown multiple window accordingly,
It is characterized in that:
There are two process steps:
First process steps: from the window display message of described preservation, sequentially obtain window display message, and show corresponding window accordingly;
Second process steps: to described key assignments information sensing, first hangs up the first described process steps, then sequentially preserves the window display message corresponding to described key assignments information.
2. method according to claim 1, is characterized in that:
Described second process steps comprises: when the first process steps described in hanging up, interrupt the first process steps, and record returns to return position when continuing execution the first process steps.
3. method according to claim 2, is characterized in that:
The second described process steps comprises: when sequentially preserving the display of the window corresponding to described key assignments information message, records this window display message and the annexation being close to the window preserved and showing message.
4. method according to claim 3, is characterized in that:
The second described process steps comprises: when sequentially preserving window display message corresponding to described key assignments information, the preservation address of the window display message of preservation is close to before record in described window display message, be close in the described window display message of preservation before described, record the preservation address of the window display message corresponding to described key assignments information.
5. method according to claim 4, is characterized in that:
Execute described second process steps, and when there is no new described key assignments information, according to the return position of the first described process steps, continue the first process steps described in performing.
6. the method according to claim 3,4 or 5, is characterized in that:
The first described process steps comprises: show the corresponding identical window of message in the described window display message got with the window that next-door neighbour preserves, and when type of message is identical, only according to one of them window display message, the window that display is corresponding.
7. the method according to claim 3,4 or 5, is characterized in that:
The first described process steps comprises: show the corresponding identical window of message in the described window display message got with the window that next-door neighbour preserves, and type of message identical time, and when also comprising the status information of a merging display, only according to one of them window display message, the window that display is corresponding.
8. method according to claim 6, is characterized in that:
The first described process steps comprises: the described window display message got with before be close to preservation window show the corresponding identical window of message, and type of message identical time, sequentially redirect obtains the window display message of next corresponding different windows, and the window that display is corresponding.
9. method according to claim 7, is characterized in that:
The first described process steps comprises: the described window display message got with before be close to preservation window show the corresponding uniform window of message, and type of message identical time, and described before next-door neighbour preserve window display message comprise described merge display status information time, sequentially redirect obtains the window display message of next corresponding different windows, and the window that display is corresponding.
CN201010617589.1A 2010-12-31 2010-12-31 The multi-window display method of testing apparatus Active CN102565480B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201010617589.1A CN102565480B (en) 2010-12-31 2010-12-31 The multi-window display method of testing apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010617589.1A CN102565480B (en) 2010-12-31 2010-12-31 The multi-window display method of testing apparatus

Publications (2)

Publication Number Publication Date
CN102565480A CN102565480A (en) 2012-07-11
CN102565480B true CN102565480B (en) 2016-04-06

Family

ID=46411427

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010617589.1A Active CN102565480B (en) 2010-12-31 2010-12-31 The multi-window display method of testing apparatus

Country Status (1)

Country Link
CN (1) CN102565480B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106383711B (en) * 2016-09-19 2020-02-21 深圳市茁壮网络股份有限公司 Screen refreshing system, method and device
CN106406795B (en) * 2016-09-19 2019-07-05 深圳市茁壮网络股份有限公司 A kind of screen-refresh system and method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101295221A (en) * 2007-04-27 2008-10-29 达方电子股份有限公司 Mouse for switching window and switching method thereof
CN101493751A (en) * 2009-02-09 2009-07-29 深圳市步科电气有限公司 Multi-window manager of embedded graph system
CN101645008A (en) * 2009-08-03 2010-02-10 石家庄科林自动化有限公司 Power meter adopting directory-based management and window configuration display and method
EP2362188A2 (en) * 2010-02-04 2011-08-31 Panasonic Corporation Display device and water heater including the same

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3883459B2 (en) * 2002-03-25 2007-02-21 三菱電機株式会社 Image signal generating apparatus, image signal generating method, program for executing the method, and recording medium recording the program

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101295221A (en) * 2007-04-27 2008-10-29 达方电子股份有限公司 Mouse for switching window and switching method thereof
CN101493751A (en) * 2009-02-09 2009-07-29 深圳市步科电气有限公司 Multi-window manager of embedded graph system
CN101645008A (en) * 2009-08-03 2010-02-10 石家庄科林自动化有限公司 Power meter adopting directory-based management and window configuration display and method
EP2362188A2 (en) * 2010-02-04 2011-08-31 Panasonic Corporation Display device and water heater including the same

Also Published As

Publication number Publication date
CN102565480A (en) 2012-07-11

Similar Documents

Publication Publication Date Title
US9244802B2 (en) Resource user interface
US9639065B2 (en) Method and electronic device for displaying operating state information
US20130086506A1 (en) Organization and display of tabs and tab groups over hierarchical levels
EP2652606B1 (en) Managing an immersive environment
CN108804483A (en) Rendering intent, server and the computer readable storage medium of the cell page
Eler et al. Do Android app users care about accessibility? an analysis of user reviews on the Google play store
US10769120B2 (en) Systems and methods for dynamically updating a user interface
US9734556B2 (en) Generating a tree map
CN107807764A (en) A kind of page display method and client
CN106557426B (en) A kind of method and system for analyzing the ends Android application operation fluency
CN103995722A (en) Method and device for opening multiple windows simultaneously on screen
CN109165154A (en) Display interface fluency statistical method and system, mobile terminal and server
CN107066383A (en) A kind of application program smoothness degree detection method and device
CN107038011B (en) Method and device for adjusting display fluency, and mobile terminal
CN102565480B (en) The multi-window display method of testing apparatus
CN106156132B (en) Picture loading display method and device
US8756535B2 (en) Simultaneous screen saver operations
CN104090755A (en) Vertical scrolling display method for long application names in Android Launcher interface
CN106201551A (en) A kind of application program exits method and device
CN109753198A (en) Interface access method, display methods, equipment, medium
CN107480218A (en) Webpage display process and device, electronic equipment, storage medium
CN110806909A (en) Method and device for determining page frame dropping information of application program and electronic equipment
CN104954407B (en) Information-pushing method and device
CN104035665B (en) A kind of method and apparatus that desktop icons are carried out with colors countenance
CN114530064A (en) Calligraphy practicing method, calligraphy practicing device, calligraphy practicing equipment and calligraphy practicing storage medium based on video

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant