CN106603787A - Terminal testing method, device and terminal - Google Patents

Terminal testing method, device and terminal Download PDF

Info

Publication number
CN106603787A
CN106603787A CN201611076289.0A CN201611076289A CN106603787A CN 106603787 A CN106603787 A CN 106603787A CN 201611076289 A CN201611076289 A CN 201611076289A CN 106603787 A CN106603787 A CN 106603787A
Authority
CN
China
Prior art keywords
terminal
video
tested
image
display image
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201611076289.0A
Other languages
Chinese (zh)
Other versions
CN106603787B (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.)
Nubia Technology Co Ltd
Original Assignee
Nubia Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201611076289.0A priority Critical patent/CN106603787B/en
Publication of CN106603787A publication Critical patent/CN106603787A/en
Application granted granted Critical
Publication of CN106603787B publication Critical patent/CN106603787B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/24Arrangements for testing

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Testing, Inspecting, Measuring Of Stereoscopic Televisions And Televisions (AREA)

Abstract

The invention discloses a terminal testing method, device and terminal. When a tested terminal is tested, a terminal testing device caches a display image on a tested terminal display interface. When the tested terminal has an abnormal problem, the terminal testing device can generate a scene recovery video based on the cached display image and the occurrence time of the abnormal problem. Testing operation prior to the abnormal problem is presented to a research and development workers through the generated scene recovery video so that the research and development workers can understand the testing operation performed on the terminal before the abnormal problem directly according to the scene recovery video so as to accurately determine the cause of the abnormal problem and give a solution to solve the abnormal problem. The process of recording the testing operation before the abnormal problem is high in reliability and objectivity, avoids a case that it is difficult or completely impossible to repeat the testing operation before the abnormal problem to depend on the memory of a tester in the prior art, and improves the efficiency of the testing operation.

Description

