WO2015196540A1 - 一种测试终端用户界面反应时间的方法、装置及设备 - Google Patents

一种测试终端用户界面反应时间的方法、装置及设备 Download PDF

Info

Publication number
WO2015196540A1
WO2015196540A1 PCT/CN2014/084422 CN2014084422W WO2015196540A1 WO 2015196540 A1 WO2015196540 A1 WO 2015196540A1 CN 2014084422 W CN2014084422 W CN 2014084422W WO 2015196540 A1 WO2015196540 A1 WO 2015196540A1
Authority
WO
WIPO (PCT)
Prior art keywords
image
terminal
time
collection
images
Prior art date
Application number
PCT/CN2014/084422
Other languages
English (en)
French (fr)
Inventor
朴重烈
谢天助
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2015196540A1 publication Critical patent/WO2015196540A1/zh

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software

Definitions

  • the present invention relates to the field of communication and testing, and in particular, to a method, device and device for testing a response time of a UI (User Interface). Background technique
  • the interaction between the terminal product and the user needs to be borrowed from the UI of the terminal, and the terminal responds to the user's operation through the switching of the UI interface.
  • the response time of the UI is the most direct manifestation of the performance of the terminal UI, which directly affects the user's experience of using the terminal.
  • test process will affect the real reaction time of the terminal when running, slowing down the reaction speed of the terminal, resulting in inaccurate test results.
  • the technical problem to be solved by the embodiments of the present invention is to provide a method, a device and a device for testing a UI UI response time, which are used to solve related test methods, which are mostly based on instructions or running scripts, and the testing process affects the terminal running time.
  • a method for testing a response time of a user interface of a terminal comprising:
  • the step of collecting the image on the screen of the terminal according to the image frame and recording the time information corresponding to the image includes:
  • the preset condition includes: The heat value of the corresponding capacitor reaches a preset heat threshold, and/or the pressure value of the corresponding inductor of the screen reaches a preset pressure threshold;
  • the image on the terminal screen is collected according to the image frame, and the time information corresponding to the image is recorded.
  • the step of determining to stop collecting the time point of the last frame image according to the change rate of the difference between the adjacent two frames of images includes:
  • the method further includes:
  • the reaction time of the terminal user interface is determined according to the collection time information of the first frame image in the collection process and the time point when the collection is stopped.
  • An apparatus for testing a response time of a terminal user interface comprising: a collection module, a first determination module, and a second determination module, wherein:
  • the collection module is configured to: collect images on the screen of the terminal according to the image frame, and record time information corresponding to the image;
  • the first determining module is configured to: determine, according to a change rate of the difference between two adjacent frames of images, a time point at which the last frame of the image is stopped;
  • the second determining module is configured to: determine a reaction time of the terminal user interface according to the collected time information of the first frame image and the time point of the last frame image in the collecting process.
  • the collecting module includes a first detecting unit and a collecting unit, where: the first detecting unit is configured to: detect whether the terminal screen meets a preset condition, where the preset condition includes: The heat value of the capacitor corresponding to the screen reaches a preset heat threshold, and/or the pressure value of the corresponding inductor of the screen reaches a preset pressure threshold;
  • the collecting unit is configured to: when the screen satisfies the preset condition, start collecting images on the terminal screen according to the image frame, and record time information corresponding to the image.
  • the first determining module includes a determining unit and a determining unit, where:
  • the determining unit is configured to: determine whether a difference rate of change between adjacent two frames of images reaches a preset difference threshold;
  • the determining unit is configured to: when the change difference rate reaches a preset difference threshold, stop collecting the image, and determine, corresponding to the first frame image in consecutive two frames of images when the preset difference threshold is reached.
  • the time information is the time point when the collection is stopped.
  • the first determining module further includes a second detecting unit:
  • the second detecting unit is configured to: detect whether the action of stopping the collecting of the image is an erroneous operation; and if the action is an erroneous operation, triggering the collection module to continue collecting images on the screen of the terminal, and recording Time information corresponding to each image; triggering, by the second determining module, the collection time information of the first frame image and the time when the collection is stopped according to the collection process in the case that the action is not an erroneous operation Click to determine the response time of the terminal user interface.
  • a device for testing end user interface response time including a data collector, a memory, and a processor, wherein:
  • the data collector is configured to: collect time information and image information
  • the memory is configured to: save the time information and the image information collected by the data collector;
  • the processor is configured to: perform data processing on the information in the memory to determine a reaction time of the user interface of the terminal.
  • the processor is further configured to: calculate adjacent two frames of images stored in the memory a change rate of change, when the change difference rate reaches a preset difference threshold, triggering the data collector to stop collecting the image, and determining the number of consecutive two frames in the image when the preset difference threshold is reached.
  • the time information corresponding to one frame of image is the time point when the collection is stopped, and the reaction time of the terminal user interface is determined according to the collection time information of the first frame image during the collection process and the time point when the collection is stopped.
  • the above technical solution collects the image on the screen of the terminal, determines the change rate of the difference by the collected image, and further determines the reaction time of the terminal UI.
  • the test using the method does not occupy the running process of the terminal, and thus does not affect the reaction speed of the terminal during operation.
  • the test results are accurate, and the related test methods are mostly tested based on instructions or running scripts.
  • the test process will affect the real reaction time of the terminal when running, slow down the reaction speed of the terminal, and lead to inaccurate test results.
  • FIG. 1 is a flowchart of a method for testing a UI UI reaction time in an embodiment of the present invention
  • FIG. 2 is a schematic structural diagram of an apparatus for testing a UI UI response time according to an embodiment of the present invention
  • FIG. 3 is a UI response of a test terminal according to an embodiment of the present invention
  • FIG. 4 is a schematic structural diagram of a first determining module of a device for testing a UI UI reaction time in an embodiment of the present invention
  • FIG. 5 is a schematic structural diagram of an apparatus for testing a UI UI reaction time in an embodiment of the present invention
  • FIG. 6 is a schematic structural view of an apparatus for testing a UI reaction time of a mobile terminal in a preferred embodiment of the present invention
  • FIG. 7 is a flow chart showing a method for testing a UI reaction time of a mobile terminal in a preferred embodiment of the present invention.
  • most of the test methods are based on instructions or running scripts, and the tests have been tested.
  • the method, the device and the device for testing the UI reaction time of the terminal are provided in the following embodiments, and the method and device for testing the UI UI of the terminal are provided.
  • EXAMPLES The present invention will be further described in detail. It is understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
  • the embodiment of the invention provides a method for testing the response time of the UI of the terminal.
  • the flow is shown in FIG. 1 and includes steps S102 to S106:
  • S102 collecting an image on the terminal screen according to the image frame, and recording time information corresponding to the image;
  • S104 determining, according to the change rate of the adjacent two frames of images, stopping the time point of collecting the last frame image;
  • the image on the screen of the terminal is collected, and the change rate of the image is determined by the collected image to further determine the reaction time of the terminal UI.
  • the test is performed without using the terminal, so the reaction of the terminal is not affected. Speed, accurate test results, solve the relevant test methods are mostly based on instructions or run scripts to test, the test process will affect the real reaction time of the terminal operation, slow down the reaction speed of the terminal, resulting in inaccurate test results.
  • collecting the image on the terminal screen according to the image frame, and recording the time information corresponding to the image includes: detecting whether the terminal screen meets the preset condition, wherein the preset condition includes: the heat value of the capacitor corresponding to the screen reaches the preset The heat value, and/or the pressure value of the corresponding inductor of the screen reaches a preset pressure threshold; when the screen meets the preset condition, the image on the terminal screen is collected according to the image frame, and the corresponding image is recorded. Time information.
  • the preset condition includes: the heat value of the capacitor corresponding to the screen reaches the preset The heat value, and/or the pressure value of the corresponding inductor of the screen reaches a preset pressure threshold; when the screen meets the preset condition, the image on the terminal screen is collected according to the image frame, and the corresponding image is recorded. Time information.
  • the preset condition includes: the heat value of the capacitor corresponding to the screen reaches the preset The heat value, and/or the pressure value of the corresponding inductor of the
  • the process of determining the time point of stopping the last frame of the image according to the change rate of the adjacent two frames of images may be first determining whether the difference rate of the change between the adjacent two frames reaches the preset difference.
  • the threshold value is stopped when the change difference rate reaches the preset difference threshold, and the time information corresponding to the first frame image in the consecutive two frames of images when the preset difference threshold is reached is determined to be stopped.
  • the preset difference threshold may be set according to the accuracy of the user's requirement. In a normal case, the preset difference has a threshold value of 0%, and a person skilled in the art may slightly increase the percentage according to user requirements. .
  • the terminal may have an erroneous operation during operation. For example, when the user waits for the webpage to be opened, the page is not refreshed, and the image change rate of two consecutive frames may be judged as 0%. At this time, it is an erroneous operation. Therefore, after determining that the time information corresponding to the first frame image in the consecutive two frames of images when the preset difference threshold is reached is the time point when the collection is stopped, the last stop of the collection may be detected.
  • the action of one frame of image is an erroneous operation; if the action is a erroneous operation, continue to collect the image on the screen of the terminal, and record the time information corresponding to each image; in the case that the action is not an erroneous operation, according to the process of smashing
  • the collection time information of the first frame image and the time point when the collection is stopped determine the reaction time of the terminal UI.
  • the embodiment of the present invention further provides a device for testing the reaction time of the UI of the terminal.
  • the structure of the device is shown in FIG. 2, and includes a collection module 10, a first determination module 20, and a second determination module 30, wherein:
  • the collection module 10 is configured to: collect images on the terminal screen according to image frames, and record time information corresponding to the images;
  • the first determining module 20 is coupled to the collecting module 10, and configured to: determine, according to a change rate of the adjacent two frames of images, a time point at which the last frame of the image is stopped;
  • the second determining module 30 is coupled to the first determining module 20, and configured to: determine the reaction time of the terminal UI according to the collected time information of the first frame image and the time point of the last frame image in the collecting process.
  • FIG. 3 shows a schematic structural diagram of the collection module 10.
  • the collection module 10 further includes: a first detection unit 101 and a collection unit 102, wherein:
  • the first detecting unit 101 is configured to: detect whether the terminal screen meets a preset condition, wherein the preset condition comprises: the heat value of the capacitor corresponding to the screen reaches a preset heat threshold, and/or the pressure value of the corresponding inductor of the screen reaches Preset pressure threshold;
  • the collecting unit 102 is coupled to the first detecting unit 101, and is configured to: when the screen meets the preset condition, start collecting images on the terminal screen according to the image frame, and record time information corresponding to each image.
  • the first determining module 20 includes: a determining unit 201 and a determining unit 202, where:
  • the determining unit 201 is configured to: determine whether the difference rate of change between adjacent two frames of images reaches a preset difference threshold;
  • the determining unit 202 is coupled to the determining unit 201, and configured to: when the change difference rate reaches the preset difference threshold, stop collecting the image, and determine the first frame image in the consecutive two frames of images when the preset difference threshold is reached.
  • the corresponding time information is the time point when the collection is stopped.
  • the first determining module 20 may further include: a second detecting unit, coupled to the determining unit 202, configured to: detect whether the action of stopping the collected image is an erroneous operation; and triggering if the action is an erroneous operation
  • the collection module continues to collect the images on the screen of the terminal, and records the time information corresponding to each image; in the case that the action is not an erroneous operation, the second determination module is triggered to collect the time information of the first frame image according to the collection process. The time point when the collection is stopped determines the reaction time of the terminal UI.
  • the embodiment of the invention further provides a device for testing the reaction time of the UI of the terminal, and the architecture thereof is shown in the figure.
  • the data collector 1 is set to: collect time information and image information
  • the memory 2 is coupled with the data collector 1 and configured to: save time information and image information collected by the data collector;
  • the processor 3 is coupled to the memory 2 and configured to: perform data processing on the information in the memory, Determine the reaction time of the terminal UI.
  • the processor 3 is further configured to: calculate a change rate of the difference between two adjacent frames of images stored in the memory, and when the change difference rate reaches a preset difference threshold, trigger the data collector to stop collecting the image, and determine to reach
  • the time information corresponding to the first frame image in the consecutive two frames of the preset difference threshold is the time point when the collection is stopped, and according to the collection time information of the first frame image during the collection process and the stop collection time The time point determines the reaction time of the terminal UI.
  • the device for testing the response time of the terminal UI includes a plurality of modules, which is known to those skilled in the art, and the device may be set as a separate processor or disposed in a certain processor, and details are not described herein. .
  • the embodiment of the present invention provides a method for testing the UI reaction time by means of image analysis, which can objectively evaluate the user experience of the UI terminal response time of the mobile terminal.
  • An embodiment of the present invention provides an apparatus for testing a UI reaction time by using an image analysis method.
  • the device includes: a data collector, a memory, and a processor.
  • various parts of the device may be designed by a person skilled in the art.
  • the data collector is named as an image collection unit and a startup recording unit
  • the memory is named as a storage unit
  • the processor is named as a data analysis unit.
  • Each of the above units has only a name change, and its functions are the same. Those skilled in the art can change the unit name according to requirements when designing.
  • the image collection unit is configured to: when the user operates the mobile terminal, record the change of the terminal UI interface during all operations, and send the collected image to the storage unit.
  • the image is
  • the set unit may be a camera-type collector
  • the startup recording unit is configured to: record the start time of the user's operation on the mobile terminal, and the time of each picture collected, and send the data to the storage unit for the data analysis unit to perform Analytical processing
  • the storage unit is configured to: receive an image resource sent by the image collection unit, and sort the image resource according to the time stamp, and provide a data analysis unit to make the call;
  • the data analysis unit is set to: image analysis target selection and time calculation.
  • the image collection unit controls image recording by the startup recording unit, and the data analysis unit startup time data is provided by the image collection unit to determine image analysis data.
  • a signal that triggers the start of operation of the image collection unit is transmitted by sensing the pressure of the terminal screen.
  • the change of the pressure of the touch screen of the mobile phone is felt, and the information of the pressure change is converted into an electrical signal and sent to the data analysis unit, and the data analysis unit determines the starting time of the time required for the analysis based on the received pressure signal.
  • the embodiment of the invention further provides a method for testing the reaction time of the UI of the mobile terminal by using image analysis, which is implemented by the above device for testing the UI reaction time, which comprises the following process:
  • the data analysis unit records the signal of the unit according to the receiving time Combining the image information provided by the image collection unit, extracting the initial picture information of the mobile terminal UI, and determining the reaction start time, and displaying the change start time image in the data analysis unit for the analyst to confirm;
  • the analyzing unit analyzes and calculates the change rate of the two consecutive frames according to the image continuously changing process of the image collection unit in the UI interface of the mobile terminal, and determines that the two frames of the change rate of the change automatically rate the image recording, and then the image can be displayed.
  • the data analysis unit for the analyst to confirm;
  • the time difference value of the two frames of images is automatically calculated or automatically analyzed by the analysis person to select the start time image and the image of the change deadline, and the time period information of the change process is generated.
  • the time recording unit records the corresponding time information according to the pressure change, and the image collected by the image collection unit corresponding to the pressure change time.
  • the image of the image collection unit is consecutively two images with an image difference rate of 0, and the first packet with a difference rate of 0% An image with time information.
  • the method for testing the reaction time of the UI of the mobile terminal by using the image analysis provided by the embodiment of the present invention controls the image collection unit to start the image collection by the time recording unit, and marks the time information, and sends the information to the storage unit for saving; the data analysis unit performs The difference rate analysis of the continuous image, and controlling the image collection unit to stop the image collection operation, and saving the image transmission storage unit of the UI change completion time.
  • the user can automatically select an image in the data analysis unit or calculate the time according to the manual selection of the image, objectively calculate the UI change time of the UI to obtain the UI reaction time data, compare the time data with the same type of product, and objectively evaluate the movement. Terminal UI performance level.
  • FIG. 6 is a schematic structural diagram of an apparatus for testing a UI reaction time of a mobile terminal according to an embodiment of the present invention. As shown in FIG. 6, the method includes: an image collection unit 11, a time recording unit 12, a storage unit 13, and a data analysis unit 14.
  • the image collection unit 11 is configured to: when the user operates the mobile terminal, record changes of the terminal UI interface during all operations, and send the collected image to the storage unit 13; also automatically record and time recording unit 12 providing image information matching the startup time information, and transmitting the image information matching the startup time information to the storage unit 13; further providing the data analysis unit 14 with the image clipping process automatically after the image collection signal is stopped, and The image information that matches the image collection stop signal time information is transmitted to the storage unit 13.
  • the image collection unit 11 starts image collection for the entire operation process and the UI change process, and specifically includes: the user starts the mobile terminal UI reaction time evaluation system in the data analysis unit 14 , and the image is displayed.
  • the set system 11 immediately enters the image collection state, and sends the collected images to the storage unit 13 for storage. Each image is recorded with corresponding time information, and is sequentially stored in the storage unit 13 according to the time label.
  • the time recording unit 12 is arranged to: place the mobile terminal on the operation plane of the time recording unit 12, and when the user performs manual operation on the mobile terminal by the time recording unit 12, the finger enters the screen of the mobile terminal
  • the line operation starts the time recording unit 12, records the time information when the user's finger touches the screen of the mobile terminal and generates a pressure change, and the time recording unit 12 sends the time information to the data analysis unit 14 for recording.
  • the storage unit 13 stores the image resources collected by the image collection unit 11 in an orderly manner according to the time stamp information, and opens information such as image resources and time labels to the data analysis unit 14 for retrieval and analysis at any time.
  • the data analysis unit 14 controls the image collection unit 11 and the time recording unit 12 to start or stop the operation, and performs data analysis according to the time label information and the image information provided by the time activation unit 12 and the storage unit 13, so that the user can change the UI of the mobile terminal.
  • the start and end images of the process are confirmed, and the time period of the change process of the UI of the mobile terminal is automatically calculated.
  • the data analysis unit 14 initiates image analysis of the entire operation process and the UI change process, and specifically includes: parsing the storage unit 13 according to the time information data sent by the time recording unit 12 The image information of the time information object transmitted with the time recording unit 12 is stored, and the image information is displayed at the start image position in the data analysis unit 14 for manual confirmation by the user.
  • the difference rate analysis of the consecutive two frames of images is performed, and the image of the first time sequence of two frames with a difference rate of 0% is automatically filtered, and the stop image collection command is sent to the image collection unit 11 to stop.
  • the image is collected and displayed in the end image position of the data analysis unit 14 for manual confirmation by the user.
  • the user can manually select the start image and the end image in the data analysis unit 14. After the user confirms the start image and the end image in the data analysis unit 14, the data analysis unit 14 will pair the storage unit 13 according to the image time label determined by the user. The image resources are collated, and only the first and last 100 frames of images corresponding to the determined start and end time tags are reserved for data analysis by the data analysis unit 14. The image resources of other storage units for the current mobile terminal UI change process will be cleaned up.
  • the data analysis unit 14 automatically calculates the time period of the change process of the mobile terminal UI according to the start image and the time tag information of the end image finally determined by the user, and displays it in the data analysis unit for the user to read.
  • FIG. 7 is a schematic flowchart of a method for testing a UI reaction time of a mobile terminal according to an embodiment of the present invention. As shown in FIG. 7, a method for testing a UI terminal response time of a mobile terminal by using image analysis includes steps S701 to S703.
  • the data analyzing unit extracts, according to the signal of the receiving time recording unit, the image information provided by the image collecting unit, the starting picture information of the mobile terminal UI, and determines the reaction start time, and changes the start time image. Displayed in the data analysis unit for analysis by the analyst.
  • the image collection unit saves the collected image time to the storage unit; the time recording unit records the time information when the change occurs when the pressure is changed; the data analysis unit combines the time provided by the time recording unit The data is parsed and matched with the image resource time stamp stored in the storage unit, and the image information with the same time stamp information is displayed at the start image position of the data analysis unit for the analyst to confirm.
  • Step S702 the data analysis unit analyzes and calculates the change rate of the two consecutive frames according to the image continuously changing process of the image collection unit in the interface of the mobile terminal UI, and determines that the two-frame image with the change difference rate of 0% automatically stops the image recording, and The image is displayed in a data analysis unit for analysis by the analyst.
  • the data analysis unit parses the change rate of the consecutive two frames of images while the storage unit performs image storage, and sends a signal to the image collection unit and the time recording unit to stop working when the obtained difference rate is 0%.
  • the data analysis unit displays the first frame image of the consecutive two frames of images with an image difference rate of 0% at the end of the data analysis unit image for confirmation by the analyst.
  • Step S703 automatically determining or analyzing the start time of the selected person according to the data analysis unit
  • the inter-image, the image of the change deadline automatically calculates the time difference of the two frames of images to generate time period information of the change process.
  • the data analysis unit respectively displays the image of the corresponding time in the start time image and the change deadline time position, and the analyst can use the image front and rear selection buttons provided by the data analysis unit to perform manual image confirmation to avoid automatic selection of the image existence. Deviation.
  • the data analysis unit automatically calculates the time difference between the two images after the analyst confirms the start and cutoff position images, and obtains time period information of the UI change process of the mobile terminal; the data analysis unit sends the command to the storage unit, according to The time label information of the start and cutoff images determined by the analyst, and the 100 frames of images before and after the time label are reserved as data queries, and the remaining image resources are automatically deleted to control the image unit space.
  • the method provided by the embodiment of the invention is an objective, accurate and quantitative means for reflecting the time measurement of the UI of the mobile terminal product, and quantifies the UI reaction time feeling in the process of using the mobile terminal user, and realizes the evaluation and analysis process. All of the automation, data accuracy can also be accurate to the order of ms, can effectively guide the improvement and improvement of the UI response time user experience of mobile terminal products. While the preferred embodiments of the present invention have been disclosed for purposes of illustration, those skilled in the art will recognize that various modifications, additions and substitutions are possible, and the scope of the invention should not be limited to the embodiments described above.
  • the above technical solution collects the image on the screen of the terminal, determines the change rate of the difference by the collected image, and further determines the reaction time of the terminal UI.
  • the test using the method does not occupy the running process of the terminal, and thus does not affect the reaction speed of the terminal during operation.
  • the test results are accurate, and the related test methods are mostly tested based on instructions or running scripts.
  • the test process will affect the real reaction time of the terminal when running, slow down the reaction speed of the terminal, and lead to inaccurate test results. Therefore, the present invention has industrial applicability.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Measurement Of The Respiration, Hearing Ability, Form, And Blood Characteristics Of Living Organisms (AREA)
  • Debugging And Monitoring (AREA)

