CN104159103B - Device and method for providing sampling data, and device and method for displaying diagnosis interface - Google Patents
Device and method for providing sampling data, and device and method for displaying diagnosis interface Download PDFInfo
- Publication number
- CN104159103B CN104159103B CN201410395707.7A CN201410395707A CN104159103B CN 104159103 B CN104159103 B CN 104159103B CN 201410395707 A CN201410395707 A CN 201410395707A CN 104159103 B CN104159103 B CN 104159103B
- Authority
- CN
- China
- Prior art keywords
- sampling
- terminal
- breakpoint
- display system
- application
- 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.)
- Expired - Fee Related
Links
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Controls And Circuits For Display Device (AREA)
Abstract
The present invention provides a device and a method for providing sampling data, and a device and a method for displaying a diagnosis interface. The device for providing the sampling data comprises a sampling unit used for sampling a display system of a terminal under the control of a control terminal and at a sampling breakpoint used for sampling to obtain the sampling data used for diagnosing the display system of the terminal; a storage unit used for storing the sampling data obtained by the sampling unit; a sending unit used for sending the sampling data stored by the storage unit to the control terminal under the control of the control terminal. According to the device and the method, the terminal can obtain and store the sampling data used for diagnosing the display system of the terminal under the control of the control terminal, and the control terminal generates a visual diagnosis interface based on the sampling data, thereby improving the efficiency that users diagnose the display system of the terminal effectively.
Description
Technical field
All things considered of the present invention is related to the diagnosis of display system, more particularly, is related to a kind of offer in terminal and is used for examining
The apparatus and method of the sampled data of the display system of disconnected terminal and a kind of display showing in control end for diagnosis terminal
The apparatus and method of the Diagnostics Interfaces of system.
Background technology
When exploitation have operating system terminal (for example, smart mobile phone, panel computer, palm PC etc.) when it will usually
Run into various faults, and, a lot of faults are the system-level malfunctions causing because software and hardware is incompatible.Taking Android system as a example,
The features such as display system in Android system is due to having module coupling degree height, software and hardware relatedness is strong, edition upgrading is fast, in reality
The fault occurring in the development process on border at most, is exploitation and the emphasis of debugging.And utilize existing debugging acid (for example,
Ddms (debugging monitoring service instrument), tracer for opengl es (embedded system open graphic library tracker),
Hierarchy viewer (level viewer), traceview (graphical performance testing tool), pixel perfect
Magnification viewer (pixel perfect amplification reader) etc.) these faults cannot be accurately positioned.
At present, developer, when diagnosing the fault of display system, generally diagnoses event by reading log (daily record) information
Barrier, or by adding debugging code in source code come tracing trouble.
However, the scheme of the fault of diagnosis display system above depends greatly on the experience of developer, split
The level requirement of the personnel of sending out is higher, is difficult to Accurate Diagnosis fault for the less primary developer of experience.And on
The diagnosis efficiency stating two kinds of diagnosis schemes is all than relatively low.
Therefore, the scheme of the display system of existing diagnosis terminal can not meet the need that developer diagnoses display system
Ask.
Content of the invention
The exemplary embodiment of the present invention is to provide a kind of apparatus and method providing sampled data and display diagnosis circle
The apparatus and method in face.
One side according to an exemplary embodiment of the present invention, provides a kind of display system providing for diagnosis terminal in terminal
The device of the sampled data of system, comprising: sampling unit, under the control of control end, to end at the sampling breakpoint for sampling
The display system at end is sampled, to obtain the sampled data of the display system for diagnosis terminal;Memory element, storage sampling
The sampled data that unit obtains;The sampling data transmitting that memory element stores is delivered to control under the control of control end by transmitting element
End processed.
Described device may also include that breakpoint adding device, adds sampling breakpoint in the working lining of described display system, its
In, described working lining mays include: application framework layer, hardware abstraction layer and operating system nucleus layer, and wherein, breakpoint adding device exists
Each working lining adds at least one breakpoint of sampling.
Described device may also include that internal memory creating unit, creates the memory pool for storing sampled data, wherein, described
Memory pool includes multiple memory blocks;Memory block allocation unit, by added each sampling breakpoint distribute for storage by
The memory block of the sampled data sampled and obtained at described sampling breakpoint, wherein, when sampling unit is in each added
When being sampled at sampling breakpoint and being obtained sampled data, the memory block that described sampling breakpoint is allocated is deposited with circular linked list mechanism
The sampled data that storage obtains, wherein, after sampling unit stops sampling, memory element stores the sampling of storage in each memory block
Data.
Another aspect according to an exemplary embodiment of the present invention, provide a kind of show in control end aobvious for diagnosis terminal
Show the device of the Diagnostics Interfaces of system, comprising: control unit, control terminal is sampled to the display system of terminal;Receive single
Unit, receives, from terminal, the sampled data obtaining by sampling;Diagnostics Interfaces signal generating unit, is generated based on sampled data and is used for examining
The Diagnostics Interfaces of the display system of disconnected terminal;Display unit, the Diagnostics Interfaces that display Diagnostics Interfaces signal generating unit generates.
In said device, control unit mays include: sampling initiation command transmitter, generates sampling initiation command, and will
The sampling initiation command generating is sent to terminal, starts at the sampling breakpoint for sampling, display system to be entered with control terminal
Row sampling;Sampling is ceased and desisted order transmitter, generates sampling and ceases and desist order, and the sampling of generation is ceased and desisted order is sent to terminal,
Sampling to display system at sampling breakpoint is stopped at control terminal.
In said device, sampling initiation command transmitter can receive for control terminal start sample start ask,
Generate sampling initiation command according to starting request.
In said device, sampling cease and desist order transmitter can receive for control terminal stop sampling stopping request,
Cease and desist order according to stopping request generation sampling.
In said device, control unit may also include that monitor, and whether can lead in the course of the work by generation for monitoring terminal
Cause the abnormal scheduled event of display;Wherein, when monitor monitors to occur described scheduled event, initiation command transmitter of sampling
Sampling initiation command can be generated.
In said device, when the described scheduled event that monitor monitors terminates or the persistent period of described scheduled event
During more than the scheduled time, sampling transmitter of ceasing and desisting order can generate sampling and ceases and desist order.
In said device, described scheduled event may include at least one of following item: the internal memory of terminal overflows, terminal
The network that cpu utilization rate is too high, terminal connects interrupt, the user interface of terminal is slided or the application of terminal no responds.
In said device, Diagnostics Interfaces may include diagnostic imaging window and condition diagnosing window, wherein, diagnostic imaging window
Show the two field picture with regard to being diagnosed application in mouthful, in condition diagnosing window, show the working condition with regard to being diagnosed application, and
And, described Diagnostics Interfaces signal generating unit mays include: image composer, generates diagnostic imaging window based on the frame information being diagnosed application
Mouthful;Condition generator, generates condition diagnosing window based on the status information being diagnosed application.
In said device, Diagnostics Interfaces signal generating unit may also include that display mode selector, selects static state display mode
Or dynamic display types, wherein, under static state display mode, it is diagnosed application and may include at least one application described, image is examined
Show in disconnected window with regard to described at least one apply two field picture in predetermined instant, show with regard to described in condition diagnosing window
At least one applies the working condition in described predetermined instant;Under dynamic display types, be diagnosed application may include described in extremely
Predetermined application in a few application, shows in diagnostic imaging window with regard to the described predetermined frame figure applied in predetermined amount of time
Picture, shows in condition diagnosing window with regard to the described predetermined working condition applied in described predetermined amount of time, image composer root
According to display mode selector, the static state display mode selecting or dynamic display types to generate diagnostic imaging window, and, state
The static state display mode that maker selects according to display mode selector or dynamic display types generate condition diagnosing window.
In said device, display mode selector can be additionally used in selecting the described predetermined instant for static state display mode
Or the described predetermined amount of time for dynamic display types.
In said device, display mode selector can be additionally used in selecting Dynamic Announce side from least one application described
The described predetermined application of formula.
In the apparatus and method that sampled data is provided according to an exemplary embodiment of the present invention, terminal can be made in control end
Control under obtain and store the sampled data of the display system for diagnosis terminal, according to an exemplary embodiment of the present invention
Display Diagnostics Interfaces apparatus and method in, can control end be based on sampled data generate intuitively Diagnostics Interfaces such that it is able to
Effectively improve the efficiency of the display system of user's diagnosis terminal.
Brief description
By the description carrying out with reference to the accompanying drawing being exemplarily illustrated embodiment, exemplary embodiment of the present upper
State and will become apparent with other purposes and feature, wherein:
Fig. 1 illustrates the sampling providing the display system for diagnosis terminal in terminal according to an exemplary embodiment of the present invention
The block diagram of the device of data;
Fig. 2 illustrates the example adding sampling breakpoint according to an exemplary embodiment of the present invention;
Fig. 3 illustrates the example of circular linked list memory mechanism according to an exemplary embodiment of the present invention;
Fig. 4 illustrates according to an exemplary embodiment of the present invention to show examining of the display system for diagnosis terminal in control end
The block diagram of the device at disconnected interface;
Fig. 5 illustrates according to an exemplary embodiment of the present invention to show examining of the display system for diagnosis terminal in control end
The block diagram of the control unit in the device at disconnected interface;
Fig. 6 illustrates to show the display system for diagnosis terminal in control end according to another exemplary embodiment of the present invention
The device of Diagnostics Interfaces in control unit block diagram;
Fig. 7 illustrates according to an exemplary embodiment of the present invention to show examining of the display system for diagnosis terminal in control end
The block diagram of the Diagnostics Interfaces signal generating unit in the device at disconnected interface;
Fig. 8 illustrates to show the display system for diagnosis terminal in control end according to another exemplary embodiment of the present invention
The device of Diagnostics Interfaces in Diagnostics Interfaces signal generating unit block diagram;
Fig. 9 illustrates the example of Diagnostics Interfaces according to an exemplary embodiment of the present invention;
Figure 10 illustrates the example of static state display mode according to an exemplary embodiment of the present invention;
Figure 11 illustrates the example of dynamic display types according to an exemplary embodiment of the present invention;
Figure 12 illustrates according to an exemplary embodiment of the present invention to provide adopting of the display system for diagnosis terminal in terminal
The flow chart of the method for sample data;
Figure 13 illustrates according to an exemplary embodiment of the present invention to show display system for diagnosis terminal in control end
The flow chart of the method for Diagnostics Interfaces;
Figure 14 illustrates according to an exemplary embodiment of the present invention to show display system for diagnosis terminal in control end
The flow chart that control terminal in the method for Diagnostics Interfaces carries out sampling step;
Figure 15 illustrates to show the display system for diagnosis terminal in control end according to another exemplary embodiment of the present invention
The flow chart that control terminal in the method for Diagnostics Interfaces of system carries out sampling step;
Figure 16 illustrates according to an exemplary embodiment of the present invention to show display system for diagnosis terminal in control end
The flow chart of the generation Diagnostics Interfaces step in the method for Diagnostics Interfaces;
Figure 17 illustrates to show the display system for diagnosis terminal in control end according to another exemplary embodiment of the present invention
The flow chart of the generation Diagnostics Interfaces step in the method for Diagnostics Interfaces of system.
Specific embodiment
Reference will now be made in detail embodiments of the invention, the example of described embodiment is shown in the drawings, wherein, identical mark
Number refer to identical part all the time.
Fig. 1 illustrates the sampling providing the display system for diagnosis terminal in terminal according to an exemplary embodiment of the present invention
The block diagram of the device of data.Here, as an example, described terminal can be that smart mobile phone, panel computer, palm PC etc. have
The terminal of display system.For example, display system here can be the display system under Android system.
As shown in figure 1, according to an exemplary embodiment of the present invention provide display system for diagnosis terminal in terminal
The device of sampled data includes: sampling unit 110, memory element 120 and transmitting element 130.These units can be by digital signal
The common hardware processor such as processor, field programmable gate array, to realize, also can pass through the specialized hardwares such as special chip and process
Device, to realize, also can be realized with software mode by computer program completely, for example, be implemented as installation and be used in the terminal
Modules in the application of sampled data of display system are provided.
Particularly, sampling unit 110 is used under the control of control end, to terminal at the sampling breakpoint for sampling
Display system sampled, with obtain for diagnosis terminal display system sampled data.As an example, sampling unit
110 are sampled to the display system of terminal at sampling breakpoint with preset frequency, and for example, sampling unit 110 is with 60 hertz
Frequency is sampled to the display system of terminal at sampling breakpoint.
Here, sampling breakpoint can be the sampling location of setting in the working lining of display system.As an example, sample and break
Point can by user in the working lining that terminal or control end are added manually to display system, or, sampling breakpoint can by terminal or
Control end is automatically added in the working lining of display system.
As an example, sampling unit 110 is passed through the sampling sampled data that obtains and may include and shown by display system
The related frame information of at least one application and status information, for example, sampled data may include applies (status bar with statusbar
Application), navigationbar application (navigation bar application), phasebeamwallpaper apply (dynamic wallpaper application),
(artist browses boundary for launcher21auncher application (main menu application), artistalbumbrowseractivity application
Face is applied), surfaceview application (application of appearance view) etc. frame information and the shape of the applying correlation that are shown by display system
State information.
Additionally, frame information may include the image information of the two field picture of at least one application showing by display system, example
As frame information may include the color-values of each pixel in two field picture.Status information may include with regard at least one application described
Working condition parameter, for example, status information may include at least one of following parameter: Apply Names (application
Name), the pixel data (frame pixel data) of two field picture, the width (width) of two field picture, the height of two field picture
(height), the corner cutting (crop) of two field picture, the size (size) of two field picture, the memory usage (mem of terminal
Usage), the cpu utilization rate (cpu usage) of terminal.
As an example, sampling unit 110 mays include: that sampling initiation command receptor (not shown) and sampler (do not show
Go out).
Particularly, sampling initiation command receptor can be used for receiving from control end and starts to order for the sampling starting to sample
Order.For example, sampling initiation command receptor can wirelessly or wired mode from control end receive for start sample
Sampling initiation command.
Sampler starts at sampling breakpoint, display system to be sampled in response to the sampling initiation command receiving, to obtain
Obtain sampled data.As an example, sampler can receive sampling initiation command after with preset frequency sampling breakpoint at pair
The display system of terminal is sampled.
Additionally, sampling unit 110 may also include that sampling is ceased and desisted order receptor (not shown).
Particularly, sampling ceases and desist order receptor for receiving the sampling stopping life for stopping sampling from control end
Order.For example, sampling cease and desist order receptor can wirelessly or wired mode from control end receive for stop sampling
Sampling is ceased and desisted order.
Correspondingly, the sampling that sampler may be in response to receive is ceased and desisted order to stop at and at sampling breakpoint, display system is adopted
Sample.
Memory element 120 stores the sampled data that sampling unit 110 obtains.For example, memory element may be in response to receive
Sampling cease and desist order, storage sampling unit 110 obtain sampled data.Here, memory element 120 can be with storage work(
The memorizer of energy.
The sampling data transmitting that transmitting element 130 is used for storing memory element 120 under the control of control end delivers to control
End.
As an example, transmitting element 130 mays include: transmission order receptor (not shown) and sampling data transmitting device (not
Illustrate).
Particularly, send order receptor and can receive the transmission order for sending sampled data from control end.For example,
Send order receptor can wirelessly or wired mode from control end receive for make terminal send sampled data send out
Lose one's life order.
The sampling data transmitting that memory element 130 is stored by the transmission order that sampling data transmitting device may be in response to receive is delivered to
Control end.
In the device that sampled data is provided according to an exemplary embodiment of the present invention, terminal can be made in the control of control end
The lower sampled data obtaining and storing the display system for diagnosis terminal.
Additionally, in order to more targetedly obtain sampled data, the device shown in Fig. 1 is except including sampling unit 110, depositing
Outside storage unit 120 and transmitting element 130, may also include breakpoint adding device (not shown).
Particularly, breakpoint adding device can add sampling breakpoint in the working lining of display system.As an example, working lining
May include: application framework layer (framework layer), hardware abstraction layer (hal layer) and operating system nucleus layer (kernel layer).Make
For example, breakpoint adding device can add at least one breakpoint of sampling in each working lining.
Correspondingly, the sampler in sampling unit 110 may be in response to sample initiation command receptor receive sampling start
Order starts at the sampling breakpoint being added, display system to be sampled.
Fig. 2 illustrates the example adding sampling breakpoint according to an exemplary embodiment of the present invention.
As shown in Fig. 2 breakpoint adding device is in each working lining (in application framework layer, hardware abstraction layer and operating system
Stratum nucleare) with the addition of a sampling breakpoint.
Particularly, the Main Function of application framework layer is display synthesis system (surfaceflinger) service, i.e.
Surfaceflinger receives the graphical interfaces information corresponding with least one application showing by display system, and (each should
With one or more graphical interfaces can be corresponded to), the z-order according to the graphical interfaces comprising in graphical interfaces information is (that is, false
Being located at the direction vertical with screen plane has a z-axis, can determine figure according to coordinate in z-axis for all of graphical interfaces
The front and back position at interface, in order to describe the covering relation up and down between each graphical interfaces, and graphical interfaces is suitable in z-axis
Sequence, referred to as z-order), transparency, size, the parameter such as position, calculate each graphical interfaces in the image of final synthesis
Position and display parameters (the original visibility region of graphical interfaces deducts by the display parameters of upper layer images overlay area), by institute
Some graphical interfaces are combined into a main interface (that is, the interface of user's viewing).Therefore, breakpoint adding device can be by application framework
The sampling breakpoint of layer is added in surfaceflinger service, to obtain the data of each application in image rendering process.Example
As breakpoint can be added on surfaceflinger::handlemessagerefresh () function and (process by breakpoint adding device
The function of refresh events) whether place is correct with the renewal of each application when learning each refreshing.
Main Function in hardware abstraction layer be the display parameters of the graphical interfaces that surfaceflinger is calculated
It is synthesized to eventually in a display buffer (buffer).And the synthesis of display parameters is to be come by hardware synthesizer (hwcomposer)
Complete, therefore, sampling breakpoint can be added at the result of hwcomposer for breakpoint adding device, to obtain
The data at each layer pattern interface after hwcomposer process.For example, sampling breakpoint can be added on by breakpoint adding device
Whether the docomposition function function of synthesis (process) place is correct with the composite result of learning each layer.
The Main Function of operating system nucleus layer is that frame buffer zone (framebuffer) drives, i.e. farmebuffer drives
Move and can drive display device using the display buffer comprising complete display parameters.Particularly, framebuffer drives
Dynamic is one of kernel UDI, and this interface can be by abstract for display device for framebuffer.Here it is possible to
Framebuffer is regarded as an image of display buffer, it is possible to directly after mapping that to the process address space
It is written and read operating, and write operation can be immediately reflected on screen, i.e. the data being written in framebuffer can be at once
It is shown on screen in the way of pixel.Therefore, breakpoint adding device can add sampling breakpoint at vertical synchronization (vsync) place,
To obtain the dispaly state data in each framebuffer of each moment.For example, sampling breakpoint can be added by breakpoint adding device
It is added in the fb_pan_display function at vsync (processing the function of the refreshing of liquid crystal display) place, to learn the aobvious of screen
Show whether result is correct.
Preferably, breakpoint adding device mays include: Cut Selection device (not shown) and breakpoint adder (not shown).
Particularly, Cut Selection device is used for selecting at least one that will add to adopt from the sampling breakpoint of predetermined quantity
Sample breakpoint.Here, the sampling breakpoint of described predetermined quantity corresponds respectively in application framework layer, hardware abstraction layer or operating system
Stratum nucleare.The sample example of breakpoint of interpolation generally shown in Fig. 2 can meet the diagnostic requirements of user, but in some cases,
When user needs to draw diagnostic result more quickly, need to add more breakpoints of sampling in corresponding working lining.Therefore, it is
It is easy to user and is added as needed on different sampling breakpoints, can pre-set and can be respectively added to application framework layer, hardware is taken out
As multiple sampling breakpoints of layer or operating system nucleus layer, to meet the demand of different user.Cut Selection device can be according to user
The sampling breakpoint that will add of request selecting.
Breakpoint adder is used for adding selected at least one breakpoint of sampling described.Here, breakpoint adder is by breakpoint
Selected at least one the sampling breakpoint described of selector is added in each working lining corresponding to sampling breakpoint.
Additionally, for the fluency not affecting display system in sampling process, needing relatively quickly in sampling breakpoint
Place is sampled, and the sampled data of acquisition of sampling is generally than larger (for example, the liquid crystal display for 720p for resolution
Say, the size of sampled data is 3,000,000 about), in order to preserve the sampled data needing larger memory space, Fig. 1 institute more quickly
The device showing, in addition to including sampling unit 110, memory element 120, transmitting element 130 and breakpoint adding device, also can wrap
Include internal memory creating unit (not shown) and memory block allocation unit (not shown).
Particularly, internal memory creating unit is used for creating the memory pool for storing sampled data.Here, memory pool can wrap
Include multiple memory blocks.For example, internal memory creating unit can apply for partial memory to create for storage sampling from the internal memory of terminal
The memory pool of data.
Memory block allocation unit is used for distributing for storage by sampling breakpoint by each the sampling breakpoint being added
The memory block of the sampled data sampled and obtained.And, when sampling unit 110 enters at each the sampling breakpoint being added
When row is sampled and obtained sampled data, the memory block that sampling breakpoint is allocated stores, with circular linked list mechanism, the hits obtaining
According to.
Correspondingly, after sampling unit 110 stops sampling, memory element 120 can store in each memory block adopting of storage
Sample data.
Fig. 3 illustrates the example of circular linked list memory mechanism according to an exemplary embodiment of the present invention.
As shown in figure 3, the memory block that sampling breakpoint is allocated can be divided into n subpool according to the size of sampled data
(in figure number be 1 to n subpool), n subpool forms a chained list, and n is the integer more than 1.Head from chained list
Position (numbering is 1 subpool) starts, and the sampled data that sampling obtains every time is sequentially stored in a subpool.Example
As the pointer of the chained list shown in Fig. 3 points to the 1st subpool, then, the sampled data that the 1st sampling obtains will be stored in the 1st
In subpool, now, the pointer of chained list can move, and points to the 2nd subpool, therefore, the sampled data that the 2nd sampling obtains
Will be stored in the 2nd subpool, similarly, the pointer of chained list continues to move to, point to the 3rd subpool, therefore, adopt for the 3rd time
The sampled data that sample obtains will be stored in the 3rd subpool.Deposit when the sampled data that n-th sampling obtains is stored in the n-th son
After storage area, the pointer of chained list can point to the first place of chained list, i.e. the 1st subpool, therefore, the sampled data that subsequent sampling obtains
May proceed to be sequentially stored in corresponding subpool from the first order starting according to subpool is numbered from small to large of chained list
In, i.e. the sampled data that the 1st subpool obtains to the n-th subpool circulation storage sampling, each subpool only preserves
The sampled data of new storage.
Fig. 4 illustrates according to an exemplary embodiment of the present invention to show examining of the display system for diagnosis terminal in control end
The block diagram of the device at disconnected interface.Here, as an example, described control end can be that computer, smart mobile phone, panel computer etc. can
The electronic equipment of display Diagnostics Interfaces.
As shown in figure 4, the display system showing in control end for diagnosis terminal according to an exemplary embodiment of the present invention
The device of Diagnostics Interfaces include: control unit 210, receiving unit 220, Diagnostics Interfaces signal generating unit 230 and display unit
240.These units can be realized by the display of execution specific function, or passes through digital signal processor, field programmable gate
The common hardware processor such as array, to realize, also can be realized by dedicated hardware processors such as special chips, also can be completely logical
Cross computer program to realize with software mode, for example, be implemented as being arranged in control end for showing answering of Diagnostics Interfaces
With in modules.
Particularly, control unit 210 is sampled to the display system of terminal for control terminal.Here, control list
The controllable terminal of unit 210 starts at the sampling breakpoint for sampling, the display system of terminal to be sampled, or control terminal
Stop at the sampling of the display system to terminal at sampling breakpoint.
Fig. 5 illustrates according to an exemplary embodiment of the present invention to show examining of the display system for diagnosis terminal in control end
The block diagram of the control unit 210 in the device at disconnected interface.With reference to Fig. 5, control unit 210 includes: sampling initiation command transmitter
211 and sampling cease and desist order transmitter 212.
Particularly, sampling initiation command transmitter 211 is used for generating sampling initiation command, and the sampling of generation is started
Order is sent to terminal, starts at sampling breakpoint, display system to be sampled with control terminal.
As an example, sampling initiation command transmitter 211 can receive for control terminal start sample start ask, root
Generate sampling initiation command according to starting request.In this case, initiation command transmitter 211 of sampling can be easy to user and control manually
Terminal processed, makes terminal start at sampling breakpoint, display system to be sampled.For example, sampling initiation command transmitter 211 can
The button providing the user correlation is to facilitate user input to start to ask.
Sampling transmitter 212 of ceasing and desisting order is used for generating sampling and ceases and desist order, and the sampling of generation is ceased and desisted order transmission
To terminal, the sampling to display system at sampling breakpoint is stopped at control terminal.
As an example, sampling cease and desist order transmitter 212 can receive for control terminal stop sampling stopping request, root
Cease and desist order according to stopping request generation sampling.In this case, sampling transmitter 212 of ceasing and desisting order can be easy to user and controls manually
Terminal processed, makes terminal stop at the sampling to display system at sampling breakpoint.For example, sampling transmitter 212 of ceasing and desisting order can be
User provides related button to facilitate user input to stop request.
Fig. 6 illustrates to show the display system for diagnosis terminal in control end according to another exemplary embodiment of the present invention
The device of Diagnostics Interfaces in control unit 210 block diagram.With reference to Fig. 6, except the sampling initiation command transmitter shown in Fig. 5
211 and sampling cease and desist order outside transmitter 212, control unit 210 may also include monitor 213.
Particularly, for monitoring terminal, whether generation can lead to show the pre- of exception monitor 213 in the course of the work
Determine event.As an example, described scheduled event may include at least one of following item: the internal memory of terminal overflows, the cpu of terminal
The network that utilization rate is too high, terminal connects interrupts, the user interface (ui) of terminal is slided or the application of terminal no responds (anr).
These scheduled events may result in different displays abnormal, and for example, the internal memory of terminal overflows lead too high with the cpu utilization rate of terminal
The screen causing terminal no responds;The network that terminal connects interrupts may result in terminal picture when playing video to stop;The ui of terminal
Slide and may result in the screen flower screen of terminal;The anr of terminal may result in the screen-picture of terminal motionless etc..
Correspondingly, when monitor 213 monitors to occur described scheduled event, sampling initiation command transmitter 211 generates
Sampling initiation command.In this case, sampling initiation command transmitter 211 can make according to scheduled event automatic control terminal
Terminal starts at sampling breakpoint, display system to be sampled.For example, when the internal memory that monitor 213 monitors terminal overflows thing
During part, sampling initiation command transmitter 211 generates sampling initiation command.
When the described scheduled event that monitor 213 monitors terminates or the persistent period of described scheduled event is more than pre- timing
Between when, sampling cease and desist order transmitter 212 generate sampling cease and desist order.In this case, sampling is ceased and desisted order transmitter 212
Terminal can be made to stop at the sampling to display system at sampling breakpoint according to scheduled event automatic control terminal.For example, work as monitoring
When the persistent period of the internal memory spilling event of the terminal that device 213 monitors is more than the scheduled time, transmitter 212 of ceasing and desisting order of sampling
Generate sampling to cease and desist order.
Referring again to Fig. 4, receiving unit 220 is used for receiving, from terminal, the sampled data obtaining by sampling.Here, as
Example, sampled data can carry out, with preset frequency, acquisition of sampling for terminal at the sampling breakpoint for sampling to display system
Sampled data, and, sampled data may include the frame information related at least one application showing by display system and shape
State information.
Additionally, frame information may include the image information of the two field picture of at least one application showing by display system, example
As frame information may include the color-values of each pixel in two field picture.Status information may include with regard at least one application described
Working condition parameter, for example, status information may include at least one of following parameter: Apply Names, the picture of two field picture
Prime number evidence, the corner cutting of the width of two field picture, the height of two field picture, two field picture, the size of two field picture, the internal memory of terminal utilize
Rate, the cpu utilization rate of terminal.
As an example, receiving unit 220 mays include: transmission sequencing unit (not shown) and receptor (not shown).
Particularly, send sequencing unit to be used for generating transmission order, and the transmission order of generation be sent to terminal,
Sampled data is sent with control terminal.As an example, send sequencing unit can receiving user's input for sending hits
According to transmission request, according to send request generate send order.As another example, when sampling is ceased and desisted order transmitter 212
After sending sampling to cease and desist order, send sequencing unit and can generate transmission order.
Receptor is used for receiving terminal and sends, according to described, the sampled data being obtained by sampling that order sends.
Diagnostics Interfaces signal generating unit 230 is used for generating the diagnosis of the display system for diagnosis terminal based on sampled data
Interface.As an example, Diagnostics Interfaces may include diagnostic imaging window and condition diagnosing window, wherein, aobvious in diagnostic imaging window
Show the two field picture with regard to being diagnosed application, in condition diagnosing window, show the working condition with regard to being diagnosed application.Alternatively, institute
State two field picture and the working condition that Diagnostics Interfaces may include the exception application being obtained by specialist system based on sampled data analysis, and
Corresponding diagnostic imaging window and condition diagnosing window are arranged in visual mode.
Fig. 7 illustrates according to an exemplary embodiment of the present invention to show examining of the display system for diagnosis terminal in control end
Diagnostics Interfaces in the device at disconnected interface generate single 230 block diagram.With reference to Fig. 7, Diagnostics Interfaces generate single 230 and include: image life
Grow up to be a useful person 231 and condition generator 232.
Particularly, image composer 231 can generate diagnostic imaging window based on the frame information being diagnosed application.
Condition generator 232 can generate condition diagnosing window based on the status information being diagnosed application.
Fig. 8 illustrates to show the display system for diagnosis terminal in control end according to another exemplary embodiment of the present invention
The device of Diagnostics Interfaces in Diagnostics Interfaces generate single 230 block diagram.With reference to Fig. 8, except the image composer shown in Fig. 7
231 and condition generator 232 outside, Diagnostics Interfaces signal generating unit 230 may also include display mode selector 233.
Particularly, display mode selector 233 is used for selecting static state display mode or dynamic display types.For example, show
Show that mode selector 233 can provide the user the button for selecting display mode, with the selection to display mode for the receive user.
Particularly, under static state display mode, it is diagnosed application and may include at least one showing by display system
Application, show in diagnostic imaging window with regard to described at least one apply two field picture in predetermined instant, in condition diagnosing window
Display with regard to described at least one apply the working condition in described predetermined instant;Under dynamic display types, it is diagnosed application
May include the predetermined application at least one application described, show in diagnostic imaging window and make a reservation for apply in pre- timing with regard to described
Between section two field picture, show in condition diagnosing window with regard to the described predetermined working condition applied in described predetermined amount of time.
Correspondingly, image composer 231 can show according to the static state display mode that display mode selector 233 selects or dynamically
Show mode to generate diagnostic imaging window.As an example, when display mode selector 233 selects static state display mode, image
Maker 231 generates diagnostic imaging window based on the frame information at least one application described in the acquisition of described predetermined instant.Make
For another example, when display mode selector 233 selects dynamic display types, image composer 231 is based on described predetermined
The frame information of the described predetermined application that the time period obtains generates diagnostic imaging window.
And, condition generator 232 can be according to the static state display mode of display mode selector 233 selection or Dynamic Announce
Mode is generating condition diagnosing window.As an example, when display mode selector 233 selects static state display mode, state is given birth to
Grow up to be a useful person 232 based on the status information generation condition diagnosing window at least one application described in the acquisition of described predetermined instant.Make
For another example, when display mode selector 233 selects dynamic display types, condition generator 232 is based on described predetermined
The status information of the described predetermined application that the time period obtains generates condition diagnosing window.
Additionally, when the display mode selecting is static state display mode, for the ease of selecting described predetermined instant, display side
Formula selector 233 can be additionally used in selecting the described predetermined instant for static state display mode.Or, when the display mode selecting is
During dynamic display types, for the ease of selecting described predetermined amount of time, display mode selector 233 can be additionally used in selection and is used for moving
The described predetermined amount of time of state display mode.
As an example, display mode selector 233 can select described predetermined instant or pre- timing according to the input of user
Between section.For example, display mode selector 233 can provide the user the list of sampling instant, and receive user selects from list
The a certain moment, and a certain moment that user is selected is as predetermined instant;Or receive user selects sometime from list
Section, and the certain time period that user is selected is as predetermined amount of time.
Additionally, display mode selector 233 be can be additionally used in from least one application being shown by the display system of terminal
The middle described predetermined application selecting dynamic display types.Here, display mode selector 233 can be from by the display system of terminal
One of them is selected as the described predetermined application for Dynamic Announce at least one application of display.For example, display mode
Selector 233 can provide the user the list of at least one application described, according to user, the selection of application in list is selected
Described predetermined application.
Referring again to Fig. 4, display unit 240 is used for showing the Diagnostics Interfaces that Diagnostics Interfaces signal generating unit 230 generates.As
Example, display unit 240 can display for a user diagnostic imaging window and the condition generator 232 of image composer 231 generation
The condition diagnosing window generating.
Fig. 9 illustrates the example of Diagnostics Interfaces according to an exemplary embodiment of the present invention.
As shown in figure 9, the right side window of Diagnostics Interfaces is the diagnostic imaging window that image composer 231 generates, in figure
Diagnostic imaging window in show two field picture.The middle window of Diagnostics Interfaces is that the state that condition generator 232 generates is examined
Disconnected window, shows the working condition being diagnosed application in the condition diagnosing window of in figure.In addition, it can be seen that Fig. 9 institute
The Diagnostics Interfaces showing can also include: for selecting working lining select button (application framework layer, the hardware abstraction layer and interior of working lining
Stratum nucleare), for receiving the button (start sampling) starting to ask starting to sample for control terminal, being used for controlling for reception
Terminal stops the button (stopping sampling) stopping asking of sampling, the button (upload data) for receiving upload request of data.
It should be understood that the Diagnostics Interfaces of display unit 240 display are not limited to the Diagnostics Interfaces shown in Fig. 9 or root
According to other Diagnostics Interfaces being actually needed setting.For example, with the addition of the Diagnostics Interfaces of button for selecting display mode, scheming
As can show Diagnostics Interfaces of multiple two field pictures etc. in diagnostic window simultaneously.And, diagnostic imaging window and condition diagnosing window
Arrangement mode be not limited to the left-right situs mode shown in Fig. 9 or according to actual needs and arrange other arrangement sides
Formula, for example, the mode that is arranged above and below, arrangement mode of diagnostic imaging window state of siege diagnostic window etc..
Figure 10 illustrates the example of static state display mode according to an exemplary embodiment of the present invention.
As shown in Figure 10, hardware abstraction layer be found that display abnormal (blank screen (bottom of Figure 10)) it is therefore desirable to
The last layer (that is, application framework layer) of hardware abstraction layer finds the reason display exception, now, optional static state display side
There is the diagnostic imaging window ((b) in Figure 10) of moment all applications and state in black screen trouble showing application framework layer in formula
Diagnostic window ((a) in Figure 10).
By the Diagnostics Interfaces ((a) and (b) in Figure 10) under the static state display mode of Figure 10 as can be seen that being used for generating shape
The application (statusbar) on state hurdle has properly generated status bar, and the application (navigationbar) for generating navigation bar is correct
Generate navigation bar, the application (phasebeamwallpaper) for generating dynamic wallpaper has properly generated dynamic wallpaper, and
And, the application (launcher21auncher) for generating main menu has properly generated main menu.But, browse for generating
The application (artistalbumbrowseractivity) at interface does not properly generate browser interface and occurs in that blank screen.Therefore,
By the static state display interface of application framework layer it is possible to judge hardware abstraction layer occur blank screen be by
The blank screen that artistalbumbrowseractivity application produces causes.
It should be understood that the arrow of in figure is to more clearly indicate diagnostic imaging window and condition diagnosing window
Corresponding relation and add, the Diagnostics Interfaces of actual displayed can remove the arrow of in figure.
Figure 11 illustrates the example of dynamic display types according to an exemplary embodiment of the present invention.
As shown in figure 11, Figure 11 is illustrated that during playing video, splashette event when doing transverse screen and portrait layout switching
Barrier time period in, for generate the application (surfaceview) of appearance view diagnostic imaging window (in Figure 11 (b), i.e.
Comprise to number the window of 6 two field pictures being 1,2,3,4,5,6) and condition diagnosing window ((a) in Figure 11).In Figure 11, use
In dynamic display types predetermined amount of time be terminal screen on show two field picture 1 to the persistent period section of two field picture 6.
By the dynamic analysis to surfaceview application in Figure 11, the numbering of in figure is 2 two field picture is exception
Frame, therefore, it is possible to judge that going out the splashette problem in video transverse screen and portrait layout handoff procedure is asking of surfaceview application itself
Topic.User just can should be used as surfaceview and further analyzing, thus the reason occur of must ging wrong.
It should be understood that the arrow of in figure is for more clearly instruction state diagnostic window and diagnostic imaging window
Corresponding relation, and the time sequencing of two field picture and add, the Diagnostics Interfaces of actual displayed can remove having of in figure
The arrow of indicative function.
In the device of display Diagnostics Interfaces according to an exemplary embodiment of the present invention, sampled data can be based in control end
Generate intuitively Diagnostics Interfaces such that it is able to effectively improve the efficiency of the display system of user's diagnosis terminal.
Hereinafter, it is used for diagnosis terminal by describe according to an exemplary embodiment of the present invention offer in terminal with reference to Figure 12
The method of the sampled data of display system.Methods described can equipment as shown in Figure 1 to complete, also can pass through computer program
To realize.For example, methods described can be used for providing the application of the sampled data of display system to execute by installing in the terminal.
Figure 12 illustrates according to an exemplary embodiment of the present invention to provide adopting of the display system for diagnosis terminal in terminal
The flow chart of the method for sample data.
With reference to Figure 12, in step s110, under the control of control end, at the sampling breakpoint for sampling, terminal is shown
Show that system is sampled, to obtain the sampled data of the display system for diagnosis terminal.
Here, sampling breakpoint can be the sampling location of setting in the working lining of display system.As an example, sample and break
Point can by user in the working lining that terminal or control end are added manually to display system, or, sampling breakpoint can by terminal or
Control end is automatically added in the working lining of display system.
As an example, be may include and at least one application being shown by display system by the sampled data obtaining of sampling
Related frame information and status information.
As an example, step s110 mays include: the step (not shown) receiving sampling initiation command and starts disconnected in sampling
The step (not shown) at point, display system sampled.
Particularly, the step receiving sampling initiation command mays include: the sampling receiving for starting sampling from control end
Initiation command.
The step starting at sampling breakpoint, display system to be sampled mays include: and starts to order in response to the sampling receiving
Order starts at sampling breakpoint, display system to be sampled, to obtain sampled data.
Additionally, step s110 may also include that to receive and sampling the step (not shown) ceased and desisted order and stop at sampling breakpoint
The step (not shown) of the sampling to display system for the place.
Particularly, receive the step ceased and desisted order of sampling and may include: the sampling receiving from control end for stopping sampling
Cease and desist order.
Stop at, at sampling breakpoint, the sampling in response to reception is ceased and desisted order to be mayd include: to the step of the sampling of display system
Stop at the sampling to display system at sampling breakpoint.
The sampled data obtaining in step s120, storage.For example, the sampling that may be in response to receive is ceased and desisted order, storage
The sampled data obtaining.Here, the sampled data of acquisition can be stored by having the memorizer of store function.
In step s130, under the control of control end, the sampling data transmitting of storage is delivered to control end.
As an example, step s130 mays include: the step receiving the step (not shown) sending order and sending sampled data
Rapid (not shown).
Particularly, the step receiving transmission order mays include: the transmission receiving for sending sampled data from control end
Order.
The step sending sampled data mays include: that the sampling data transmitting of storage is delivered to control by the order that sends in response to reception
End processed.
In the method that sampled data is provided according to an exemplary embodiment of the present invention, terminal can be made in the control of control end
The lower sampled data obtaining and storing the display system for diagnosis terminal.
Additionally, in order to more targetedly obtain sampled data, the method shown in Figure 12 is except including step s110, step
Outside s120 and step s130, also can be before step s110, including the step (not shown) adding sampling breakpoint.
Particularly, the step adding sampling breakpoint mays include: that the working lining in display system adds sampling breakpoint.As
Example, working lining mays include: application framework layer, hardware abstraction layer and operating system nucleus layer.As an example, can be in each work
Layer adds at least one breakpoint of sampling.
Correspondingly, the step starting at sampling breakpoint, display system to be sampled mays include: in response to adopting of receiving
Sample initiation command starts at the sampling breakpoint being added, display system to be sampled, to obtain sampled data.
With regard to adding the example of sampling breakpoint, it is described with reference to Fig. 2, will not be described in great detail here.
Additionally, for the fluency not affecting display system in sampling process, needing relatively quickly in sampling breakpoint
Place is sampled, and the sampled data of acquisition of sampling is generally than larger (for example, the liquid crystal display for 720p for resolution
Say, the size of sampled data is 3,000,000 about), in order to preserve the sampled data needing larger memory space, Tu12Suo more quickly
The method shown, in addition to including step s110, step s120, step s130 and the step adding sampling breakpoint, also can added
Between the step of sampling breakpoint and step s110, including the establishment step (not shown) of memory pool and the step of storage allocation block
(not shown).
Particularly, the step creating memory pool mays include: the memory pool creating for storing sampled data.Here, interior
Deposit pond and may include multiple memory blocks.
The step of storage allocation block mays include: distributes for storage by adopting described by each the sampling breakpoint being added
The memory block of the sampled data sampled and obtained at sample breakpoint.
In addition, the step ceased and desisted order with reception sampling in the step starting at sampling breakpoint, display system to be sampled
Between rapid, step s110 may also include that when being sampled at each the sampling breakpoint being added and obtained sampled data, with
The sampled data of acquisition is stored in the step in the memory block that sampling breakpoint is allocated by circular linked list mechanism.
Correspondingly, in step 120, after sampling stops, the sampled data that will be stored in the acquisition in each memory block is deposited
Store up in memory element.
Describe the example with regard to circular linked list memory mechanism with reference to Fig. 3, will not be described in great detail here.
Hereinafter, will describe in conjunction with Figure 13 to Figure 17 according to an exemplary embodiment of the present invention show in control end be used for examining
The method of the Diagnostics Interfaces of the display system of disconnected terminal.Methods described can be completed by the equipment shown in Fig. 4 to Fig. 8, also may be used
Realized by computer program.For example, methods described can be used for showing the application of Diagnostics Interfaces by being arranged in control end
To execute.
Figure 13 illustrates according to an exemplary embodiment of the present invention to show display system for diagnosis terminal in control end
The flow chart of the method for Diagnostics Interfaces.
With reference to Figure 13, in step 210, control terminal is sampled to the display system of terminal.Here, controllable terminal is opened
Begin at the sampling breakpoint for sampling, the display system of terminal to be sampled, or control terminal stops at sampling breakpoint pair
The sampling of the display system of terminal.
Figure 14 illustrates according to an exemplary embodiment of the present invention to show display system for diagnosis terminal in control end
The flow chart that control terminal in the method for Diagnostics Interfaces carries out sampling step s210.With reference to Figure 14, in step s211, transmission is adopted
Sample initiation command, in step s212, sends sampling and ceases and desist order.
Particularly, in step s211, generate sampling initiation command, and the sampling initiation command of generation is sent to end
End, starts at sampling breakpoint, display system to be sampled with control terminal.
As an example, in step s211, can receive for control terminal start sample start ask, according to start ask
Generate sampling initiation command.In this case, user's Non-follow control terminal can be easy to, make terminal start sampling breakpoint at pair
Display system is sampled.For example, the button that can provide the user correlation is to facilitate user input to start to ask.
In step s212, generate sampling and cease and desist order, and the sampling of generation is ceased and desisted order be sent to terminal, to control end
End stops at the sampling at sampling breakpoint to display system.
As an example, in step s212, the stopping request stopping sampling for control terminal can be received, according to stopping request
Generate sampling to cease and desist order.In this case, user's Non-follow control terminal can be easy to, make terminal stop at sampling breakpoint at pair
The sampling of display system.For example, the button that can provide the user correlation is to facilitate user input to stop request.
Figure 15 illustrates to show the display system for diagnosis terminal in control end according to another exemplary embodiment of the present invention
The flow chart that control terminal in the method for Diagnostics Interfaces of system carries out sampling step s210.With reference to Figure 15, except shown in Figure 14
In step s211, send sampling initiation command, in step s212, send outside sampling ceases and desist order, before step s211,
Control terminal carries out sampling step s210 and may also include that in step s213, monitors scheduled event, before step s212, controls
Terminal carries out sampling step s210 and may also include that in step s214, monitors whether described scheduled event terminates or described predetermined thing
When whether the persistent period of part is more than the scheduled time.
Particularly, in step s213, whether generation can lead to show abnormal making a reservation for monitoring terminal in the course of the work
Event.As an example, described scheduled event may include at least one of following item: the internal memory of terminal overflows, the cpu of terminal makes
Too high, terminal connection network interruption, the ui slip of terminal or the anr of terminal with rate.These scheduled events may result in different
Display is abnormal, and for example, the internal memory of terminal overflows and the too high screen that may result in terminal of cpu utilization rate of terminal no responds;Terminal
The network connecting interrupts may result in terminal picture when playing video to stop;The ui sliding time of terminal may result in the screen of terminal
Hua Ping;The anr of terminal may result in the screen-picture of terminal motionless etc..
Correspondingly, when monitoring to occur described scheduled event in step s213, execution step s211.When in step s214
The described scheduled event monitoring terminate or described scheduled event persistent period be more than the scheduled time when, execution step s212.
In this case, terminal can be made to start at sampling breakpoint, display system to be carried out according to scheduled event automatic control terminal
Sampling, or make terminal stop at the sampling to display system at sampling breakpoint.For example, when monitor occur internal memory overflow event
When, execution step s211, when the persistent period that the internal memory monitoring overflows event being more than the scheduled time, execution step s212.
Additionally, when not monitoring to occur described scheduled event in step s213, execution step s213 again.When in step
When the described scheduled event that rapid s214 does not monitor terminates or persistent period of described scheduled event is less than or equal to the scheduled time,
Execution step s214 again.
Referring again to Figure 13, in step s220, receive, from terminal, the sampled data obtaining by sampling.Here, as showing
Example, sampled data can carry out, to display system, the sampled data obtaining of sampling with preset frequency for terminal at sampling breakpoint, and
And, sampled data may include the frame information related at least one application showing by display system and status information.
As an example, receive sampled data step s220 and may include: that the step that transmission order is sent to terminal (is not shown
Go out) and receive sampled data step (not shown).
Particularly, by send order be sent to terminal step may include: generation send order, and will generate transmission
Order is sent to terminal, sends sampled data with control terminal.As an example, can receiving user's input for sending hits
According to transmission request, according to send request generate send order.As another example, stop life when sending sampling in step s212
After order, transmission order can be generated.
Receive sampled data step may include: receiving terminal according to described send that order sends obtained by sampling
Sampled data.
In step s230, generate the Diagnostics Interfaces of the display system for diagnosis terminal based on sampled data.As showing
Example, Diagnostics Interfaces may include diagnostic imaging window and condition diagnosing window, wherein, show with regard to being diagnosed in diagnostic imaging window
The two field picture of application, shows the working condition with regard to being diagnosed application in condition diagnosing window.Alternatively, described Diagnostics Interfaces can
Two field picture including the exception application being obtained based on sampled data analysis by specialist system and working condition, and with visual side
Formula arranges corresponding diagnostic imaging window and condition diagnosing window.
Figure 16 illustrates according to an exemplary embodiment of the present invention to show display system for diagnosis terminal in control end
The flow chart of generation Diagnostics Interfaces step s230 in the method for Diagnostics Interfaces.With reference to Figure 16, in step s231, generate image and examine
Disconnected window, in step s232, generates condition diagnosing window.
Particularly, in step s231, diagnostic imaging window is generated based on the frame information being diagnosed application.
In step s232, condition diagnosing window can be generated based on the status information being diagnosed application.
Figure 17 illustrates to show the display system for diagnosis terminal in control end according to another exemplary embodiment of the present invention
The flow chart of generation Diagnostics Interfaces step s230 in the method for Diagnostics Interfaces of system.With reference to Figure 17, except shown in Figure 16
Step s231, generates diagnostic imaging window, in step s232, generates outside condition diagnosing window, in step s231 and step
Before s232, generate Diagnostics Interfaces step s230 and may also include that in step s233, select static state display mode or Dynamic Announce side
Formula.
As an example, receive user the request of display mode can be selected, the request according to user is selecting display mode.
Particularly, under static state display mode, it is diagnosed application and may include at least one showing by display system
Application, show in diagnostic imaging window with regard to described at least one apply two field picture in predetermined instant, in condition diagnosing window
Display with regard to described at least one apply the working condition in described predetermined instant;Under dynamic display types, it is diagnosed application
May include the predetermined application at least one application described, show in diagnostic imaging window and make a reservation for apply in pre- timing with regard to described
Between section two field picture, show in condition diagnosing window with regard to the described predetermined working condition applied in described predetermined amount of time.
Correspondingly, in step s231, image can be generated and examine according to the static state display mode selecting or dynamic display types
Disconnected window.As an example, when the display mode selecting is static state display mode, described in obtaining in described predetermined instant
The frame information of at least one application generates diagnostic imaging window.As another example, when the display mode selecting is Dynamic Announce
During mode, the frame information based on the described predetermined application obtaining in described predetermined amount of time generates diagnostic imaging window.
And, in step s232, condition diagnosing can be generated according to the static state display mode selecting or dynamic display types
Window.As an example, when select display mode be static state display mode when, based on described predetermined instant obtain described in extremely
The status information of a few application generates condition diagnosing window.As another example, when the display mode selecting is Dynamic Announce
During mode, the status information based on the described predetermined application obtaining in described predetermined amount of time generates condition diagnosing window.
Additionally, when the display mode selecting is static state display mode, for the ease of selecting described predetermined instant, in step
S233, is also alternatively used for the described predetermined instant of static state display mode.Or, when the display mode selecting is Dynamic Announce side
During formula, for the ease of selecting described predetermined amount of time, in step s233, also it is alternatively used for the described predetermined of dynamic display types
Time period.
As an example, described predetermined instant or predetermined amount of time can be selected according to the input of user.
Additionally, in step s233, also can select dynamic from least one application being shown by the display system of terminal
The described predetermined application of display mode.Here, can be selected it from least one application showing by the display system of terminal
In one as Dynamic Announce described predetermined application.
Referring again to Figure 13, the Diagnostics Interfaces generating in step s240, display.As an example, can display for a user in step
Diagnostic imaging window and the condition diagnosing window generating in step s232 that rapid s231 generates.
In the method for display Diagnostics Interfaces according to an exemplary embodiment of the present invention, sampled data can be based in control end
Generate intuitively Diagnostics Interfaces such that it is able to effectively improve the efficiency of the display system of user's diagnosis terminal.
Describe the example with regard to Diagnostics Interfaces with reference to Fig. 9 to Figure 11, will not be described in great detail here.
In sum, in the apparatus and method that sampled data is provided according to an exemplary embodiment of the present invention, can be at end
End obtain terminal display system sampled data, according to an exemplary embodiment of the present invention display Diagnostics Interfaces device and
In method, in control end, Diagnostics Interfaces can be generated according to the sampled data that terminal obtains, so that user passes through Diagnostics Interfaces just
The display system of prompt ground diagnosis terminal, can effectively improve the efficiency of the display system of user's diagnosis terminal.
It should be noted that what each embodiment above of the present invention was merely exemplary, and the present invention is not limited to this.Example
As, the structure shown in Fig. 5, Fig. 6, Fig. 7 and Fig. 8 does not simultaneously lie in restriction control unit and Diagnostics Interfaces signal generating unit, and be only for
Illustrate.Those skilled in the art should understand that: without departing from the principles and spirit of the present invention, can be to these
Embodiment is changed, and wherein, the scope of the present invention limits in claim and its equivalent.
Claims (14)
1. a kind of device that the sampled data of display system for diagnosis terminal is provided in terminal, comprising:
Sampling unit, under the control of control end, samples to the display system of terminal at the sampling breakpoint for sampling,
To obtain the sampled data of the display system for diagnosis terminal;
Memory element, the sampled data that storage sampling unit obtains;
The sampling data transmitting that memory element stores is delivered to control end under the control of control end by transmitting element,
Wherein, sampled data includes the frame information related at least one application showing by display system and status information,
Wherein, frame information includes the image information of the two field picture of at least one application showing by display system, status information
Including the parameter of the working condition with regard at least one application described,
Wherein, sampling breakpoint is the sampling location of setting in the working lining of display system.
2. device as claimed in claim 1, also includes:
Breakpoint adding device, adds sampling breakpoint in the working lining of described display system, wherein, described working lining includes: application
Ccf layer, hardware abstraction layer and operating system nucleus layer,
Wherein, breakpoint adding device adds at least one breakpoint of sampling in each working lining.
3. device as claimed in claim 2, also includes:
Internal memory creating unit, creates the memory pool for storing sampled data, and wherein, described memory pool includes multiple memory blocks;
Memory block allocation unit, each the sampling breakpoint by being added distributes for storage by carrying out at described sampling breakpoint
The memory block of the sampled data sampled and obtain,
Wherein, when sampling unit is sampled at each the sampling breakpoint being added and obtained sampled data, described sampling
The sampled data that the memory block that breakpoint is allocated is obtained with the storage of circular linked list mechanism,
Wherein, after sampling unit stops sampling, memory element stores the sampled data of storage in each memory block.
4. a kind of device showing the Diagnostics Interfaces of display system for diagnosis terminal in control end, comprising:
Control unit, control terminal is sampled to the display system of terminal;
Receiving unit, receives, from terminal, the sampled data obtaining by sampling;
Diagnostics Interfaces signal generating unit, generates the Diagnostics Interfaces of the display system for diagnosis terminal based on sampled data;
Display unit, the Diagnostics Interfaces that display Diagnostics Interfaces signal generating unit generates,
Wherein, sampled data includes the frame information related at least one application showing by display system and status information,
Wherein, frame information includes the image information of the two field picture of at least one application showing by display system, status information
Including the parameter of the working condition with regard at least one application described,
Wherein, Diagnostics Interfaces include diagnostic imaging window and condition diagnosing window, wherein, show with regard to quilt in diagnostic imaging window
The two field picture of diagnostic application, shows the working condition with regard to being diagnosed application in condition diagnosing window,
Wherein, sampled data is that terminal carries out the hits obtaining of sampling at the sampling breakpoint for sampling to display system
According to,
Wherein, with dynamic display types or static state display mode display image diagnostic window and condition diagnosing window in Diagnostics Interfaces
Mouthful,
Wherein, under static state display mode, it is diagnosed application and includes at least one application described, in diagnostic imaging window, show pass
In described at least one apply two field picture in predetermined instant, show in condition diagnosing window with regard to described at least one apply
The working condition of described predetermined instant;Under dynamic display types, it is diagnosed pre- in application inclusion at least one application described
Fixed application, shows with regard to the described predetermined two field picture applied in predetermined amount of time, in condition diagnosing window in diagnostic imaging window
Display is with regard to the described predetermined working condition applied in described predetermined amount of time.
5. device as claimed in claim 4, wherein, control unit includes:
Sampling initiation command transmitter, generates sampling initiation command, and the sampling initiation command of generation is sent to terminal, to control
Terminal processed starts at the sampling breakpoint for sampling, display system to be sampled;
Sampling is ceased and desisted order transmitter, generates sampling and ceases and desist order, and the sampling of generation is ceased and desisted order is sent to terminal, to control
Terminal processed stops at the sampling at sampling breakpoint to display system.
6. device as claimed in claim 5, wherein, sampling initiation command transmitter receives and starts sampling for control terminal
Start to ask, generate sampling initiation command according to starting request.
7. device as claimed in claim 5, wherein, sampling cease and desist order transmitter receive for control terminal stop sampling
Stop request, cease and desist order according to stopping request generation sampling.
8. device as claimed in claim 5, wherein, control unit also includes:
Monitor, whether generation can lead to show abnormal scheduled event monitoring terminal in the course of the work;
Wherein, when monitor monitors to occur described scheduled event, sampling initiation command transmitter generates sampling initiation command.
9. device as claimed in claim 8, wherein, when the described scheduled event that monitor monitors terminates or described predetermined thing
The persistent period of part be more than the scheduled time when, sampling cease and desist order transmitter generate sampling cease and desist order.
10. device as claimed in claim 8, wherein, described scheduled event includes at least one of following item: terminal interior
Deposit spilling, the network that cpu utilization rate is too high, terminal connects of terminal interrupts, the user interface of terminal is slided or the application of terminal
No respond.
11. devices as claimed in claim 4, wherein,
Described Diagnostics Interfaces signal generating unit includes:
Image composer, generates diagnostic imaging window based on the frame information being diagnosed application;
Condition generator, generates condition diagnosing window based on the status information being diagnosed application.
12. devices as claimed in claim 11, Diagnostics Interfaces signal generating unit also includes:
Display mode selector, selects static state display mode or dynamic display types,
The static state display mode that image composer selects according to display mode selector or dynamic display types generate image and examine
Disconnected window, and, the static state display mode that selected according to display mode selector of condition generator or dynamic display types next life
Become condition diagnosing window.
13. devices as claimed in claim 12, wherein, display mode selector is additionally operable to select the institute for static state display mode
State predetermined instant or the described predetermined amount of time for dynamic display types.
14. devices as claimed in claim 12, wherein, display mode selector is additionally operable to select from least one application described
The described predetermined application of dynamic display types.
Priority Applications (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410395707.7A CN104159103B (en) | 2014-08-12 | 2014-08-12 | Device and method for providing sampling data, and device and method for displaying diagnosis interface |
KR1020150084327A KR102282194B1 (en) | 2014-08-12 | 2015-06-15 | A device and method of providing sampled-data and displaying a diagnosis interface |
US14/824,176 US9984606B2 (en) | 2014-08-12 | 2015-08-12 | Device and method of providing sampled data and device and method of displaying diagnosis interface |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410395707.7A CN104159103B (en) | 2014-08-12 | 2014-08-12 | Device and method for providing sampling data, and device and method for displaying diagnosis interface |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104159103A CN104159103A (en) | 2014-11-19 |
CN104159103B true CN104159103B (en) | 2017-01-18 |
Family
ID=51884495
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410395707.7A Expired - Fee Related CN104159103B (en) | 2014-08-12 | 2014-08-12 | Device and method for providing sampling data, and device and method for displaying diagnosis interface |
Country Status (2)
Country | Link |
---|---|
KR (1) | KR102282194B1 (en) |
CN (1) | CN104159103B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105763950A (en) * | 2014-12-19 | 2016-07-13 | 中兴通讯股份有限公司 | Bullet screen display method and system |
EP3270371B1 (en) * | 2016-07-12 | 2022-09-07 | NXP USA, Inc. | Method and apparatus for managing graphics layers within a graphics display component |
CN110703726B (en) * | 2019-09-26 | 2021-07-30 | 上海赫千电子科技有限公司 | Automatic upgrading test method applied to locomotive |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101175285A (en) * | 2006-11-01 | 2008-05-07 | 联想移动通信科技有限公司 | Automatic testing method and system for mobile phone software |
CN201449272U (en) * | 2009-06-09 | 2010-05-05 | 伍连保 | Full-automatic mobile phone vision tester |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR0151353B1 (en) * | 1995-06-14 | 1998-10-15 | 김광호 | The self dignostic circuit and method of monitor |
JP2009253720A (en) * | 2008-04-08 | 2009-10-29 | Shibasoku:Kk | Signal generator, signal generation method and testing method |
CN103002312A (en) * | 2011-09-14 | 2013-03-27 | 孕龙科技股份有限公司 | Signal analysis method |
CN202721765U (en) * | 2012-03-05 | 2013-02-06 | 东莞市每通电子科技有限公司 | Vision detection system of mobile terminal |
CN103905814A (en) * | 2014-03-12 | 2014-07-02 | 深圳创维数字技术股份有限公司 | Method and device for detecting interface displaying |
-
2014
- 2014-08-12 CN CN201410395707.7A patent/CN104159103B/en not_active Expired - Fee Related
-
2015
- 2015-06-15 KR KR1020150084327A patent/KR102282194B1/en active IP Right Grant
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101175285A (en) * | 2006-11-01 | 2008-05-07 | 联想移动通信科技有限公司 | Automatic testing method and system for mobile phone software |
CN201449272U (en) * | 2009-06-09 | 2010-05-05 | 伍连保 | Full-automatic mobile phone vision tester |
Also Published As
Publication number | Publication date |
---|---|
CN104159103A (en) | 2014-11-19 |
KR20160019850A (en) | 2016-02-22 |
KR102282194B1 (en) | 2021-07-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP2715531B1 (en) | Asynchronous handling of a user interface manipulation | |
EP2438576B1 (en) | Displaying a visual representation of performance metrics for rendered graphics elements | |
CN100479530C (en) | Mixed reality space image generation method and mixed reality system | |
US20130280678A1 (en) | Aircrew training system | |
CN104159103B (en) | Device and method for providing sampling data, and device and method for displaying diagnosis interface | |
CN112114916B (en) | Method and device for compatibly running Android application on Linux operating system | |
RU2009108651A (en) | EFFECTIVE DIAGNOSTIC APPLICATIONS, DEPENDING ON THE IMAGE AND CONTEXT RELATING TO ANATOMY | |
US9705936B2 (en) | System and method for interactive and real-time visualization of distributed media | |
KR20110033306A (en) | Mapping graphics instructions to associated graphics data during performance analysis | |
CN106681701A (en) | Task display method and device | |
CN110572591A (en) | KVM (keyboard, video and mouse) agent system signal source preview system and method | |
Beard | Designing a radiology workstation: a focus on navigation during the interpretation task | |
CN102369536A (en) | Image display device, image display method, and recording medium | |
US10955502B2 (en) | MRI apparatus control system, a user interface for managing the said control system and an MRI system comprising the said control system and the said user interface | |
JP5450624B2 (en) | Performance analysis in visual creation of graphics images | |
JP2020532015A5 (en) | ||
US20090267940A1 (en) | Method and apparatus for curved multi-slice display | |
US9984606B2 (en) | Device and method of providing sampled data and device and method of displaying diagnosis interface | |
US7757001B2 (en) | System, method and graphical user interface for identifying image from remote site during screen sharing | |
CN113407138A (en) | Application program picture processing method and device, electronic equipment and storage medium | |
CN114780188B (en) | Webpage 3D model top display method, system, terminal and storage medium | |
JP2006350675A (en) | Software test system | |
CN115086773A (en) | Enhanced visualization and playback of ultrasound image loops using identification of keyframes within the image loop | |
CN111104114B (en) | Method, system and equipment for realizing self-belt-state controllable carousel graph component | |
CN111831497B (en) | Equipment simulation method and device, storage medium and simulation terminal |
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 | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20170118 Termination date: 20170812 |