A kind of terminal test method, device and terminal
Technical field
The present invention relates to field of terminal technology, more particularly, it relates to a kind of terminal test method, device and terminal.
Background technology
In order that it is supplied to the terminal of users more perfect in every respect, closer in the demand of user, now each big end End manufacturer, not only can understand emphatically the market demand when design terminal is produced, for example, open up and be specifically designed for Consumer's Experience " Consumer's Experience plan " is collecting requirement of the user to terminal.Also integrated survey can be carried out after the exploitation of terminal modules is completed Examination, analog subscriber is to the various use scenes of terminal determining the support situation of these scenes of terminal-pair.For example, test terminal exists Browsing device net page load condition under different network environments;The broadcasting situation of local music and Online Music;Terminal-pair not identical text The support situation of part type, different coding type video;And terminal is in the call scenarios etc. of different operators environment, so as to Terminal finds that the problem that terminal hides into before market and is improved, there is provided to user performance is more powerful, function is completeer Kind, the more preferable local specialties of Experience Degree.
Terminal integration testing is exactly the actual use scene of analog subscriber, and in actual use, user is to terminal Demand be many, for example, user may need music is played while webpage is browsed, or user viewing video When be connected to phone, or user repeatedly have adjusted display properties of video etc. when video is watched, due to user Demand there is multiformity, therefore, it is too numerous to enumerate similar to this situation.Tester is in the mistake being simulated to these scenes Cheng Zhong, terminal may occur abnormal, such as flower screen, blank screen, decoding when Internet video is played when one unexpected Time delay, interim card etc., when certain scene call goes out exception, tester needs to inform the concrete of research staff's appearance extremely Situation, for example, terminal is that just occur these exceptions after it experienced what operating process, except operation itself, also It is also the key of solve problem including each sequencing for operating.But due to terminal interaction, the complexity of operating procedure, test Engineer clearly remembers the order of each operating procedure and each operating procedure, that is to say, that tester is difficult to repeat The abnormal operating process for occurring again.This result in research staff be difficult to analyze, position cause abnormal root because, to terminal and The exploitation of terminal applies and integration testing bring huge difficulty.
The content of the invention
The technical problem to be solved in the present invention is:In prior art during terminal test, tested terminal goes out When now abnormal, tester is difficult to repeat abnormal there is experienced operating process, it is difficult to for research staff provide positioning, Abnormal help is solved, for the technical problem, there is provided a kind of terminal test method, device and terminal.
To solve above-mentioned technical problem, the present invention provides a kind of terminal test device, and described device includes:
Image buffer storage module, for, during testing to tested terminal, showing to the tested terminal The display image at interface is cached;
Video generation module, for the display figure when abnormal problem occurs in the tested terminal, based on caching Picture and the time for abnormal problem occur generate scene recovery video.
Further, the invention provides a kind of terminal, including terminal test device as above
Further, present invention also offers a kind of terminal test method, including:
During testing to tested terminal, the display image of the tested terminal display interface is carried out Caching;
After there is abnormal problem in the tested terminal, based on caching the display image and there is abnormal problem Time generate scene recovery video, the scene recovery video be used to showing it is abnormal occur before test operation.
Further, also included before testing to tested terminal:The image for opening the tested terminal delays Deposit enable.
Further, the mode for opening the image buffer storage enable of the tested terminal includes:
The cache instruction that receive user is issued, the image buffer storage for opening the tested terminal based on the cache instruction make Energy;
Or,
When the tested terminal is detected under tested pattern, the image for automatically turning on the tested terminal delays Deposit enable.
Further, also include:The display image to having cached is deleted.
Further, the display image to having cached carry out deleting including mode include it is following it is several in it is any It is a kind of:
The tested terminal closedown or when restarting, deletes the display image for caching before this;
When the image buffer storage enabled state of the tested terminal changes, the display for caching before this is deleted Image;
The display image that user specifies is deleted according to the image-erasing instruction that user issues.
Further, the display image that deletion user specifies is instructed to include according to the image-erasing of user:
When the display image for having cached exceedes predetermined threshold value, information is issued the user with;
Receive user is instructed according to the image-erasing that the information is returned, and described image deletion instruction is solved Analysis, determines the display image to be deleted that user specifies;
The display image described to be deleted that deletion is determined.
Further, based on caching the display image and the time for abnormal problem occur generates scene recovery video Including:
The video for receiving the time generation occurred based on the abnormal problem generates instruction;
Parse the video and generate the initial time and termination time for instructing and obtaining generation video;
The display image stored between the initial time and the termination time is extracted, and it is described aobvious according to what is extracted Diagram picture generates scene recovery video.
Further, the initial time that the parsing video generation instructed and obtained generation video was included with the termination time:
If generating in instruction from the video and only parsing a time, the time for parsing is regarded as generation The initial time of frequency, the time that the tested terminal occurs exception are defaulted as generating the termination time of video;
If generate in instruction from the video parsing two times, will be preceding as generation in described two times The initial time of video, will be described two between in the posterior time as generate video the termination time.
Beneficial effect
The embodiment of the present invention provides a kind of terminal test method, device and terminal, what is tested to tested terminal During, terminal test device can be cached to the display image of tested terminal display interface;When tested terminal occurs After abnormal problem, terminal test device can generate field based on the display image of caching and the time for abnormal problem occur Scape recovery video, shows the test operation before abnormal generation so that grind by the scene recovery video for generating to research staff The personnel of sending out directly can recognize before the abnormal generation test operation experienced by terminal according to scene recovery video, so as to standard It is determined that the reason for position occurs extremely, and then provide the scheme for solving exception.In the embodiment of the present invention there is it in this recording exceptional The process of front test operation has the reliability of height, objectivity, it is to avoid the note of tester is only relied upon in prior art Being difficult to caused by recalling accurately repeats the problem that abnormal front operating process even can not be repeated completely, improves test operation Efficiency.
Description of the drawings
Below in conjunction with drawings and Examples, the invention will be further described, in accompanying drawing:
A kind of flow chart of terminal test methods of the Fig. 1 to provide in first embodiment of the invention;
Fig. 2 is a kind of flow chart of terminal test device generation scene recovery video in first embodiment of the invention;
Fig. 3 is a kind of Organization Chart of tested terminal in second embodiment of the invention;
Fig. 4 is a kind of man-machine interaction figure for providing in second embodiment of the invention;
A kind of structural representation of terminal test devices of the Fig. 5 to provide in third embodiment of the invention;
Another kind of structural representation of terminal test devices of the Fig. 6 to provide in third embodiment of the invention;
A kind of structural representation of terminal test devices of the Fig. 7 to provide in fourth embodiment of the invention;
A kind of structural representation of terminals of the Fig. 8 to provide in fifth embodiment of the invention;
Fig. 9 is the hardware architecture diagram for realizing the optional mobile terminal of each embodiment one of the invention.
Specific embodiment
It should be appreciated that specific embodiment described herein is not intended to limit the present invention only to explain the present invention.
First embodiment:
In order to solve in prior art when testing to tested terminal, can be because test operating procedure be numerous It is miscellaneous, and cause tester after tested terminal occurs exception, it is difficult to accurate reproduction causes tested terminal that exception occurs The problem of test operation, the present embodiment provide a kind of terminal test method, and the method can be performed by terminal test device, please With reference to Fig. 1:
S102, during testing to tested terminal, terminal test device is to tested terminal display interface Display image cached.
As tested terminal is when tested personnel carry out operations, its display interface can be with operator Operation and change, for example, when operator open video playback interface, the display interface of tested terminal will The picture of current played video correspondence frame can be presented;Brightness of the tester to tested terminal plays video is adjusted When, the brightness of tested terminal not only display picture can be improved, and can also in the display picture that may be in course of adjustment Show the process that adjustment control changes;When tester browses webpage by tested terminal, tested terminal Display interface will show corresponding webpage;If tester controls tested terminal from a page jump to other one The individual page, then the page of tested terminal the page after redirecting can be not only presented, the display in jump procedure may also can be presented Picture.As above example, under the operation of tester, its display picture can also be presented other changes to tested terminal Change process.Although it is understood that the output of tested terminal is to the shape that the picture of its display screen is with image on a display screen What formula was present, but these images are all exist with digital signal in tested terminal inner, and terminal test device is to tested These digital signals of examination terminal are stored.The picture of storage is played back with certain speed after storage and can just be formed Video.
Due to the special physiological structure of human eye, human eye in observing scene, the incoming cerebral nerve of optical signal, need through One of short duration time, after the effect of light terminates, visual image does not disappear immediately, and the vision of this residual claims " after image ", depending on This phenomenon felt then is referred to as " persistence of vision ".If in fact, when the frame per second of seen picture is higher than 16, will be recognized For be it is coherent, therefore, although electronic equipment play video when, frame per second is to be not quite similar, nearly all electronic equipment Frame per second when video is played is both greater than 20.For example, the frame per second of radio and television is 25 frames/s, and the frame per second of common mobile terminal 30 frames/s is mostly, or even the frame per second of part mobile terminal can reach 60 frames/s.Due to the effect of human vision effect, the mankind The video that electronic equipment is played can just be seen.Also the frame per second just because of tested terminal may recognize non-coherent much larger than the mankind The ability of picture, therefore, in the present embodiment, terminal test device, can be without when the display picture of tested terminal is cached Store all pictures that tested terminal showed, but the picture shown from tested terminal according to certain sample frequency It is middle to extract a part of picture and stored.For example, it is when tested terminal shows that the frame per second of video is 60 frames/s that is, tested When will show 60 image frames in the terminal time per second, but terminal test device can with this 60 images at interval of one Open picture selection one to be cached, even so, the image chosen out still there are 30, by this 30 pictures in the same second Interior frame per second when playing out according to original sequencing still up to 30 frames/s, this is still able to shape for the mankind Into coherent video.But after screening, terminal test device needs the picture of caching greatly reduce such that it is able to save The memory space of storage display picture, reduces the requirement to terminal test device memory space.
Beyond all doubt, terminal test device is when tested terminal display is cached, it is also possible to without sieve Select and be directed to whole display pictures and stored.Or when selecting extraction tested terminal display, can not According to 1:The ratio of 2 (extracting one in i.e. two to be stored) is screened, it is also possible to according to 2:3 or 4:5 equal proportions are entered OK, as long as 16 can be more than for the picture that each second extracts.
In the middle of above-mentioned example, when tested terminal is during being test for, terminal test device can cache quilt automatically The display image of test terminal, this can detect the pattern residing for tested terminal, work as terminal mainly due to terminal test device When test device detects tested terminal under tested pattern, terminal test device can automatically turn on tested terminal Image buffer storage is enabled, to cache display image of the tested terminal in test process shown by display interface.
But as terminal test device is when the display picture of tested terminal is cached, it will make tested terminal system Internal memory, CPU, GPU and power consumption are dramatically increased, and sometimes tester some simple tests are carried out to tested terminal, Abnormal scene recovery video need not be generated the mistake for causing tested terminal that abnormal test operation occurs just can be repeated with oneself Journey is how, therefore, in such a case, it is possible to enable without the image buffer storage for opening tested terminal.So, in the present embodiment Another kind of example in the middle of, it is to issue cache instruction according to user by terminal test device that the image buffer storage of tested terminal is enabled Open.That is, if carrying out caching to the display image of tested terminal can be determined by tester, relative to straight For taking out the scheme that tested terminal image caching is enabled, this image buffer storage controlled by tester enables switch Process may more meet the wish of tester, give tester and more select space.
In addition, tester can also send instructions to terminal test device, instruction terminal test device is closed tested The image buffer storage of terminal is enabled, close the scheme that image buffer storage enables be applied to it is above-mentioned automatically turned on by terminal test device it is tested Examination terminal image caching is enabled and tester passes through the image that cache instruction instruction terminal test device opens tested terminal The scheme that caching is enabled.Enable tester that the image buffer storage of tested terminal is closed in some simple test processs Enable, so as to reduce the occupancy to tested terminal system disposal ability and performance.
S104, after there is abnormal problem in tested terminal, terminal test device based on caching display image and go out The time of existing abnormal problem generates scene recovery video.
After tested terminal occurs exception under the test operation of tester, tester needs multiple to research staff What the test operation that stating causes terminal exception occur is successively, and more complicated for test operating procedure, tester can Aid in determining the test behaviour before abnormal generation to generate scene recovery video by the terminal test device in the present embodiment Make, scene recovery video can show the test operation before abnormal generation.
It should be noted that terminal test device generate scene recovery video be currently occur for tested terminal it is different Often generate, therefore, the time that will be occurred based on tested terminal abnormal when generating scene recovery video is generated.Generally, Tester voluntarily can generate the time by input video, including initial time and the time of termination of video, different in order to determine The termination set of time for generating video typically the moment for abnormal by the reason for often occurring, tester can occur.And generate video Initial time then decided in its sole discretion by tester's general layout practical situation.Therefore, in the middle of the other example of the present embodiment, user The initial time for generating video can be only input into, by terminal test device using the abnormal time for occurring as the termination for generating video Time.
The display image and the time for abnormal problem occur below to terminal test device based on caching generates field The process of scape recovery video is simply introduced, and refers to Fig. 2:
S202, terminal test device receive the video generation instruction for generating the time occurred based on abnormal problem.
Video generates instruction is given birth to according to tested terminal abnormal problem time of occurrence by tester or research staff Into, there is the abnormal time as tester may become more apparent upon tested terminal relative to research staff, and it is tested When examination terminal occurs abnormal, tester should be in same position with which, and tested personnel can immediately according to instantly Time generate scene recovery video, therefore, in the present embodiment, to terminal test device send video generate instruction it is basic All it is tester.It is understood that tested terminal can also be recorded by tester occurs the abnormal time, work as research and development When personnel are the reason for positioning tested terminal abnormal, scene recovery video is generated further according to the time of tester's record, because This, video generates instruction and can also be issued by research staff.
S204, terminal test device parsing video are generated and instruct and obtain the initial time and termination time for generating video.
Based on introduction above, it will be understood that, in the present embodiment, video can include needing life in generating instruction Into initial time and the time of termination of video, it is also possible to only including the initial time for generating video.So working as terminal test device When being parsed only from video generation instruction a time, can give tacit consent to the time that tested terminal abnormal is occurred into the moment As generate the time the termination time.If parsing two times, can using the preceding time in two times as Generation is the initial time of video, using the posterior time as the termination time for generating video.
S206, terminal test device extract initial time and the display image stored between the termination time, and according to extraction The display image for going out generates scene recovery video.
After terminal test device gets the initial time and termination time for generating video, it will aobvious from what is stored before Initial time and the display image between the termination time are extracted in diagram picture, and it is multiple scene to be generated based on the display image for extracting Former video.
The terminal test method provided in the present embodiment, by display interface is shown in test process to tested terminal The display image shown is cached, and when tested terminal breaks down, can pass through the display image generation of caching Scene recovery video recording tested terminal test operation for being experienced before it there is exception, generate scene recovery video it Afterwards, what research staff can be just according to scene recovery video the reason for accurately understanding causes tested terminal to occur abnormal, Do not need that tester is same as language or word is stated to research staff, it is to avoid tester subjective expression is inaccurate, Mislead the problem of research staff;Simultaneously as eliminate research staff link up with tester the plenty of time for spending, therefore, Terminal production efficiency can be lifted.
Second embodiment:
In order that those skilled in the art are it will be appreciated that the advantage and details of terminal test method, the present embodiment will be with reference to tool The example of body is introduced to which.
In the present embodiment, the display image that terminal test device is preserved is the image in frame buffer (frame buffering) Data.Terminal test device can pass through the value of cache frame buffer image enable (image frame buffer enable) Image buffer storage to control tested terminal is enabled, as tested terminal system attribute cache frame buffer image When the value of enable is 1, characterizes tested terminal and currently had been switched on image buffer storage function.As cache frame When the value of buffer image enable is 0, the image buffer storage function of characterizing tested terminal is not currently activated.
The worth sizes of cache frame buffer image enable can be by terminal test device to tested terminal Pattern detected that, when tested terminal is under the tested pattern, terminal test device can be cache frame Buffer image enable are entered as " 1 ", and the image buffer storage for opening tested terminal is enabled, when tested terminal is in non- Under test pattern, then terminal test device can be entered as " 0 " for cache frame buffer image enable, closed The image buffer storage of tested terminal is enabled.In the middle of some other examples of the present embodiment, cache frame buffer Image enable are worth size be input into by cache instruction by user, when user input cache instruction is to indicate to open quilt During the image buffer storage function of test terminal, cache instruction of the terminal test device according to tester, by cache frame The value of buffer image enable is revised as " 1 ", closes tested terminal when the cache instruction of tester's input is characterized When image buffer storage is enabled, terminal test device is then by the cache frame buffer image enable values of tested terminal It is revised as " 0 ".
It is opened when the image buffer storage of tested terminal is enabled, that is, cache frame buffer image When the value of enable is 1, terminal test device can call create Cache Test Procedure () to create one Individual test caching process.As shown in figure 3, in the present embodiment, test caching process 33 is based on linux kernel (Linux Kernel) 32, and linux kernel 32 then needs the support of various hardware 31.It is various types of to be in top in whole framework The application program 36 of type, exploitation and the operation of application program are all based on application framework 35, and application framework 35 passes through call function storehouse Each function in 34 is realizing the various functions of application program 36.
This carry out central terminal test device can by interface save Frame Buffer Image () to show boundary The display image in face is stored, the present embodiment an example work as this, terminal buffers device can with 640 × 480 point Resolution preserves the view data in frame buffer.The cache path of display image can be such as:/mnt/sdcard/ Debug/framebuffer/ year-month-day-when-point-second-millisecond .jpg.Corresponding to the create for creating test caching process Cache Test Procedure () interfaces, in the present embodiment, terminal test device may call upon release Cache Test Procedure () interfaces test caching process to destroy, discharge.
Once tested terminal occurs exception in test process, terminal test device can be according to tester's input Video generates instruction, calls input Start And End Time () interfaces, input that the initial time of video file is generated With the time of termination, finally using output Video File () interfaces are according to the initial time of input and terminate the time, extraction Display image in this time is generated video by the display image of caching, and in the middle of a kind of example of the present embodiment, terminal is surveyed Trial assembly is put and can generate scene with AVC (H.264High Profile, 640 × 480 resolution, the frame per second of 30fps) coding and restore Video, the scene recovery video file of generation can preserve to:/ mnt/sdcard/debug/test/ year-month-day-when-point .mp4。
Simultaneously as the caching of display image expends memory space very much, therefore, when necessary, terminal test device Need to empty the view data of caching, with release disk space.Terminal test device can be by calling clear Pre Cached Images () is removing buffered data.The display image to having cached carry out deleting including mode Including so several:
The first, in tested terminal closedown or when restarting, deletes the display image for caching before this.As north side is Terminal closedown can characterize the current test of tested terminal when restart and have finished on, and exit test pattern A kind of performance, therefore, it can all remove all display images for storing before at this moment.
Second, when the image buffer storage enabled state of tested terminal changes, namely cache frame buffer When the value of image enable changes, can become from 0 in the value of cache frame buffer image enable For 1 when, it is also possible to when its value is changed into 0 from 1, when the value of cache frame buffer image enable is from 0 When being changed into 1, sign will open the test for surveying a new round, and now, terminal test device can delete the institute for storing before Some display images;And when the value of cache frame buffer image enable is changed into 0 from 1, characterize currently Display image need not be stored, it is different from the test phase for storing display image before, therefore, it can delete before this The display image of storage is vacateing memory space.
The third, deletes the display image that user specifies according to the image-erasing instruction that user issues.Delete aobvious by user In the scheme of diagram picture, terminal test device can be monitored to the quantity of buffered display image, when discovery is delayed When the display image deposited exceedes predetermined threshold value, terminal test device can issue the user with information, point out user to slow The display image deposited is deleted, and then receive user is instructed according to the image-erasing that information is returned, and to image-erasing Instruction is parsed, and determines the display image to be deleted that user specifies;The display image to be deleted determined is deleted finally. Specify to terminal test device need to delete which display image when, user can refer in deletion according to the demand of oneself Specified in order.But it is to be appreciated that terminal test device can preselect the display image number that part can be deleted According to then in information, prompting user deletes the view data that this part is selected, when the deletion instruction catalogue that user returns is agreed When determining, that is, characterize user and agree to delete this not sub-image data.It is this that the display image data that can be deleted is supplied to User, can avoid user effort energy to screen needs the volume view data deleted, and gives user and preferably experiences.Terminal is surveyed Trial assembly is put when issuing the user with information, can be carried out in the form of pop-up illustrated in fig. 4.
In the present embodiment, generation dynamic base can also be carried out for image buffer storage, so that tester is to hardware condition When different various tested terminals is tested, the test can be called to cache process by terminal test device, For the ease of it will be appreciated by those skilled in the art that in the present embodiment, there is provided a kind of scheme for generating dynamic base:
It is possible, firstly, to configure Android.mk files, LOCAL_MODULE=lib Cache Test are set Procedure, reference to variable include $ ((BUILD_SHARED_LIBRARY);Then according to configuration attribute, compiling generates one Individual public dynamic base lib Cache Test Procedure.so are called for Frame Buffer;Finally, the dynamic that will be generated The path in storehouse is set to out/target/Project Name/system/lib/lib Cache Test Procedure.so.
The terminal test method that the present embodiment is provided, can not only create special envoy's caching process and come to tested terminal test mould Display image under formula is cached, it is ensured that stage casing can be easier to determine after there is exception causes abnormal test Operating process;Can also to it is currently buffered, and the display image data that do not have value timely cleared up, it is ensured that There are enough spatial caches to store new display image.Meanwhile, the terminal test method in the present embodiment can also be slow for test Cheng Shengcheng dynamic bases are deposited into, the terminal test of the present embodiment offer can be used for the tested terminal of various hardware supported Method is tested, and improves the versatility of the present embodiment terminal test method.
3rd embodiment:
The present embodiment provides a kind of terminal test device for performing terminal test method in first embodiment, refer to Fig. 5:
Terminal test device 50 includes image buffer storage module 502 and video generation module 504.Tested terminal is being carried out During test, image buffer storage module 502 is for caching to the display image of tested terminal display interface.To quilt During test terminal is tested, video generation module 504 delays to the display image of tested terminal display interface Deposit.
As tested terminal is when tested personnel carry out operations, its display interface can be with operator Operation and change, for example, when operator open video playback interface, the display interface of tested terminal will The picture of current played video correspondence frame can be presented;Brightness of the tester to tested terminal plays video is adjusted When, the brightness of tested terminal not only display picture can be improved, and can also in the display picture that may be in course of adjustment Show the process that adjustment control changes;When tester browses webpage by tested terminal, tested terminal Display interface will show corresponding webpage;If tester controls tested terminal from a page jump to other one The individual page, then the page of tested terminal the page after redirecting can be not only presented, the display in jump procedure may also can be presented Picture.As above example, under the operation of tester, its display picture can also be presented other changes to tested terminal Change process.Although it is understood that the output of tested terminal is to the shape that the picture of its display screen is with image on a display screen What formula was present, but these images are all exist with digital signal in tested terminal inner, 502 pairs of quilts of image buffer storage module These digital signals of test terminal are stored.After storage the picture of storage is played back with certain speed just can shape Into video.
Due to the special physiological structure of human eye, human eye in observing scene, the incoming cerebral nerve of optical signal, need through One of short duration time, after the effect of light terminates, visual image does not disappear immediately, and the vision of this residual claims " after image ", depending on This phenomenon felt then is referred to as " persistence of vision ".If in fact, when the frame per second of seen picture is higher than 16, will be recognized For be it is coherent, therefore, although electronic equipment play video when, frame per second is to be not quite similar, nearly all electronic equipment Frame per second when video is played is both greater than 20.For example, the frame per second of radio and television is 25 frames/s, and the frame per second of common mobile terminal 30 frames/s is mostly, or even the frame per second of part mobile terminal can reach 60 frames/s.Due to the effect of human vision effect, the mankind The video that electronic equipment is played can just be seen.Also the frame per second just because of tested terminal may recognize non-coherent much larger than the mankind The ability of picture, therefore, in the present embodiment, image buffer storage module 502, can not when the display picture of tested terminal is cached The all pictures shown with the tested terminal of storage, but the picture shown from tested terminal according to certain sample frequency Extract a part of picture to be stored in face.For example, it is when tested terminal shows that the frame per second of video is 60 frames/s that is, tested When examination terminal will show 60 image frames in the time per second, but image buffer storage module 502 can be with every in this 60 images One, interval picture is chosen one and is cached, and even so, the image chosen out still has 30, and this 30 pictures are existed Frame per second when playing out according to original sequencing in the same second still up to 30 frames/s, this for the mankind, or Coherent video can be formed.But after screening, image buffer storage module 502 needs the picture of caching greatly reduce, from And the memory space for storing display picture can be saved, reduce the requirement to 50 memory space of terminal test device.
Beyond all doubt, image buffer storage module 502 is when tested terminal display is cached, it is also possible to without Screen and be directed to whole display pictures and stored.Or when selecting extraction tested terminal display, can be with Not according to 1:The ratio of 2 (extracting one in i.e. two to be stored) is screened, it is also possible to according to 2:3 or 4:5 equal proportions Carry out, as long as 16 can be more than for the picture that each second extracts.
In the middle of above-mentioned example, when tested terminal is during being test for, image buffer storage module 502 can be cached automatically The display image of tested terminal, this can detect the pattern residing for tested terminal mainly due to terminal test device 50, In the middle of another example of the present embodiment, as shown in fig. 6, terminal test device 50 also includes state adjusting module 506, work as shape When state adjusting module 506 detects tested terminal under tested pattern, state adjusting module 506 can automatically turn on tested The image buffer storage of examination terminal is enabled, to cache display image of the tested terminal in test process shown by display interface.
But as image buffer storage module 502 is when the display picture of tested terminal is cached, it will make tested terminal system The internal memory of system, CPU, GPU and power consumption are dramatically increased, and tester is carrying out some simple surveys to tested terminal sometimes Examination, it is not necessary to which generating abnormal scene recovery video and just being repeated with oneself causes tested terminal that abnormal test operation occurs Process is how, therefore, in such a case, it is possible to enable without the image buffer storage for opening tested terminal.So, in this enforcement In the middle of another kind of example of example, the image buffer storage of tested terminal enable be issued according to user by state adjusting module 506 it is slow Deposit instruction unpack.That is, if carrying out caching to the display image of tested terminal can be determined by tester, phase For the scheme that tested terminal image caching is enabled directly is opened, this image buffer storage controlled by tester is enabled The process of switch may more meet the wish of tester, give tester and more select space.
In addition, tester can also send instructions to state adjusting module 506, instruction state adjusting module 506 is closed The image buffer storage of tested terminal is enabled, close the scheme that image buffer storage enables be applied to it is above-mentioned by state adjusting module 506 from Move the tested terminal image caching enable of unlatching and tester opens tested by cache instruction instruction state adjusting module 506 The scheme that the image buffer storage of examination terminal is enabled.Tester is enabled to close tested end in some simple test processs The image buffer storage at end is enabled, so as to reduce the occupancy to tested terminal system disposal ability and performance.
After tested terminal occurs exception under the test operation of tester, tester needs multiple to research staff What the test operation that stating causes terminal exception occur is successively, and more complicated for test operating procedure, tester can Aid in determining the test before abnormal generation to generate scene recovery video by the video generation module 504 in the present embodiment Operation, scene recovery video can show the test operation before abnormal generation.
It should be noted that the scene recovery video that video generation module 504 is generated currently is sent out for tested terminal Raw abnormal generation, therefore, the time that will be occurred based on tested terminal abnormal when generating scene recovery video is generated.It is logical Often, tester voluntarily can generate the time by input video, including initial time and the time of termination of video, in order to determine The termination set of time for generating video typically the moment for abnormal by the reason for abnormal generation, tester can occur.And generate and regard The initial time of frequency is then decided in its sole discretion by tester's general layout practical situation.Therefore, in the middle of the other example of the present embodiment, use Family can only be input into the initial time for generating video, by video generation module 504 using the abnormal time for occurring as generation video The termination time.
The display image and the time for abnormal problem occur below to video generation module 504 based on caching is generated The process of scene recovery video is simply introduced:
First, video generation module 504 receives the video generation instruction of the time generation occurred based on abnormal problem.
Video generates instruction is given birth to according to tested terminal abnormal problem time of occurrence by tester or research staff Into, there is the abnormal time as tester may become more apparent upon tested terminal relative to research staff, and it is tested When examination terminal occurs abnormal, tester should be in same position with which, and tested personnel can immediately according to instantly Time generate scene recovery video, therefore, in the present embodiment, to video generation module 504 send video generate instruction It is substantially tester.It is understood that can also record tested terminal by tester there is the abnormal time, when When research staff is the reason for positioning tested terminal abnormal, the time generation scene recovery further according to tester's record is regarded Frequently, therefore, video generate instruction can also be issued by research staff.
Based on introduction above, it will be understood that, in the present embodiment, video can include needing life in generating instruction Into initial time and the time of termination of video, it is also possible to only including the initial time for generating video.So working as video generation module 504 generate from video when only parse a time in instruction, can give tacit consent to and for tested terminal abnormal occur the moment The termination time as the time of generation of time.If parsing two times, can be by the preceding time in two times It is the initial time of video as generation, using the posterior time as the termination time for generating video.
After video generation module 504 gets the initial time and termination time for generating video, it will store from before Display image in extract initial time and the display image between the termination time, and field is generated based on the display image for extracting Scape recovery video.
The terminal test device provided in the present embodiment, by display interface is shown in test process to tested terminal The display image shown is cached, and when tested terminal breaks down, can pass through the display image generation of caching Scene recovery video recording tested terminal test operation for being experienced before it there is exception, generate scene recovery video it Afterwards, what research staff can be just according to scene recovery video the reason for accurately understanding causes tested terminal to occur abnormal, Do not need that tester is same as language or word is stated to research staff, it is to avoid tester subjective expression is inaccurate, Mislead the problem of research staff;Simultaneously as eliminate research staff link up with tester the plenty of time for spending, therefore, Terminal production efficiency can be lifted.
Fourth embodiment:
Continuing with reference to Fig. 5-Fig. 6, in the present embodiment, the display image that image buffer storage module 502 is preserved is frame View data in buffer (frame buffering).State adjusting module 506 can pass through cache frame buffer image The value of enable (image frame buffer enable) is enabled come the image buffer storage for controlling tested terminal, when tested terminal system attribute When the value of cache frame buffer image enable is 1, characterizes tested terminal and currently had been switched on image Caching function.When the value of cache frame buffer image enable is 0, the image of tested terminal is characterized Caching function is not currently activated.
The worth sizes of cache frame buffer image enable can be by state adjusting module 506 to tested The pattern of terminal is detected that, when tested terminal is under tested pattern, state adjusting module 506 can be cache Frame buffer image enable are entered as " 1 ", and the image buffer storage for opening tested terminal is enabled, when tested terminal Under non-test, mode, then state adjusting module 506 can be entered as cache frame buffer image enable " 0 ", the image buffer storage for closing tested terminal enable.In the middle of some other examples of the present embodiment, cache frame Buffer image enable are worth size be input into by cache instruction by user, when user input cache instruction is referred to Show when opening the image buffer storage function of tested terminal, cache instruction of the state adjusting module 506 according to tester, will The value of cache frame buffer image enable is revised as " 1 ", closes when the cache instruction of tester's input is characterized When the image buffer storage of tested terminal is enabled, state adjusting module 506 is then by the cache frame buffer of tested terminal Image enable values are revised as " 0 ".
It is opened when the image buffer storage of tested terminal is enabled, that is, cache frame buffer image When the value of enable is 1, image buffer storage module 502 can call create Cache Test Procedure () to create One test caching process.As shown in figure 3, in the present embodiment, test caching process 33 is based on linux kernel (Linux Kernel) 32, and linux kernel 32 then needs the support of various hardware 31.It is various types of to be in top in whole framework The application program 36 of type, exploitation and the operation of application program are all based on application framework 35, and application framework 35 passes through call function storehouse Each function in 34 is realizing the various functions of application program 36.This carry out central image buffer storage module 502 can be by connecing Mouth save Frame Buffer Image () is stored to the display image of display interface, in an example of the present embodiment When this, terminal buffers device can preserve the view data in frame buffer with 640 × 480 resolution.Display image Cache path can be such as:/ mnt/sdcard/debug/framebuffer/ year-month-day-when-point-second-millisecond .jpg. Corresponding to create Cache Test the Procedure () interfaces for creating test caching process, in the present embodiment, image Cache module 502 may call upon release Cache Test Procedure () interfaces destroy, discharge test cache into Journey.
Once tested terminal occurs exception in test process, video generation module 504 can be defeated according to tester The video for entering generates instruction, calls input Start And End Time () interfaces, input that the starting of video file is generated Time and termination time, finally using output Video File () interfaces are according to the initial time of input and terminate the time, The display image of caching is extracted, the display image in this time is generated into video, in the middle of a kind of example of the present embodiment, depending on Frequency generation module 504 can be generated with AVC (H.264High Profile, 640 × 480 resolution, the frame per second of 30fps) coding Scene recovery video, the scene recovery video file of generation can preserve to:/ mnt/sdcard/debug/test/-the moon- -when-point .mp4.
Simultaneously as the caching of display image expends memory space very much, therefore, when necessary, terminal test device 50 need to empty the view data of caching, therefore, as shown in fig. 7, terminal test device 50 also includes data in the present embodiment Module 508 is removed, data dump module 508 can have been delayed to remove by calling clear Pre Cached Images () The data deposited.The display image that data dump module 508 pairs has been cached carry out deleting including mode include it is so several:
The first, in tested terminal closedown or when restarting, data dump module 508 deletes the display for caching before this Image.As north side is terminal closedown or can characterize the current test of tested terminal when restart and has finished on, It is a kind of performance for exiting test pattern, therefore, it can all remove all display images for storing before at this moment.
Second, when the image buffer storage enabled state of tested terminal changes, namely cache frame buffer When the value of image enable changes, such as the value in cache frame buffer image enable becomes from 0 For 1 when, it is also possible to when its value is changed into 0 from 1.When the value of cache frame buffer image enable is from 0 When being changed into 1, sign will open the test for surveying a new round, and now, data dump module 508 can delete what is stored before All of display image;And when the value of cache frame buffer image enable is changed into 0 from 1, characterize current Display image need not have been stored, it is different from the test phase for storing display image before, therefore, data dump module 508 can delete the display image for storing before this to vacate memory space.
The third, data dump module 508 deletes the display figure that user specifies according to the image-erasing instruction that user issues Picture.Deleted in the scheme of display image by user, data dump module 508 can be entered to the quantity of buffered display image Row monitoring, when the display image for finding to have cached exceedes predetermined threshold value, data dump module 508 can issue the user with prompting Information, points out user to deleting with the display image for caching, and then receive user is deleted according to the image that information is returned Except instruction, and image-erasing instruction is parsed, determine the display image to be deleted that user specifies;Finally delete and determine Display image to be deleted.Specify to data dump module 508 need to delete which display image when, user can be with Specified in instruction is deleted according to the demand of oneself.But it is to be appreciated that data dump module 508 can be preselected The display image data that part can be deleted, then points out user to delete the view data that this part is selected in information, When the deletion instruction catalogue that user returns is affirmed, that is, characterize user and agree to delete this not sub-image data.It is this can be with The display image data of deletion is supplied to user, and can avoid user effort energy to screen needs the volume view data deleted, Give user preferably to experience.When data dump module 508 issues the user with information, can be with bullet illustrated in fig. 4 The form of window is carried out.
In the present embodiment, generation dynamic base can also be carried out for image buffer storage, so that tester is to hardware condition When different various tested terminals is tested, can by terminal test device 50 call the test cache into Journey.For the ease of it will be appreciated by those skilled in the art that in the present embodiment, there is provided a kind of scheme for generating dynamic base:
It is possible, firstly, to configure Android.mk files, LOCAL_MODULE=lib Cache Test are set Procedure, reference to variable include $ ((BUILD_SHARED_LIBRARY);Then according to configuration attribute, compiling generates one Individual public dynamic base lib Cache Test Procedure.so are called for Frame Buffer;Finally, the dynamic that will be generated The path in storehouse is set to out/target/Project Name/system/lib/lib Cache Test Procedure.so.
The terminal test device that the present embodiment is provided, can not only create special envoy's caching process and come to tested terminal test mould Display image under formula is cached, it is ensured that stage casing can be easier to determine after there is exception causes abnormal test Operating process;Can also to it is currently buffered, and the display image data that do not have value timely cleared up, it is ensured that There are enough spatial caches to store new display image.Meanwhile, the terminal test method in the present embodiment can also be slow for test Cheng Shengcheng dynamic bases are deposited into, the terminal test of the present embodiment offer can be used for the tested terminal of various hardware supported Method is tested, and improves the versatility of the present embodiment terminal test device.
5th embodiment:
The present embodiment will provide a kind of terminal, while can also fill to terminal test in 3rd embodiment and fourth embodiment The hardware configuration put is introduced, and refers to Fig. 8:
The terminal test device 50 that terminal 8 is provided in including 3rd embodiment and fourth embodiment, that is to say, that eventually End test device 50 can be deployed in the middle of terminal 8.Terminal 8 can be implemented in a variety of manners.For example, described in the present invention Terminal can (individual digital be helped including such as mobile phone, smart phone, notebook computer, digit broadcasting receiver, PDA Reason), PAD (panel computer), PMP (portable media player), the mobile terminal of guider etc. and such as numeral The fixed terminal of TV, desk computer etc..Hereinafter it is assumed that terminal is mobile terminal, however, it will be understood by those skilled in the art that , in addition to being used in particular for moving the element of purpose, construction according to the embodiment of the present invention can also apply to admittedly Determine the terminal of type.
Fig. 9 is the hardware architecture diagram for realizing the optional mobile terminal of each embodiment one of the invention.
Mobile terminal 900 can include user input unit 910, output unit 920, memorizer 930, controller 940 etc. Deng.Fig. 1 shows the mobile terminal with various assemblies, it should be understood that be not required for implementing all components for illustrating, More or less of component can alternatively be implemented, the element of mobile terminal is will be discussed in more detail below.
User input unit 910 can generate key input data to control each of mobile terminal according to the order of user input Plant operation.User input unit 910 allows the various types of information of user input, and can include keyboard, metal dome, touch Plate (for example, detection is due to the sensitive component of the change of touched and caused resistance, pressure, electric capacity etc.), roller, rocking bar etc. Deng.Especially, when touch pad is superimposed upon on display module 921 in the form of layer, touch screen can be formed.
Output unit 920 can include display module 921, dio Output Modules 922, alarm modules 923 etc..
The information that display module 921 is processed in may be displayed on mobile terminal 900.For example, when mobile terminal 900 is in electricity During words call mode, display module 921 can show and converse or other communicate (for example, text messaging, multimedia files Download etc.) related user interface (UI) or graphic user interface (GUI).When mobile terminal 900 is in video calling pattern Or during image capture mode, display module 921 can show the image of capture and/or the image of reception, illustrate video or figure UI or GUI of picture and correlation function etc..
Meanwhile, when the display module 921 and touch pad touch screen with formation superposed on one another in the form of layer, display module 921 can serve as input equipment and output device.Display module 921 can include liquid crystal display (LCD), thin film transistor (TFT) In LCD (TFT-LCD), Organic Light Emitting Diode (OLED) display, flexible display, three-dimensional (3D) display etc. at least It is a kind of.Some in these display may be constructed such that transparence to allow user from outside viewing, and this is properly termed as transparent Display, typical transparent display can be, for example, TOLED (transparent organic light emitting diode) display etc..According to specific The embodiment wanted, mobile terminal 900 can include two or more display modules (or other display devices), for example, move Dynamic terminal can include outside display module (not shown) and internal display module (not shown).Touch screen can be used for detection and touch Input pressure and touch input position and touch input area.
Dio Output Modules 922 can mobile terminal in call signal reception pattern, call mode, logging mode, It is when under the isotypes such as speech recognition mode, broadcast reception mode, that wireless communication unit 110 is received or in memorizer 930 The voice data transducing audio signal of middle storage and it is output as sound.And, dio Output Modules 922 can be provided and movement The audio output (for example, call signal receives sound, message sink sound etc.) of the specific function correlation that terminal 900 is performed. Dio Output Modules 922 can include speaker, buzzer etc..
Alarm modules 923 can provide output so that event is notified to mobile terminal 900.Typical event can be with Including calling reception, message sink, key signals input, touch input etc..In addition to audio or video is exported, alarm modules 923 can provide output in a different manner with the generation of notification event.For example, alarm modules 923 can be in the form of vibrating Output is provided, when calling, message or some other entrance communication (incoming communication) are received, alarm mould Block 923 can provide tactile output (that is, vibrating) to notify to user.Tactile output as by providing, even if When the mobile phone of user is in the pocket of user, user also can recognize that the generation of various events.Alarm modules 923 The output of the generation of notification event can be provided via display module 921 or dio Output Modules 922.
In the diagram, the data dump module in terminal test device 50 can be when memory space inadequate with pop-up The view data stored before form prompting user's deletion part, in the present embodiment, mobile terminal 900 with play frame show to When user sends information, sound (such as tone) or vibration prompt can be aided with, be carried with ensureing that user will not miss Show information.
Memorizer 930 can store software program for the process and control operation performed by controller 940 etc., Huo Zheke With the data (for example, telephone directory, message, still image, video etc.) for temporarily storing own Jing outputs or will export.And And, memorizer 930 can be storing the vibration of various modes with regard to exporting when touching and being applied to touch screen and audio signal Data.
Memorizer 930 can include the storage medium of at least one type, and the storage medium includes flash memory, hard disk, many Media card, card-type memorizer (for example, SD or DX memorizeies etc.), random access storage device (RAM), static random-access storage Device (SRAM), read only memory (ROM), Electrically Erasable Read Only Memory (EEPROM), programmable read only memory (PROM), magnetic storage, disk, CD etc..And, mobile terminal 900 can perform memorizer with by network connection The network storage device cooperation of 930 store function.
The overall operation of the generally control mobile terminal of controller 940.For example, controller 940 is performed and voice call, data The related control of communication, video calling etc. and process.In addition, controller 940 can be included for reproducing (or playback) many matchmakers The multi-media module 941 of volume data, multi-media module 941 can be constructed in controller 940, or it is so structured that and control Device 940 is separated.Controller 940 can be with execution pattern identifying processing, by the handwriting input for performing on the touchscreen or picture Draw input and be identified as character or image.
Various embodiments described herein can be with use such as computer software, hardware or its any combination of calculating Machine computer-readable recording medium is implementing.For hardware is implemented, embodiment described herein can be by using application-specific IC (ASIC), digital signal processor (DSP), digital signal processing device (DSPD), programmable logic device (PLD), scene can Programming gate array (FPGA), processor, controller, microcontroller, microprocessor, it is designed to perform function described herein At least one in electronic unit implementing, in some cases, can be implemented in controller 940 by such embodiment. For software is implemented, the embodiment of such as process or function can with allow to perform the single of at least one function or operation Software module is implementing.Software code can be come by the software application (or program) write with any appropriate programming language Implement, perform during software code can be stored in memorizer 930 and by controller 940.
So far, own Jing describes mobile terminal according to its function.Below, for the sake of brevity, will description such as folded form, Slide type mobile terminal in various types of mobile terminals of board-type, oscillating-type, slide type mobile terminal etc. is used as showing Example.Therefore, the present invention can be applied to any kind of mobile terminal, and be not limited to slide type mobile terminal.
3rd embodiment can be by controller 940 with memorizer 930 altogether with the image buffer storage module in fourth embodiment With realization, the needs output to output that 940 control memory 930 of controller will be stored in mobile terminal 900frame buffer The display module 921 of unit 920 view data up is stored.The function of video generation module can be by controller 940 To realize, controller 940 generates instruction according to the video that user is input into from input block 910 and extracts from memorizer 930 Corresponding view data, is saved in memorizer 930 after then generating view data.910 receive user of user input unit is defeated The cache instruction for entering, and cache instruction is sent to into controller 940, make 940 control memory 930 of controller carry out display image Storage, therefore the function of state adjusting module can be common with controller 940 real by user input unit 910 in the present embodiment It is existing, but it will be appreciated by persons skilled in the art that whether controller 940 can also be directly to mobile terminal in test mould Formula is monitored, and when mobile terminal 1 00 is in test pattern, cache frame buffer are changed in directly control The value of image enable.And the function of data dump module can also be by 940 balance reservoir of controller, 930 common realization.
The terminal provided in the embodiment of the present invention, including the terminal test device provided in previous embodiment, therefore, right During the terminal that this enforcement is provided is tested, can be by terminal test device come the display figure during cache test Piece, so as to record terminal test process.Before this recording exceptional generation, the process of test operation has the reliability of height, visitor The property seen, it is to avoid being difficult to caused by the memory of tester is only relied upon in prior art and accurately repeats abnormal front operation The problem that journey even can not be repeated completely, improves the efficiency of test operation.
It should be noted that herein, term " including ", "comprising" or its any other variant are intended to non-row His property is included, so that a series of process, method, article or device including key elements not only include those key elements, and And also include other key elements being not expressly set out, or also include for this process, method, article or device institute inherently Key element.In the absence of more restrictions, the key element for being limited by sentence "including a ...", it is not excluded that including being somebody's turn to do Also there is other identical element in the process of key element, method, article or device.
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on such understanding, technical scheme is substantially done to prior art in other words The part for going out contribution can be embodied in the form of software product, and the computer software product is stored in a storage medium In (such as ROM/RAM, magnetic disc, CD), use so that a station terminal equipment including some instructions (can be mobile phone, computer, clothes Business device, air-conditioner, or network equipment etc.) perform method described in each embodiment of the invention.
Embodiments of the invention are described above in conjunction with accompanying drawing, but be the invention is not limited in above-mentioned concrete Embodiment, above-mentioned specific embodiment are only schematic, rather than restricted, one of ordinary skill in the art Under the enlightenment of the present invention, in the case of without departing from present inventive concept and scope of the claimed protection, can also make a lot Form, these are belonged within the protection of the present invention.

Claims (10)

1. a kind of terminal test device, it is characterised in that include:
Image buffer storage module, for during testing to tested terminal, to the tested terminal display interface Display image cached;
Video generation module, for when there is abnormal problem in the tested terminal, the display image based on caching with And the time for abnormal problem occur generates scene recovery video.
2. a kind of terminal, it is characterised in that include:Terminal test device as claimed in claim 1.
3. a kind of terminal test method, it is characterised in that include:
During testing to tested terminal, the display image of the tested terminal display interface is delayed Deposit;
After there is abnormal problem in the tested terminal, based on caching the display image and occur abnormal problem when Between generate scene recovery video, the scene recovery video be used to showing it is abnormal occur before test operation.
4. terminal test method as claimed in claim 3, it is characterised in that also wrapped before testing to tested terminal Include:The image buffer storage for opening the tested terminal is enabled.
5. terminal test method as claimed in claim 3, it is characterised in that the image buffer storage for opening the tested terminal makes The mode of energy includes:
The cache instruction that receive user is issued, the image buffer storage for opening the tested terminal based on the cache instruction are enabled;
Or,
When the tested terminal is detected under tested pattern, the image buffer storage for automatically turning on the tested terminal makes Energy.
6. terminal test method as claimed in claim 3, it is characterised in that also include:To the display image for having cached Deleted.
7. terminal test method as claimed in claim 6, it is characterised in that the display image to having cached is deleted Including mode include it is following it is several in any one:
The tested terminal closedown or when restarting, deletes the display image for caching before this;
When the image buffer storage enabled state of the tested terminal changes, the display figure for caching before this is deleted Picture;
The display image that user specifies is deleted according to the image-erasing instruction that user issues.
8. terminal test method as claimed in claim 7, it is characterised in that user is deleted according to the instruction of the image-erasing of user The display image specified includes:
When the display image for having cached exceedes predetermined threshold value, information is issued the user with;
Receive user is instructed according to the image-erasing that the information is returned, and described image deletion instruction is parsed, Determine the display image to be deleted that user specifies;
The display image described to be deleted that deletion is determined.
9. the terminal test method as described in any one of claim 3-8, it is characterised in that the display image based on caching And the time generation scene recovery video for abnormal problem occur includes:
The video for receiving the time generation occurred based on the abnormal problem generates instruction;
Parse the video and generate the initial time and termination time for instructing and obtaining generation video;
The display image stored between the initial time and the termination time is extracted, and according to the display figure for extracting As generating scene recovery video.
10. terminal test method as claimed in claim 9, it is characterised in that the parsing video generates and instructs and obtain life Initial time into video was included with the termination time:
If generate in instruction from the video only parsing a time, using the time for parsing as generation video Initial time, the time that the tested terminal occurs exception are defaulted as generating the termination time of video;
If generate in instruction from the video parsing two times, will be preceding as generation video in described two times Initial time, will be described two between in the posterior time as generate video the termination time.
CN201611076289.0A 2016-11-29 2016-11-29 A kind of terminal test method, device and terminal Active CN106603787B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611076289.0A CN106603787B (en) 2016-11-29 2016-11-29 A kind of terminal test method, device and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611076289.0A CN106603787B (en) 2016-11-29 2016-11-29 A kind of terminal test method, device and terminal

Publications (2)

Publication Number Publication Date
CN106603787A true CN106603787A (en) 2017-04-26
CN106603787B CN106603787B (en) 2019-11-19

Family

ID=58595658

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611076289.0A Active CN106603787B (en) 2016-11-29 2016-11-29 A kind of terminal test method, device and terminal

Country Status (1)

Country Link
CN (1) CN106603787B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107948719A (en) * 2017-11-30 2018-04-20 苏州麦迪斯顿医疗科技股份有限公司 A kind of medical video live broadcasting method and device
CN108563469A (en) * 2017-10-20 2018-09-21 五八有限公司 page loading method, device, storage medium and terminal device
CN110278494A (en) * 2019-06-28 2019-09-24 威创集团股份有限公司 The display methods and device of information
CN110278322A (en) * 2018-03-14 2019-09-24 富泰华工业(深圳)有限公司 Electronic device failure testing device and test method
CN111354383A (en) * 2018-12-20 2020-06-30 深圳市优必选科技有限公司 Audio defect positioning method and device and terminal equipment
CN116070046A (en) * 2023-02-17 2023-05-05 贝壳找房(北京)科技有限公司 Project test information display method and device, electronic equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6215854B1 (en) * 1997-06-30 2001-04-10 Harris Corporation Digital signal processor-based telephone test set analyzing and displayed multiple signal parameter data for terminal mode and line monitor mode operation
CN103686149A (en) * 2013-12-06 2014-03-26 深圳Tcl新技术有限公司 Browser fault message acquisition method and system
CN104869203A (en) * 2015-06-18 2015-08-26 广东欧珀移动通信有限公司 Unsmooth running testing method and device, and testing equipment
CN105183654A (en) * 2015-09-18 2015-12-23 厦门美图移动科技有限公司 Android automatic testing screen recording mechanism and system disengaged from PC
CN105574416A (en) * 2015-12-16 2016-05-11 北京神州绿盟信息安全科技股份有限公司 Detection method and device of browser bug
CN105653456A (en) * 2015-12-31 2016-06-08 网易(杭州)网络有限公司 Application program performance testing method, device and system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6215854B1 (en) * 1997-06-30 2001-04-10 Harris Corporation Digital signal processor-based telephone test set analyzing and displayed multiple signal parameter data for terminal mode and line monitor mode operation
CN103686149A (en) * 2013-12-06 2014-03-26 深圳Tcl新技术有限公司 Browser fault message acquisition method and system
CN104869203A (en) * 2015-06-18 2015-08-26 广东欧珀移动通信有限公司 Unsmooth running testing method and device, and testing equipment
CN105183654A (en) * 2015-09-18 2015-12-23 厦门美图移动科技有限公司 Android automatic testing screen recording mechanism and system disengaged from PC
CN105574416A (en) * 2015-12-16 2016-05-11 北京神州绿盟信息安全科技股份有限公司 Detection method and device of browser bug
CN105653456A (en) * 2015-12-31 2016-06-08 网易(杭州)网络有限公司 Application program performance testing method, device and system

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108563469A (en) * 2017-10-20 2018-09-21 五八有限公司 page loading method, device, storage medium and terminal device
CN107948719A (en) * 2017-11-30 2018-04-20 苏州麦迪斯顿医疗科技股份有限公司 A kind of medical video live broadcasting method and device
CN110278322A (en) * 2018-03-14 2019-09-24 富泰华工业(深圳)有限公司 Electronic device failure testing device and test method
CN110278322B (en) * 2018-03-14 2022-05-17 富泰华工业(深圳)有限公司 Failure testing device for electronic device
CN111354383A (en) * 2018-12-20 2020-06-30 深圳市优必选科技有限公司 Audio defect positioning method and device and terminal equipment
CN111354383B (en) * 2018-12-20 2021-07-27 深圳市优必选科技有限公司 Audio defect positioning method and device and terminal equipment
CN110278494A (en) * 2019-06-28 2019-09-24 威创集团股份有限公司 The display methods and device of information
CN116070046A (en) * 2023-02-17 2023-05-05 贝壳找房(北京)科技有限公司 Project test information display method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN106603787B (en) 2019-11-19

Similar Documents

Publication Publication Date Title
CN106603787B (en) A kind of terminal test method, device and terminal
CN106155750B (en) A kind of loading method and device of resource file
TWI509409B (en) Methods and systems for viewing log data recorded during execution of a program
CN101443849B (en) Video browsing user interface
CN102708138B (en) Virtual museum system and collection methods of exhibiting thereof
US20140125757A1 (en) Method of providing information-of-users' interest when video call is made, and electronic apparatus thereof
US8196057B2 (en) Calculator emulation apparatus
TWI478043B (en) Systems and methods for app page template generation, and storage medium thereof
KR101855147B1 (en) An analysis method for user preference and device therefor
CN103853658B (en) The automated testing method and Android device of recording and playback are carried out in Android device
CN109740085A (en) A kind of methods of exhibiting of content of pages, device, equipment and storage medium
CN106507173A (en) Mobile terminal and split screen display available control method
CN104580972B (en) For providing the method and system of the media content by the sensor collection of equipment
CN112947969B (en) Page off-screen rendering method, device, equipment and readable medium
CN110515514B (en) Data processing method, device and storage medium
CN106341538A (en) Lyrics poster push method and mobile terminal
WO2023071491A1 (en) Encyclopedia information determination method and apparatus, encyclopedia information display method and apparatus, and device and medium
CN106448702A (en) Recording data processing device and method, and mobile terminal
CN103886777A (en) Video playback device, video playback method, video playback control device and video playback control method
CN106559562B (en) Mobile terminal and method based on mobile terminal recorded video
CN104808975A (en) Filter realizing method and device of camera application
CN106471493A (en) Method and apparatus for managing data
CN104681048A (en) Multimedia read control device, curve acquiring device, electronic equipment and curve providing device and method
WO2015193748A1 (en) Information acquiring apparatus and method, and electronic device
CN106547340B (en) The method, apparatus and intelligent terminal of web page element are quickly hidden based on gravity sensing

Legal Events

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