Abstract

一种测试终端用户界面反应时间的方法、装置及设备,其中,该方法包括:按照图像帧采集终端屏幕上的图像,并记录图像对应的时间信息;根据相邻两帧图像的变化差异率确定停止采集最后一帧图像的时间点;根据采集过程中第一帧图像的采集时间信息和最后一帧图像的时间点确定终端用户界面的反应时间。上述技术方案采集终端屏幕上的图像,通过采集到的图像确定变化差异率,进一步确定终端用户界面的反应时间,该方法不占用终端运行进程,因此不影响终端运行时的反应速度,测试结果准确,解决了相关的测试方法大都基于指令或运行脚本进行测试,其测试过程会影响终端运行时的真实反应时间,拖慢终端反应速度,导致测试结果不够准确的问题。

Description

一种测试终端用户界面反应时间的方法、 装置及设备
技术领域
本发明涉及通讯和测试领域, 特别是涉及一种测试终端用户界面 (UI, User Interface )反应时间的方法、 装置及设备。 背景技术
终端类产品与用户的交互需要借用终端的 UI来完成, 终端通过 UI界面 的切换来对用户的操作进行相应的反馈。 UI的反应时间是终端 UI性能最直 接的体现, 直接影响用户对于终端的使用感受。
相关的测试方法大都基于指令或运行脚本进行测试, 其测试过程会影响 终端运行时的真实反应时间, 拖慢终端反应速度, 导致测试结果不够准确。 发明内容
本发明实施例要解决的技术问题是提供一种测试终端 UI反应时间的方 法、 装置及设备, 用以解决相关的测试方法大都基于指令或运行脚本进行测 试, 其测试过程会影响终端运行时的真实反应时间, 拖慢终端反应速度, 导 致测试结果不够准确的问题。
为解决上述技术问题, 釆用如下技术方案:
一种测试终端用户界面反应时间的方法, 包括:
按照图像帧釆集终端屏幕上的图像, 并记录所述图像对应的时间信息; 根据相邻两帧图像的变化差异率确定停止釆集最后一帧图像的时间点; 根据釆集过程中第一帧图像的釆集时间信息和所述最后一帧图像的时间 点确定终端用户界面的反应时间。
可选地, 所述按照图像帧釆集终端屏幕上的图像, 并记录所述图像对应 的时间信息的步骤包括:
检测所述终端屏幕是否满足预设条件, 其中, 所述预设条件包括: 屏幕 对应的电容的热量值达到预设热量阔值, 和 /或, 屏幕对应的电感的压力值达 到预设压力阔值;
在所述屏幕满足所述预设条件的情况下, 开始按照图像帧釆集所述终端 屏幕上的图像, 并记录所述图像对应的时间信息。
可选地, 所述根据相邻两帧图像的变化差异率确定停止釆集最后一帧图 像的时间点的步骤包括:
判断相邻两帧图像间的变化差异率是否达到预设差异阔值;
在所述变化差异率达到预设差异阔值时, 停止釆集图像, 并确定达到所 述预设差异阔值时的连续两帧图像中的第一帧图像对应的时间信息为停止釆 集时的时间点。
可选地, 该方法还包括:
所述确定达到所述预设差异阔值时的连续两帧图像中的第一帧图像对应 的时间信息为停止釆集的时间点的步骤之后, 执行如下步骤:
检测停止釆集图像的动作是否为误操作;
在所述动作是误操作的情况下, 继续釆集终端屏幕上的图像, 并记录各 个图像对应的时间信息;
在所述动作不是误操作的情况下, 根据所述釆集过程中第一帧图像的釆 集时间信息和所述停止釆集时的时间点确定终端用户界面的反应时间。
一种测试终端用户界面反应时间的装置, 包括釆集模块、 第一确定模块 和第二确定模块, 其中:
所述釆集模块设置成: 按照图像帧釆集终端屏幕上的图像, 并记录所述 图像对应的时间信息;
所述第一确定模块设置成: 根据相邻两帧图像的变化差异率确定停止釆 集最后一帧图像的时间点;
所述第二确定模块设置成: 根据釆集过程中第一帧图像的釆集时间信息 和所述最后一帧图像的时间点确定终端用户界面的反应时间。 可选地, 所述釆集模块包括第一检测单元和釆集单元, 其中: 所述第一检测单元设置成: 检测所述终端屏幕是否满足预设条件, 其中, 所述预设条件包括: 屏幕对应的电容的热量值达到预设热量阔值, 和 /或, 屏 幕对应的电感的压力值达到预设压力阔值;
所述釆集单元设置成: 在所述屏幕满足所述预设条件的情况下, 开始按 照图像帧釆集所述终端屏幕上的图像, 并记录所述图像对应的时间信息。
可选地, 所述第一确定模块包括判断单元和确定单元, 其中:
所述判断单元设置成: 判断相邻两帧图像间的变化差异率是否达到预设 差异阔值;
所述确定单元设置成: 在所述变化差异率达到预设差异阔值时, 停止釆 集图像, 并确定达到所述预设差异阔值时的连续两帧图像中的第一帧图像对 应的时间信息为停止釆集时的时间点。
可选地, 所述第一确定模块还包括第二检测单元:
所述第二检测单元设置成: 检测停止釆集图像的动作是否为误操作; 并在所述动作是误操作的情况下, 触发所述釆集模块继续釆集终端屏幕 上的图像, 并记录各个图像对应的时间信息; 在所述动作不是误操作的情况 下, 触发所述第二确定模块根据所述釆集过程中第一帧图像的釆集时间信息 和所述停止釆集时的时间点确定终端用户界面的反应时间。
一种测试终端用户界面反应时间的设备, 包括数据釆集器、 存储器和处 理器, 其中:
所述数据釆集器设置成: 釆集时间信息和图像信息;
所述存储器设置成: 保存所述数据釆集器釆集到的所述时间信息和所述 图像信息;
所述处理器设置成: 对所述存储器内的信息进行数据处理, 以确定终端 用户界面的反应时间。
可选地, 所述处理器还设置成: 计算所述存储器内存储的相邻两帧图像 的变化差异率, 在所述变化差异率达到预设差异阔值时, 触发所述数据釆集 器停止釆集图像, 并确定达到所述预设差异阔值时的连续两帧图像中的第一 帧图像对应的时间信息为停止釆集时的时间点, 再根据釆集过程中第一帧图 像的釆集时间信息和所述停止釆集时的时间点确定终端用户界面的反应时 间。
上述技术方案釆集终端屏幕上的图像, 通过釆集到的图像确定变化差异 率, 进一步确定终端 UI的反应时间,使用该方法进行测试不占用终端运行进 程, 因此不影响终端运行时的反应速度, 测试结果准确, 解决了相关的测试 方法大都基于指令或运行脚本进行测试, 其测试过程会影响终端运行时的真 实反应时间, 拖慢终端反应速度, 导致测试结果不够准确的问题。 附图概述
图 1 是本发明实施例中测试终端 UI反应时间的方法的流程图; 图 2 是本发明实施例中测试终端 UI反应时间的装置的结构示意图; 图 3 是本发明实施例中测试终端 UI反应时间的装置釆集模块的结构示 意图;
图 4 是本发明实施例中测试终端 UI反应时间的装置第一确定模块的结 构示意图;
图 5 是本发明实施例中测试终端 UI反应时间的设备的架构示意图; 图 6 是本发明优选实施例中测试移动终端 UI反应时间的设备的结构示 意图;
图 7 是本发明优选实施例中测试移动终端 UI反应时间的方法的流程示 意图。 本发明的较佳实施方式 为了解决相关的测试方法大都基于指令或运行脚本进行测试, 其测试过 程会影响终端运行时的真实反应时间, 拖慢终端反应速度, 导致测试结果不 够准确的问题, 本发明实施例提供了一种测试终端 UI反应时间的方法、装置 及设备, 以下结合附图以及实施例, 对本发明进行进一步详细说明。 应当理 解, 此处所描述的具体实施例仅仅用以解释本发明, 并不限定本发明。
本发明实施例提供了一种测试终端 UI反应时间的方法,其流程如图 1所 示, 包括步骤 S102至步骤 S106:
S102,按照图像帧釆集终端屏幕上的图像, 并记录图像对应的时间信息; S104, 根据相邻两帧图像的变化差异率确定停止釆集最后一帧图像的时 间点;
S106, 根据釆集过程中第一帧图像的釆集时间信息和最后一帧图像的时 间点确定终端 UI的反应时间。
本发明实施例釆集终端屏幕上的图像, 通过釆集到的图像确定变化差异 率, 进一步确定终端 UI的反应时间,使用该方法进行测试不占用终端运行进 程, 因此不影响终端运行时的反应速度, 测试结果准确, 解决了相关的测试 方法大都基于指令或运行脚本进行测试, 其测试过程会影响终端运行时的真 实反应时间, 拖慢终端反应速度, 导致测试结果不够准确的问题。
测试过程中, 按照图像帧釆集终端屏幕上的图像, 并记录图像对应的时 间信息包括: 检测终端屏幕是否满足预设条件, 其中, 预设条件包括: 屏幕 对应的电容的热量值达到预设热量阔值, 和 /或, 屏幕对应的电感的压力值达 到预设压力阔值; 在屏幕满足预设条件的情况下, 开始按照图像帧釆集终端 屏幕上的图像, 并记录各个图像对应的时间信息。 本领域技术人员可以根据 终端屏幕不同而设置不同的触发条件, 例如将压力指数作为触发釆集图像的 初始信号。
实现时, 根据相邻两帧图像的变化差异率确定停止釆集最后一帧图像的 时间点的过程可以是先判断相邻两帧图像间的变化差异率是否达到预设差异 阔值; 再在变化差异率达到预设差异阔值时, 停止釆集图像, 并确定达到预 设差异阔值时的连续两帧图像中的第一帧图像对应的时间信息为停止釆集时 的时间点。 其中, 预设差异阔值可以根据用户需求的准确度不同来进行设置, 在通常情况下, 该预设差异阔值为 0%, 本领域技术人员根据用户需求, 可以 对该百分比进行细微的上调。
由于用户对终端的操作存在多元化, 因此, 终端在操作时可能会存在误 操作, 例如, 在用户等待打开网页时, 页面未刷新出来, 则连续两帧图像变 化差异率可能被判为 0%, 此时就是误操作, 因此, 在确定达到预设差异阔值 时的连续两帧图像中的第一帧图像对应的时间信息为停止釆集时的时间点之 后, 还可以检测停止釆集最后一帧图像的动作是否为误操作; 在动作是误操 作的情况下, 继续釆集终端屏幕上的图像, 并记录各个图像对应的时间信息; 在动作不是误操作的情况下, 根据釆集过程中第一帧图像的釆集时间信息和 停止釆集时的时间点确定终端 UI的反应时间。
本发明实施例还提供一种测试终端 UI反应时间的装置,该装置的结构示 意如图 2所示, 包括釆集模块 10、 第一确定模块 20和第二确定模块 30, 其 中:
釆集模块 10设置成: 按照图像帧釆集终端屏幕上的图像, 并记录图像对 应的时间信息;
第一确定模块 20, 与釆集模块 10耦合, 设置成: 根据相邻两帧图像的 变化差异率确定停止釆集最后一帧图像的时间点;
第二确定模块 30, 与第一确定模块 20耦合, 设置成: 根据釆集过程中 第一帧图像的釆集时间信息和最后一帧图像的时间点确定终端 UI 的反应时 间。
图 3示出了釆集模块 10的结构示意图, 釆集模块 10还包括: 第一检测 单元 101和釆集单元 102, 其中: 第一检测单元 101设置成: 检测终端屏幕是否满足预设条件, 其中, 预 设条件包括: 屏幕对应的电容的热量值达到预设热量阔值, 和 /或, 屏幕对应 的电感的压力值达到预设压力阔值;
釆集单元 102, 与第一检测单元 101耦合, 设置成: 在屏幕满足预设条 件的情况下, 开始按照图像帧釆集终端屏幕上的图像, 并记录各个图像对应 的时间信息。
图 4示出了第一确定模块 20的结构示意图, 第一确定模块 20包括: 判 断单元 201和确定单元 202, 其中:
判断单元 201设置成: 判断相邻两帧图像间的变化差异率是否达到预设 差异阔值;
确定单元 202, 与判断单元 201耦合, 设置成: 在变化差异率达到预设 差异阔值时, 停止釆集图像, 并确定达到预设差异阔值时的连续两帧图像中 的第一帧图像对应的时间信息为停止釆集时的时间点。
可选地, 第一确定模块 20还可以包括: 第二检测单元, 与确定单元 202 耦合, 设置成: 检测停止釆集图像的动作是否为误操作; 并在动作是误操作 的情况下, 触发釆集模块继续釆集终端屏幕上的图像, 并记录各个图像对应 的时间信息; 在动作不是误操作的情况下, 触发第二确定模块根据釆集过程 中第一帧图像的釆集时间信息和停止釆集时的时间点确定终端 UI 的反应时 间。
本发明实施例还提供一种测试终端 UI反应时间的设备,其架构示意如图
5所示, 包括: 数据釆集器 1、 存储器 2和处理器 3 , 其中:
数据釆集器 1设置成: 釆集时间信息和图像信息;
存储器 2, 与数据釆集器 1耦合, 设置成: 保存数据釆集器釆集到的时 间信息和图像信息;
处理器 3 , 与存储器 2耦合, 设置成: 对存储器内的信息进行数据处理, 以确定终端 UI的反应时间。
其中, 处理器 3 , 还设置成: 计算存储器内存储的相邻两帧图像的变化 差异率, 在变化差异率达到预设差异阔值时, 触发数据釆集器停止釆集图像, 并确定达到预设差异阔值时的连续两帧图像中的第一帧图像对应的时间信息 为停止釆集时的时间点, 再根据釆集过程中第一帧图像的釆集时间信息和停 止釆集时的时间点确定终端 UI的反应时间。
在上述实施例中, 测试终端 UI反应时间的装置包括多个模块, 本领域技 术人员知晓, 可以将该装置设置成为一个独立的处理器或设置在某一个处理 器之中, 此处不再赘述。
优选实施例
基于相关技术检测 UI反应时间的技术都不够精确, 因此, 本发明实施例 提供一种利用图像分析的方式测试 UI反应时间的方法,该方法能够客观的评 估移动终端 UI反应时间的用户感受。
为达到上述目的, 本发明实施例的技术方案如下:
本发明实施例提供了一种利用图像分析的方式测试 UI反应时间的设备, 该设备包括: 数据釆集器、 存储器、 处理器, 本领域技术人员在设计时, 可 以将该设备的各个部分设计为能够实现其功能的芯片单元, 例如, 本发明实 施例中, 将数据釆集器命名为图像釆集单元和启动记录单元, 将存储器命名 为存储单元, 将处理器命名为数据分析单元。 上述各单元只是名称有所改变, 其实现的功能相同, 本领域技术人员在设计时, 可以根据需求改变单元名称。
其中, 图像釆集单元设置成: 在用户对移动终端进行操作时, 记录全部 操作过程中终端 UI界面的变化情况, 并将釆集的图像发送给存储单元, 在本 实施例中, 该图像釆集单元可以是摄像头类的釆集器;
启动记录单元设置成: 记录用户对移动终端操作的起始时间, 和釆集到 的各个图片的时间, 并将数据发送给存储单元, 以便数据分析单元对其进行 分析处理;
存储单元设置成: 接收图像釆集单元发送的图像资源, 并将图像资源根 据时间标记进行排序, 提供数据分析单元进行调用;
数据分析单元设置成: 图像分析目标的选取和时间的计算。
实现时, 图像釆集单元由启动记录单元控制启动图像记录, 数据分析单 元启动时间数据由图像釆集单元提供图像数据确定分析起点。
例如, 对于电阻式屏幕的终端, 通过感应终端屏幕的压力来发送触发图 像釆集单元开始工作的信号。 在用户操作移动终端时, 感受手机触摸屏幕压 力的变化, 并将压力变化的信息转化为电信号, 并发送至数据分析单元, 数 据分析单元根据所接收的压力信号确定分析所需的时间起点。
本发明实施例还提供了一种利用图像分析来测试移动终端 UI反应时间 的方法, 该方法通过上述测试 UI反应时间的设备来实现, 其包括如下过程: 数据分析单元根据接收时间记录单元的信号, 结合图像釆集单元提供的 图像信息,提取移动终端 UI发生变化的起始图片信息, 并且确定反应起始时 间, 并将变化起始时间的图像显示在数据分析单元供分析人员进行确认; 数据分析单元根据图像釆集单元在移动终端 UI界面连续变化过程的图 像, 分析计算连续两帧图像的变化差异率,确定变化差异率为 0%的两帧图像 自动停止图像记录, 之后可以将图像显示在数据分析单元供分析人员进行确 认;
根据数据分析单元自动判断或者分析人员人为选定的起始时间图像、 变 化截至时间的图像, 自动计算两帧图像的时间差值生成该变化过程的时间周 期信息。
起始图像资源中, 时间记录单元根据压力变化记录其对应的时间信息, 图像釆集单元所釆集的与压力变化时间相对应的图像。 停止图像资源中, 图 像釆集单元釆集的连续两帧图像差异率为 0的图像,差异率为 0%的第一张包 含时间信息的图像。
本发明实施例所提供的利用图像分析来测试移动终端 UI反应时间的方 法, 通过时间记录单元控制图像釆集单元启动图像釆集, 并标记时间信息, 发送给存储单元进行保存; 数据分析单元进行连续图像的差异率分析, 并控 制图像釆集单元停止图像釆集动作,将 UI变化完成时间的图像发送存储单元 进行保存。 同时用户可以在数据分析单元中自动选择图像或者根据人工选择 图像进行时间的计算, 客观的计算整个 UI变化过程时间得出 UI反应时间数 据,以时间数据与同类型产品进行横向比较,客观评价移动终端 UI性能水平。
下面结合附图对本发明的技术方案进一步详细阐述。
图 6为本发明实施例测试移动终端 UI反应时间的设备的结构示意图,如 图 6所示, 包括: 图像釆集单元 11、 时间记录单元 12、 存储单元 13和数据 分析单元 14。
其中, 图像釆集单元 11设置成: 在用户对移动终端进行操作时, 记录全 部操作过程中终端 UI界面的变化情况, 并将釆集的图像发送给存储单元 13; 还自动记录与时间记录单元 12提供的启动时间信息相匹配的图像信息,并将 与启动时间信息相匹配的图像信息发送至存储单元 13;还为数据分析单元 14 提供停止图像釆集信号后自动关闭图像釆集过程, 并将与图像釆集停止信号 时间信息相匹配的图像信息发送至存储单元 13。 在用户进行移动终端某一场 景操作时, 图像釆集单元 11启动对整个操作过程、 UI变化过程的图像釆集, 具体包括: 用户在数据分析单元 14启动移动终端 UI反应时间评价系统, 图 像釆集系统 11即刻进入图像釆集状态,并将所釆集的图像发送到存储单元 13 进行保存, 每一幅图像都记录有相应的时间信息, 并在存储单元 13按照时间 标签进行有序存放。
时间记录单元 12设置成:将移动终端放置在时间记录单元 12操作平面, 用户在时间记录单元 12对移动终端进行人工操作时,手指在移动终端屏幕进 行操作会启动时间记录单元 12, 记录用户手指接触移动终端屏幕并产生压力 变化时的时间信息, 时间记录单元 12会将该时间信息发动给数据分析单元 14进行记录。
存储单元 13 , 将图像釆集单元 11 釆集的图像资源, 按照时间标签信息 有序存放, 并将图像资源、 时间标签等信息开放给数据分析单元 14进行随时 调取、 解析。
数据分析单元 14, 控制图像釆集单元 11、 时间记录单元 12启动或者停 止工作, 并根据时间启动单元 12、 存储单元 13提供的时间标签信息、 图像 信息进行数据解析,供用户对移动终端 UI变化过程的起止图像进行确认, 并 自动计算移动终端 UI变化过程的时间周期。
可选地, 在用户进行移动终端某一场景操作时, 数据分析单元 14启动对 整个操作过程、 UI 变化过程的图像解析, 具体包括: 根据时间记录单元 12 发送的时间信息数据, 解析存储单元 13中存储的与时间记录单元 12发送的 时间信息对象的图像信息,并将该图像信息显示在数据分析单元 14中的起始 图像位置, 供用户进行人工确认。
根据存储单元 13保存的图像数据, 进行连续两帧图像的差异率解析, 自 动筛选第一时间顺序的两帧差异率为 0%的图像,同时发送停止图像釆集指令 至图像釆集单元 11停止图像釆集, 并将该图像显示在数据分析单元 14种的 结束图像位置, 供用户进行人工进行确认。
用户可以在数据分析单元 14对于起始图像、 结束图像进行人工选择, 用 户在数据分析单元 14确认起始图像、 结束图像之后, 数据分析单元 14将根 据用户确定的图像时间标签, 对存储单元 13的图像资源进行整理, 仅保留确 定的起始、结束时间标签对应的前后 100帧图像供数据分析单元 14进行数据 解析使用, 其他存储单元针对当前移动终端 UI 变化过程的图像资源将被清 理。 数据分析单元 14, 根据用户最终确定的起始图像、 结束图像的时间标签 信息, 自动计算移动终端 UI变化过程的时间周期, 并显示在数据分析单元供 用户读取。
图 7为本发明实施例测试移动终端 UI反应时间的方法的流程示意图,如 图 7所示, 利用图像分析测试移动终端 UI反应时间的方法包括步骤 S701至 S703。
S701 , 数据分析单元根据接收时间记录单元的信号, 结合图像釆集单元 提供的图像信息,提取移动终端 UI发生变化的起始图片信息, 并且确定反应 起始时间, 并将变化起始时间的图像显示在数据分析单元供分析人员进行确 认。
可选地, 图像釆集单元, 将釆集的图像时时保存至存储单元; 时间记录 单元, 在感应到压力产生变化时, 记录变化时的时间信息; 数据分析单元, 结合时间记录单元提供的时间数据, 与存储单元中保存的图像资源时间标签 进行解析匹配, 将时间标签信息一致的图像信息, 显示在数据分析单元起始 图像位置, 供分析人员进行确认。
步骤 S702, 数据分析单元根据图像釆集单元在移动终端 UI界面连续变 化过程的图像, 分析计算连续两帧图像的变化差异率,确定变化差异率为 0% 的两帧图像自动停止图像记录, 并将图像显示在数据分析单元供分析人员进 行确认。
可选地, 数据分析单元, 在存储单元进行图像存储的同时, 时时解析连 续两帧图像的变化差异率,当所得差异率为 0%时,发送信号至图像釆集单元、 时间记录单元停止工作; 数据分析单元,将图像差异率为 0%的连续两帧图像 中的第一帧图像, 显示在数据分析单元结束时间图像位置, 供分析人员进行 确认。
步骤 S703 , 根据数据分析单元自动判断或者分析人员人为选定的起始时 间图像、 变化截至时间的图像, 自动计算两帧图像的时间差值生成该变化过 程的时间周期信息。
可选地, 数据分析单元在起始时间图像、 变化截至时间位置分别线显示 相应时间的图像, 分析人员可以使用数据分析单元提供的图像前、 后选择按 键, 进行人工图像确认避免自动选择图像存在的偏差。
数据分析单元, 在分析人员确认起始、 截止位置图像后, 自动计算两幅 图像的时间差值,得出移动终端该 UI变化过程的时间周期信息; 数据分析单 元, 发送指令至存储单元, 根据分析人员确定的起始、 截止图像的时间标签 信息, 将该时间标签前后 100帧图像保留做为数据查询, 其余图像资源自动 删除已经控制图像单元空间。
本发明实施例提供的方法是一种客观、 准确、 定量的移动终端产品 UI 反映时间测评的手段,将移动终端用户使用过程中的 UI反应时间感受通过时 间数据予以量化, 并且实现了评价分析过程的全部自动化, 数据精度亦可以 精确至 ms数量级, 能够有效地指导移动终端产品的 UI反应时间用户体验的 改进和提升。 尽管为示例目的, 已经公开了本发明的优选实施例, 本领域的技术人员 将意识到各种改进、 增加和取代也是可能的, 因此, 本发明的范围应当不限 于上述实施例。
工业实用性
上述技术方案釆集终端屏幕上的图像, 通过釆集到的图像确定变化差异 率, 进一步确定终端 UI的反应时间,使用该方法进行测试不占用终端运行进 程, 因此不影响终端运行时的反应速度, 测试结果准确, 解决了相关的测试 方法大都基于指令或运行脚本进行测试, 其测试过程会影响终端运行时的真 实反应时间, 拖慢终端反应速度, 导致测试结果不够准确的问题。 因此本发 明具有 虽的工业实用性。

Claims

权 利 要 求 书
1、 一种测试终端用户界面反应时间的方法, 包括:
按照图像帧釆集终端屏幕上的图像, 并记录所述图像对应的时间信息; 根据相邻两帧图像的变化差异率确定停止釆集最后一帧图像的时间点; 根据釆集过程中第一帧图像的釆集时间信息和所述最后一帧图像的时间 点确定终端用户界面的反应时间。
2、 如权利要求 1所述的测试终端用户界面反应时间的方法, 其中, 所述 按照图像帧釆集终端屏幕上的图像, 并记录所述图像对应的时间信息的步骤 包括:
检测所述终端屏幕是否满足预设条件, 其中, 所述预设条件包括: 屏幕 对应的电容的热量值达到预设热量阔值, 和 /或, 屏幕对应的电感的压力值达 到预设压力阔值;
在所述屏幕满足所述预设条件的情况下, 开始按照图像帧釆集所述终端 屏幕上的图像, 并记录所述图像对应的时间信息。
3、 如权利要求 1所述的测试终端用户界面反应时间的方法, 其中, 所述 根据相邻两帧图像的变化差异率确定停止釆集最后一帧图像的时间点的步骤 包括:
判断相邻两帧图像间的变化差异率是否达到预设差异阔值;
在所述变化差异率达到预设差异阔值时, 停止釆集图像, 并确定达到所 述预设差异阔值时的连续两帧图像中的第一帧图像对应的时间信息为停止釆 集时的时间点。
4、如权利要求 3所述的测试终端用户界面反应时间的方法, 该方法还包 括:
所述确定达到所述预设差异阔值时的连续两帧图像中的第一帧图像对应 的时间信息为停止釆集的时间点的步骤之后, 执行如下步骤: 检测停止釆集图像的动作是否为误操作;
在所述动作是误操作的情况下, 继续釆集终端屏幕上的图像, 并记录各 个图像对应的时间信息;
在所述动作不是误操作的情况下, 根据所述釆集过程中第一帧图像的釆 集时间信息和所述停止釆集时的时间点确定终端用户界面的反应时间。
5、 一种测试终端用户界面反应时间的装置, 包括釆集模块、 第一确定模 块和第二确定模块, 其中:
所述釆集模块设置成: 按照图像帧釆集终端屏幕上的图像, 并记录所述 图像对应的时间信息;
所述第一确定模块设置成: 根据相邻两帧图像的变化差异率确定停止釆 集最后一帧图像的时间点;
所述第二确定模块设置成: 根据釆集过程中第一帧图像的釆集时间信息 和所述最后一帧图像的时间点确定终端用户界面的反应时间。
6、 如权利要求 5所述的测试终端用户界面反应时间的装置, 其中, 所述 釆集模块包括第一检测单元和釆集单元, 其中:
所述第一检测单元设置成: 检测所述终端屏幕是否满足预设条件, 其中, 所述预设条件包括: 屏幕对应的电容的热量值达到预设热量阔值, 和 /或, 屏 幕对应的电感的压力值达到预设压力阔值;
所述釆集单元设置成: 在所述屏幕满足所述预设条件的情况下, 开始按 照图像帧釆集所述终端屏幕上的图像, 并记录所述图像对应的时间信息。
7、 如权利要求 5所述的测试终端用户界面反应时间的装置, 其中, 所述 第一确定模块包括判断单元和确定单元, 其中:
所述判断单元设置成: 判断相邻两帧图像间的变化差异率是否达到预设 差异阔值;
所述确定单元设置成: 在所述变化差异率达到预设差异阔值时, 停止釆 集图像, 并确定达到所述预设差异阔值时的连续两帧图像中的第一帧图像对 应的时间信息为停止釆集时的时间点。
8、 如权利要求 7所述的测试终端用户界面反应时间的装置, 其中, 所述 第一确定模块还包括第二检测单元:
所述第二检测单元设置成: 检测停止釆集图像的动作是否为误操作; 并在所述动作是误操作的情况下, 触发所述釆集模块继续釆集终端屏幕 上的图像, 并记录各个图像对应的时间信息; 在所述动作不是误操作的情况 下, 触发所述第二确定模块根据所述釆集过程中第一帧图像的釆集时间信息 和所述停止釆集时的时间点确定终端用户界面的反应时间。
9、 一种测试终端用户界面反应时间的设备, 包括数据釆集器、 存储器和 处理器, 其中:
所述数据釆集器设置成: 釆集时间信息和图像信息;
所述存储器设置成: 保存所述数据釆集器釆集到的所述时间信息和所述 图像信息;
所述处理器设置成: 对所述存储器内的信息进行数据处理, 以确定终端 用户界面的反应时间。
10、 如权利要求 9所述的测试终端用户界面反应时间的设备, 其中, 所述处理器还设置成: 计算所述存储器内存储的相邻两帧图像的变化差 异率, 在所述变化差异率达到预设差异阔值时, 触发所述数据釆集器停止釆 集图像, 并确定达到所述预设差异阔值时的连续两帧图像中的第一帧图像对 应的时间信息为停止釆集时的时间点, 再根据釆集过程中第一帧图像的釆集 时间信息和所述停止釆集时的时间点确定终端用户界面的反应时间。
PCT/CN2014/084422 2014-06-23 2014-08-14 一种测试终端用户界面反应时间的方法、装置及设备 WO2015196540A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410282610.5 2014-06-23
CN201410282610.5A CN105302701B (zh) 2014-06-23 2014-06-23 一种测试终端用户界面反应时间的方法、装置及设备

Publications (1)

Publication Number Publication Date
WO2015196540A1 true WO2015196540A1 (zh) 2015-12-30

Family

ID=54936548

Family Applications (2)

Application Number Title Priority Date Filing Date
PCT/CN2014/084422 WO2015196540A1 (zh) 2014-06-23 2014-08-14 一种测试终端用户界面反应时间的方法、装置及设备
PCT/CN2014/087216 WO2015196601A1 (zh) 2014-06-23 2014-09-23 用户界面反应时间的方法、装置及设备、存储介质

Family Applications After (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/087216 WO2015196601A1 (zh) 2014-06-23 2014-09-23 用户界面反应时间的方法、装置及设备、存储介质

Country Status (2)

Country Link
CN (1) CN105302701B (zh)
WO (2) WO2015196540A1 (zh)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107870856A (zh) * 2016-09-28 2018-04-03 广州市动景计算机科技有限公司 视频播放启动时长测试方法、装置及电子终端
CN110442499A (zh) * 2019-07-10 2019-11-12 阿里巴巴集团控股有限公司 测试、提高页面响应性能的方法和装置、终端设备
CN112203042A (zh) * 2020-09-10 2021-01-08 福建升腾资讯有限公司 一种云桌面操作响应时间测试方法、系统、设备及介质
CN112306212A (zh) * 2020-10-29 2021-02-02 西安万像电子科技有限公司 终端控制方法及装置

Families Citing this family (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106951346B (zh) * 2016-01-06 2020-07-24 阿里巴巴集团控股有限公司 一种响应时间的测试方法和装置
CN106028027A (zh) * 2016-06-01 2016-10-12 乐视控股(北京)有限公司 检测信号操作时长的方法及装置
CN106227632B (zh) * 2016-08-05 2020-03-20 北京小米移动软件有限公司 判定设备响应时长的方法及装置、电子设备
CN107329883A (zh) * 2017-06-19 2017-11-07 中国信息通信研究院 智能终端应用程序交互响应时延的自动计算方法及系统
CN111324521B (zh) * 2018-12-13 2023-03-28 花瓣云科技有限公司 一种图形界面性能测试方法及测试设备
CN110598612B (zh) * 2019-08-30 2023-06-09 深圳智慧林网络科技有限公司 基于移动终端的病人看护方法、移动终端和可读存储介质
CN110928765B (zh) * 2019-10-11 2021-08-03 京东数字科技控股有限公司 一种链路测试方法及装置
CN111090570A (zh) * 2019-12-13 2020-05-01 Oppo广东移动通信有限公司 一种终端屏幕响应时间测量方法、装置及终端设备
CN111858318B (zh) * 2020-06-30 2024-04-02 北京百度网讯科技有限公司 一种响应时间的测试方法、装置、设备和计算机存储介质
CN112180241B (zh) * 2020-10-13 2024-04-12 合肥泽延微电子有限公司 一种集成电路模拟调试机时管理系统
CN112306892B (zh) * 2020-11-26 2022-04-12 深圳市房多多网络科技有限公司 一种页面响应时长的测试方法以及相关设备
CN113219953B (zh) * 2021-05-10 2023-06-23 中国能源建设集团华南电力试验研究院有限公司 基于激光漫反射光电开关对dcs画面响应时间测试方法
CN113721582B (zh) * 2021-08-03 2023-05-16 安徽江淮汽车集团股份有限公司 座舱系统响应效率测试方法、设备、存储介质及装置
CN113688019B (zh) * 2021-08-10 2022-08-09 荣耀终端有限公司 响应时长检测方法及装置
CN115470153B (zh) * 2022-11-14 2023-03-24 成都安易迅科技有限公司 智能终端系统ui的稳定流畅度评测方法和系统、设备

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102662839A (zh) * 2012-03-29 2012-09-12 奇智软件(北京)有限公司 一种软件的界面状态变化时间的测试方法和装置
CN103237108A (zh) * 2013-05-13 2013-08-07 百度在线网络技术(北京)有限公司 用于移动终端的测试方法和测试终端
CN103812713A (zh) * 2012-11-06 2014-05-21 腾讯科技(深圳)有限公司 一种网页加载时间的测试方法和装置

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7565607B2 (en) * 2003-01-07 2009-07-21 Microsoft Corporation Automatic image capture for generating content
US8016758B2 (en) * 2004-10-30 2011-09-13 Sonowise, Inc. User interface for medical imaging including improved pan-zoom control
JP5531710B2 (ja) * 2010-03-29 2014-06-25 ソニー株式会社 記録装置および記録方法
CN103428406B (zh) * 2012-05-23 2017-11-07 中兴通讯股份有限公司 监控录像分析方法和装置
US9032335B2 (en) * 2012-08-14 2015-05-12 Christopher V. Beckman User interface techniques reducing the impact of movements
CN103685657B (zh) * 2012-09-17 2018-01-30 腾讯科技(深圳)有限公司 电子终端测试方法及装置
TWI490773B (zh) * 2012-10-09 2015-07-01 Ind Tech Res Inst 使用者介面操控方法及具有使用者介面的電子裝置以及內儲操控使用者介面的程式之程式產品
CN103489387B (zh) * 2013-09-24 2017-01-25 国家电网公司 显示器画面切换响应时间测试系统和方法

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102662839A (zh) * 2012-03-29 2012-09-12 奇智软件(北京)有限公司 一种软件的界面状态变化时间的测试方法和装置
CN103812713A (zh) * 2012-11-06 2014-05-21 腾讯科技(深圳)有限公司 一种网页加载时间的测试方法和装置
CN103237108A (zh) * 2013-05-13 2013-08-07 百度在线网络技术(北京)有限公司 用于移动终端的测试方法和测试终端

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107870856A (zh) * 2016-09-28 2018-04-03 广州市动景计算机科技有限公司 视频播放启动时长测试方法、装置及电子终端
CN107870856B (zh) * 2016-09-28 2021-06-11 阿里巴巴(中国)有限公司 视频播放启动时长测试方法、装置及电子终端
CN110442499A (zh) * 2019-07-10 2019-11-12 阿里巴巴集团控股有限公司 测试、提高页面响应性能的方法和装置、终端设备
CN110442499B (zh) * 2019-07-10 2023-08-04 创新先进技术有限公司 测试、提高页面响应性能的方法和装置、终端设备
CN112203042A (zh) * 2020-09-10 2021-01-08 福建升腾资讯有限公司 一种云桌面操作响应时间测试方法、系统、设备及介质
CN112203042B (zh) * 2020-09-10 2022-08-05 福建升腾资讯有限公司 一种云桌面操作响应时间测试方法、系统、设备及介质
CN112306212A (zh) * 2020-10-29 2021-02-02 西安万像电子科技有限公司 终端控制方法及装置
CN112306212B (zh) * 2020-10-29 2024-02-23 西安万像电子科技有限公司 终端控制方法及装置

Also Published As

Publication number Publication date
CN105302701A (zh) 2016-02-03
CN105302701B (zh) 2020-02-28
WO2015196601A1 (zh) 2015-12-30

Similar Documents

Publication Publication Date Title
WO2015196540A1 (zh) 一种测试终端用户界面反应时间的方法、装置及设备
US10313627B2 (en) Apparatus for playing back recorded video images related to event, and method thereof
CN111176960B (zh) 一种用户操作行为跟踪方法、装置、设备及存储介质
CN111405218A (zh) 触摸屏时延检测方法、系统、装置、设备和存储介质
CN105068745B (zh) 通过压力触摸及转动检测的手机显示屏幕操作方法及系统
US10832033B2 (en) Measurement gauge data storage method and apparatus
CN102901898A (zh) 一种对触摸屏及相应软件进行自动测试的系统和方法
WO2012068750A1 (zh) 一种鼠标以及通过该鼠标控制窗口切换的方法
CN105183631A (zh) 设备测试方法及装置
US9817447B2 (en) Method, device, and system for recognizing gesture based on multi-terminal collaboration
US20160085408A1 (en) Information processing method and electronic device thereof
CN105487800B (zh) 智能终端的输入方法和系统
CN109298995A (zh) 一种性能测试方法、装置、电子设备以及存储介质
CN107168637A (zh) 一种通过缩放手势进行显示缩放的智能终端
CN105224448A (zh) 记录测试场景的方法和装置
CN106326069A (zh) 功耗检测方法、装置、设备及系统
CN111077997B (zh) 一种点读模式下的点读控制方法及电子设备
CN114915574B (zh) 一种通过声音自动检测智能门铃响应延迟的方法和系统
CN108228433B (zh) 电子设备、移动应用访次停留时长统计方法及装置
CN114579394A (zh) 日志查看方法、日志生成方法、装置以及电子设备
CN111506488B (zh) 一种应用页面响应测试方法及装置
CN113377199A (zh) 手势识别方法、终端设备和存储介质
KR101194367B1 (ko) 사용자 인터페이스의 검사 장치 및 검사 방법
US20150048173A1 (en) Method of processing at least one object in image in computing device, and computing device
WO2023185568A1 (zh) 一种卵泡计数方法、装置、超声医疗设备及可读存储介质

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 14895912

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 14895912

Country of ref document: EP

Kind code of ref document: A1