CN104008030A - Kernel performance testing method and device - Google Patents

Kernel performance testing method and device Download PDF

Info

Publication number
CN104008030A
CN104008030A CN 201310061784 CN201310061784A CN104008030A CN 104008030 A CN104008030 A CN 104008030A CN 201310061784 CN201310061784 CN 201310061784 CN 201310061784 A CN201310061784 A CN 201310061784A CN 104008030 A CN104008030 A CN 104008030A
Authority
CN
Grant status
Application
Patent type
Prior art keywords
testing
performance
kernel
information
method
Prior art date
Application number
CN 201310061784
Other languages
Chinese (zh)
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

Links

Abstract

The invention is suitable for the technical field of information processing and provides a kernel performance testing method and device. The kernel performance testing method comprises the steps of receiving kernel performance testing request information; executing a pre-stored testing command to obtain a testing result; displaying the testing result in a graphical mode, wherein received kernel performance testing request information includes kernel performance testing instruction sent by a user side or kernel performance testing trigger information produced according to a preset time interval. By adopting the kernel performance testing method and device, automatic kernel performance testing can be achieved, and the testing efficiency can be improved. In addition, the testing result can be monitored in real time in a graphical mode.

Description

内核性能测试的方法及装置 Method and apparatus for testing the performance of the core

技术领域 FIELD

[0001] 本发明属于信息处理技术领域,尤其涉及移动终端内核性能测试的方法及装置。 [0001] The present invention belongs to the technical field of information processing, in particular, relates to a method and apparatus for testing the performance of a mobile terminal core. 背景技术 Background technique

[0002] 现有终端设备在进行内核性能测试时,需要用户手动输入一些命令,例如通过手动输入cat/proc/meminfo命令来查看内存使用情况。 [0002] The conventional terminal device during performance testing kernel, requires the user to manually enter a number of commands, such as to view the memory usage by manually entering cat / proc / meminfo command. 手动输入需要用户熟记这些命令,而且测试效率较低。 Users need to manually enter these commands to memorize, and low test efficiency.

发明内容 SUMMARY

[0003] 本发明实施例的目的在于提供一种内核性能测试的方法,以解决现有内核性能测试效率较低的问题。 [0003] The object of embodiments of the present invention to provide a method of testing the performance of the core, in order to solve the conventional lower core performance testing efficiency.

[0004] 本发明实施例是这样实现的,一种内核性能测试的方法,所述方法包括: [0004] Example embodiments of the present invention is implemented, a method of testing the performance of the core, the method comprising:

[0005] 接收内核性能测试的请求信息; [0005] Performance Test core receiving request information;

[0006] 执行预存的测试命令以获得测试结果; [0006] with Stored test command to obtain a test result;

[0007] 以图形化的方式显示所述测试结果; [0007] In graphically display the test result;

[0008] 所述接收内核性能测试的请求信息包括用户端发出的内核性能测试指令,或者根据预设的时间间隔产生的内核性能测试的触发信息。 [0008] The core receiving request information includes performance tests core performance test command sent by the user terminal, or information based on core performance tests of a preset time interval trigger is generated.

[0009] 本发明实施例的另一目的在于提供一种内核性能测试的装置,所述装置包括: [0009] Another object of an embodiment of the present invention to provide a core performance test apparatus, said apparatus comprising:

[0010] 信息接收单元,用于接收内核性能测试的请求信息,所述接收内核性能测试的请求信息包括用户端发出的内核性能测试指令,或者根据预设的时间间隔产生的内核性能测试的触发信息; [0010] The information receiving means for receiving request information of the performance test kernel, the kernel receives the request information including performance testing kernel performance test command sent by the client, or core performance tests in accordance with a preset time interval Triggers information;

[0011] 执行单元,用于执行预存的测试命令以获得测试结果; [0011] execution unit for executing a stored test command to obtain a test result;

[0012] 显示单元,用于以图形化的方式显示所述测试结果。 [0012] a display unit for displaying the test results graphically.

[0013] 本发明实施例与现有技术相比存在的有益效果是:预先存储测试命令,在接收到测试请求信息时,自动执行预存的所述测试命令以获得测试结果,并以图形化的方式显示所述测试结果。 [0013] Advantageous Effects present embodiment as compared with the prior art embodiment of the present invention is: test command stored in advance, upon receiving the test request information to automatically perform the test commands stored to obtain a test result, and graphically the test results are displayed. 本发明实施例不再需要用户手动输入测试命令,从而可有效提高测试的效率。 Example embodiments of the present invention no longer needs to manually enter the user test command, which can improve the efficiency of testing. 而且,用户在进行测试时,不需要熟记所述测试命令。 Further, when the user during the test, the test does not need to memorize commands. 另外,还提供了图形化的显示方式,方便用户实时的监控测试结果。 In addition, it also provides a graphical display, user-friendly real-time monitoring test results.

附图说明 BRIEF DESCRIPTION

[0014] 为了更清楚地说明本发明实施例中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。 [0014] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings briefly described embodiments or the prior art needed to be used in describing the embodiments. Apparently, the drawings described below are merely Some embodiments of the present invention, those of ordinary skill in the art is concerned, without any creative effort, and may also obtain other drawings based on these drawings.

[0015] 图1是本发明第一实施例提供的内核性能测试方法的实现流程图; [0015] FIG. 1 is a flow chart for implementing core performance test method according to a first embodiment of the present invention;

[0016] 图2是本发明第一实施例提供的内核性能测试界面的示例图;[0017] 图3是本发明第二实施例提供的内核性能测试装置的组成结构图; [0016] FIG. 2 is a view showing an example of the core to provide a first performance test interface embodiment of the present invention; [0017] FIG. 3 is a configuration diagram of the core composition performance testing device according to a second embodiment of the present invention provides;

[0018] 图4是本发明第三实施例提供的内核性能测试装置适用的场景图。 [0018] FIG. 4 is a core performance testing device provided in a scene showing a third embodiment applicable to the present invention.

具体实施方式 detailed description

[0019] 为了使本发明的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本发明进行进一步详细说明。 [0019] To make the objectives, technical solutions and advantages of the present invention will become more apparent hereinafter in conjunction with the accompanying drawings and embodiments of the present invention will be further described in detail. 应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。 It should be understood that the specific embodiments described herein are only intended to illustrate the present invention and are not intended to limit the present invention.

[0020] 为了说明本发明所述的技术方案,下面通过具体实施例来进行说明。 [0020] In order to describe the technical solutions of the present invention will be illustrated by specific examples.

[0021] 实施例一: [0021] Example a:

[0022] 图1示出了第一实施例提供的内核性能测试方法的实现流程,该方法过程详述如下: [0022] FIG 1 shows an implementation flow of core performance testing method provided in the first embodiment, which process is described in detail as follows:

[0023] 在步骤SlOl中,接收内核性能测试的请求信息。 [0023] In step SlOl, the kernel receives the request information performance testing.

[0024] 在本实施例中,所述接收内核性能测试的请求信息包括但不限于用户端发出的内核性能测试指令,或者根据预设的时间间隔(例如I秒/次)产生的内核性能测试的触发信 [0024] In the present embodiment, the kernel receives the request information include, but are not limited performance tests to core performance test command sent by the UE, or a (e.g. second I / s) produced in accordance with a preset time interval kernel performance test of the trigger

肩、O Shoulder, O

[0025] 需要说明的是,本实施例所述用户端发出的内核性能测试指令是指用户端发出的开始进行内核性能测试的指令,不是指用户输入的测试命令。 [0025] Incidentally, the embodiment core performance test instruction issued by the user terminal according to the present embodiment refers to the start of an instruction issued by the client core performance test and not to the test command input by the user.

[0026] 在步骤S102中,执行预存的测试命令以获得测试结果。 [0026] In step S102, the execution command for stored test results.

[0027] 在本实施例中,预存的测试命令包括但不限于PS命令、cat/proc/meminfo命令等。 [0027] In the present embodiment, the stored test command including but not limited to the PS command, cat / proc / meminfo commands. 其中,PS命令用于Linux系统下进程查看命令,通过该命令可以确定系统有哪些进程正在运行、进程运行的状态以及进程占用的资源等。 Which, PS command is used to view the process under Linux system command, the system can use this command to determine which processes are running, running state of the process and the process of occupation of resources. cat/proc/meminfo命令用于查看Linux系统的内存信息,包括总的内存值以及当前剩余的内存值等。 cat / proc / meminfo command to view information memory Linux system, including the total value of the memory and the current value of the remaining memory and the like.

[0028] 优选的是,为了提高测试效率,使得测试更有针对性,本实施例所述请求信息中携带有待测试的信息; [0028] Preferably, in order to improve the testing efficiency, so that the test more specific, the present embodiment the request information carries the information to be tested;

[0029] 所述执行预存的测试命令以获得测试结果具体包括: [0029] stored in the execution command for the test results comprises:

[0030] 执行预存的与所述待测试的信息相关的测试命令。 [0030] with Stored test command associated with the information to be tested. 例如,当所述请求信息中携带有进程测试信息时,则执行PS命令,并在显示测试结果时,显示与该进程列表相关的信息。 For example, when the request information carries the process of the test information, the PS command, and displaying test results, information related to the display list process.

[0031] 进一步的,本实施例所述请求信息中还可以携带有测试周期信息; [0031] Further, the present embodiment may also request information carries the information of the test cycle;

[0032] 所述执行预存的测试命令以获得测试结果具体包括: [0032] stored in the execution command for the test results comprises:

[0033] 根据所述测试周期执行预存的与所述待测试的信息相关的测试命令。 [0033] with Stored information associated with the test command to be tested according to the test period. 例如,每隔I秒执行一次PS命令。 For example, executed once every second I PS command.

[0034] 进一步的,为了提高测试的安全性,本实施例所述请求信息中还携带有登陆用户名以及密码等信息。 [0034] Further, in order to improve the safety of the test, the present embodiment the request message further carries information Username and password.

[0035] 需要说明的是,当所述请求信息中未携带有待测试信息,则执行预存的全部测试命令。 [0035] Incidentally, when the request message does not carry the information to be tested, all executing prestored test command.

[0036] 在步骤S103中,以图形化的方式显示所述测试结果。 [0036] In step S103, display the test results graphically.

[0037] 在本实施例中,当所述请求信息中未携带有待测试信息时,则以图形化的方式显示全部测试结果(即执行预存的全部测试命令后获得的测试结果)。 [0037] In the present embodiment, when the request message does not carry the information to be tested, it is graphically displayed places all of the test results (i.e., the test results of all tests performed in order to obtain pre-stored). 当所述请求信息中携带有待测试的信息时,则以图形化的方式显示与所述待测试的信息相关的测试结果。 When the request information carries the information to be tested, places graphically display test result information associated with the to-be tested. 例如当所述请求信息中携带有进程测试信息时,执行PS命令,在显示测试结果时,显示与所述携带的进程测试信息相关的信息。 For example, when the request information carries the information of the test process, the PS command, when the test result is displayed, displaying the information carried by the information related to the test process. 所述以图形化的方式显示所述测试结果是指将测试结果通过图表等直观的方式显示在测试终端(现有技术是直接输出测试结果,没有与图表等结合)。 Said display to graphically the test results means that the test results are shown in the test terminal through an intuitive manner charts (prior art is the direct output test results, and not bound charts, etc.).

[0038] 优选的,本实施例在以图形化的方式显示所述测试结果时,还以图形化的方式提供多种功能供用户选择。 [0038] Preferably, in this embodiment, while displaying the test results in a graphical manner, but also to provide a graphical way for users to choose a variety of functions. 示例性的,以功能菜单按键的方式提供多种功能供用户选择,所述功能包括开始输出功能、停止输出功能以及输出内存曲线图功能,如图2所示。 Exemplary, to provide the function menu key way for users to choose a variety of functions, said functions comprising an output function starts, stops output memory and the output graph of the function, as shown in FIG.

[0039] 在本实施例中,所述开始输出功能即表示开始进行内核性能测试,与接收到内核性能测试的请求信息后的处理过程相同。 [0039] In the present embodiment, the output function represents the beginning of the start kernel performance tests, and the processing request information received after the performance test of the same core.

[0040] 优选的,在接收到输出内存曲线图功能的指令时,从数组列表中读取预存的剩余内存值,并根据读取的所述剩余内存值生成剩余内存值曲线图。 [0040] Preferably, upon receiving the output instruction memory function graph, the array is read from pre-stored in the remaining memory list value, and the remaining memory value graph generated according to the read residual value memory.

[0041] 本实施例在读取数组列表中的所述剩余内存值时,根据读取的所述剩余内存值,每隔预设时间间隔(与更新周期相同)进行一次绘图(如横坐标表示间隔时间,纵坐标表示读取的剩余内存值),从而将整个剩余内存值的变化情况描绘在图标上显示给用户。 [0041] The present embodiment when the value in the read remaining memory array list embodiment, the remaining memory according to the read value, every preset time interval (same as the update cycle) of one drawing (e.g., the abscissa represents interval, the ordinate represents the value of the remaining memory read), so as to change the entire residual memory values ​​depicted on the icon displayed to the user.

[0042] 优选的,在接收到停止输出功能的指令时,停止数据输出,并获取已输出的数据,根据所获取的已输出数据生成报表。 [0042] Preferably, upon receiving an instruction to stop the output, the data output is stopped, and acquires the data has already been output, the report has been generated in accordance with the acquired output data.

[0043] 在本实施例中,在接收到停止输出功能的指令时,停止数据输出(即停止测试),获取已输出的数据,调用EXCEL报表函数,根据所获取的已输出数据生成EXCEL报表。 [0043] In the present embodiment, when receiving an instruction to stop output of the stop data output (i.e., the test was stopped), acquired data is output, call EXCEL report function, the acquired has been output data generation EXCEL report based. 其中,所述已输出的数据包括以下至少一项:内存数据、CPU使用数据、当前运行的进程列表数据 Wherein said data has been output comprises at least one of: a data memory, CPU usage, data, currently running process list data

坐寸ο Sit inch ο

[0044] 需要说明的是,当所述请求信息中携带有待测试信息时,则获取与所述待测信息相关的信息,直接根据获取的所述与所述待测信息相关的信息生成报表,即直接生成用户所需的报表,避免生成的报表数据太多,需要用户手动过滤数据的操作。 [0044] Incidentally, when the request information carries the information to be tested, the test information is acquired information related directly to the acquired information related to the test according to reporting information, i.e., much desired by the user to directly generate reports, to avoid generating report data, the user needs to manually manipulate data filtering.

[0045] 通过本实施例可以实现内核性能的自动化测试,使得用户不需要手动输入测试命令就可以快速、实时地查看到被测终端设备内核性能情况(包括进程列表和剩余内存值等变化情况),有效的提高内核性能测试效率。 [0045] The core performance may be achieved by the present embodiment of the automated testing, so that the user does not need to manually input test command can quickly, in real time, view the terminal device under test core performance (including changes in the process list and the remaining memory values, etc.) effectively improve the efficiency of kernel performance tests. 而且,以图形化的方式提供多种功能供用户选择,方便用户对测试过程的操作及控制。 Furthermore, to graphically select a variety of functions for the user, user-friendly operation and control of the testing process.

[0046] 实施例二: [0046] Example II:

[0047] 图3示出了本发明第二实施例提供的内核性能测试装置的组成结构,为了便于说明,仅不出了与本发明实施例相关的部分。 [0047] FIG. 3 shows the composition of the second preferred embodiment of core performance testing device provided by the present invention, for convenience of description, not only the parts related to the embodiment of the present invention.

[0048] 该内核性能测试装置可以是运行于各终端设备(例如手机、平板电脑等)内的软件单元、硬件单元或者软硬件相结合的单元,也可以作为独立的挂件集成到所述终端设备中或者运行于所述终端设备的应用系统中。 [0048] The core may be a performance test apparatus runs at each terminal device (e.g. a mobile phone, a tablet computer) software means, hardware means or a combination of hardware and software within, may be integrated as a separate pendant to the terminal device or application running on the terminal device.

[0049] 该内核性能测试装置包括信息接收单元31、执行单元32以及显示单元33。 [0049] The core properties testing means includes an information receiving unit 31, execution unit 32 and a display unit 33. 其中,各单元的具体功能如下: Wherein the specific function of each unit is as follows:

[0050] 信息接收单元31,用于接收内核性能测试的请求信息; [0050] The information receiving unit 31, for receiving request information of the performance test kernel;

[0051] 执行单元32,用于执行预存的测试命令以获得测试结果; [0051] The execution unit 32 for performing pre-stored test command to obtain a test result;

[0052] 显示单元33,用于以图形化的方式显示所述测试结果。 [0052] The display unit 33 for displaying the test results in a graphical manner.

[0053] 其中,所述接收内核性能测试的请求信息包括用户端发出的内核性能测试指令,或者根据预设的时间间隔产生的内核性能测试的触发信息。 [0053] wherein said core receiving request information includes performance tests core performance test command sent by the user terminal, or information based on core performance tests of a preset time interval trigger is generated.

[0054] 优选的,所述请求信息中携带有待测试的信息; [0054] Preferably, the request information carries the information to be tested;

[0055] 所述执行单元32具体用于,执行预存的与所述待测试的信息相关的测试命令。 [0055] In particular for the execution unit 32, information relating to the test to be tested pre-stored command execution.

[0056] 进一步的,所述装置还包括: [0056] Further, the apparatus further comprising:

[0057] 功能提供单元34,用于以图形化的方式提供多种功能供用户选择,所述功能包括开始输出功能、停止输出功能以及输出内存曲线图功能。 [0057] The function providing unit 34 for providing a graphical manner for the user to select a plurality of functions, said functions comprising an output function starts, stops the output of the function memory, and an output function graph.

[0058] 进一步的,所述装置包括: [0058] Further, the apparatus comprising:

[0059] 图像生成单元35,用于在接收到输出内存曲线图功能的指令时,从数组列表中读取预存的剩余内存值,并根据读取的所述剩余内存值生成剩余内存值曲线图; [0059] The image generating unit 35, upon receiving an instruction for the output memory function graph, reads pre-stored values ​​from the remaining memory arrays in the list, and the remaining memory value graph generated according to the read value of the remaining memory ;

[0060] 报表生成单元36,用于在接收到停止输出功能的指令时,停止数据输出,并获取已输出的数据,根据所获取的数据生成报表。 [0060] Report generation unit 36, upon receiving an instruction for stopping the output, the data output is stopped, and acquires the data has already been output, generate a report based on the acquired data.

[0061] 所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,仅以上述各功能单元的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能单元完成,即将内核性能测试装置的内部结构划分成不同的功能单元或模块,以完成以上描述的全部或者部分功能。 [0061] Those skilled in the art may clearly understand that, for convenience and brevity of description, only the division of the functional units is illustrated, in practice, according to the necessity by the above-described functions assigned to different functional units is completed, the internal structure of the kernel performance test apparatus is divided into different functional units or modules to complete all or part of the functions described above. 实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中,上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。 Embodiment functional units may be integrated into one processing unit, separate units may be physically present, may be two or more units are integrated into one unit, the above-described integrated unit may take the form of hardware implemented may be employed in the form of software functional units are implemented. 另外,各功能单元的具体名称也只是为了便于相互区分,并不用于限制本申请的保护范围。 Also, specific names of the functional units are distinguished from each other for convenience only, and are not intended to limit the scope of the present disclosure. 上述装置中单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。 It means the above-described specific working process unit, reference may be the corresponding process in the method embodiment, which is not repeated herein.

[0062] 实施例三: [0062] Example III:

[0063] 图4示出了本发明实施例三提供的内核性能测试装置所适用的应用场景,为了便于说明,仅示出了与本实施例相关的部分。 [0063] FIG. 4 shows the present invention, core performance test apparatus according to a third embodiment applicable scenarios, for ease of illustration shows only parts related to the present embodiment.

[0064] 该应用场景包括测试端I和被测端2。 [0064] The scenario includes a test terminal I 2 and the test ends. 其中,其中,测试端I和被测端2可以是任意具有连接通信功能的终端设备,包括但不限于手机、平板电脑等。 Wherein, wherein the test terminal I 2 and the test terminal may be any terminal device having a communication function is connected, including but not limited to a mobile phone, a tablet computer. 所述测试端I中包含有实施例二所述的内核性能测试装置11。 The test terminal I contains core performance test apparatus 11 according to the second embodiment.

[0065] 以测试端I为电脑,被测端2为IPhone手机进行举例说明,电脑在检测到IPhone手机通过USB接口与其连接后,运行电脑上的iTools (终端设备管理工具)以建立安全外壳协议(Secure Shell Protocol, SSH)通道,在建立SSH通道后,启动内核性能测试装置(如IPhone Memory Info Monitor工具)11,接收用户输入的待测试进程名以及测试周期,每隔所述测试周期(例如I秒)执行一次PS命令,显示与所述待测试进程名相关的测试结果(包括内存数据、(PU数据等),并在接收到用户点击内核性能测试装置11上的停止输出功能按键时,停止数据输出,获取与所述待测进程名相关的数据,调用EXCEL函数报表,根据获取的所述与所述待测进程名相关的数据生成EXCEL报表,以方便用户查看。另外,所述内核性能测试装置11还提供有开始输出功能以及输出内存曲线图功能等,各功能具体过程如上所述,在此 [0065] In the computer terminal I test, measured as IPhone phone terminal 2 is illustrated, the computer detects IPhone phone connected thereto via the USB interface, iTools (device management tool) running on the computer to establish a secure shell (Secure Shell Protocol, SSH) channel, after establishing the SSH channel, starting core performance testing device (e.g. IPhone Memory Info Monitor tool) 11, a user input received process name to be tested and a test period, said test period intervals (e.g. I sec) PS command to perform a display to be tested and the test results were related to the process (including a data memory, (the PU data, etc.), and receiving the user clicks on the kernel properties testing means stops the output of the function key 11, the data output is stopped, acquiring data related to the measured process name, function call reports EXCEL, EXCEL report generated according to the acquired process name related to the measured data can be easily viewed. Further, the core performance testing apparatus 11 is further provided with output start and the output memory function graph, the specific features of each process described above, in this 再赘述。 Then repeat.

[0066] 本实施例提供的应用场景只用于解释本发明,并不限定本发明的保护范围 [0066] The present application scenario of an embodiment of the present invention is only used to explain, not to limit the scope of the present invention

[0067] 综上所述,本实施例预先存储测试命令,在接收到测试请求信息时,自动执行预存的所述测试命令,并以图形化的方式显示所述测试结果。 [0067] In summary, embodiments of the present embodiment stores in advance a test command, upon receiving the test request information to automatically perform the test command is stored, and displaying the test results in a graphical manner. 通过本发明实施例使得用户不再需要手动输入测试命令就可以快速、实时地查看到被测终端设备内核性能情况,有效的提高内核性能测试效率。 Embodiments of the present invention enables a user no longer needs to manually enter a test command can quickly, in real time, view the terminal device under test core performance, an effective core performance improved test efficiency. 而且,还提供了图形化的显示方式,方便用户实时的监控测试结果。 Moreover, it also provides a graphical display, user-friendly real-time monitoring test results. 另外,本发明实施例还可以一键式生成用户所需的报表,不需要用户手动过滤数据,提高测试结果的输出效率。 Further, embodiments of the present invention may also be a user key to generating the required report, the user need not manually filter data, to increase the output efficiency of the test results.

[0068] 本领域普通技术人员还可以理解,实现上述实施例方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,所述的程序可以在存储于一计算机可读取存储介质中,所述的存储介质,包括R0M/RAM、磁盘、光盘等。 [0068] Those of ordinary skill in the art can also be appreciated, to achieve the above embodiment, all or part of the method steps may be relevant hardware instructed by a program, the program may be stored in a computer readable storage medium. , said storage medium comprising R0M / RAM, magnetic disk, optical disk.

[0069] 以上内容是结合具体的优选实施方式对本发明所作的进一步详细说明,不能认定本发明的具体实施只局限于这些说明。 [0069] The above contents with the specific preferred embodiments of the present invention is further made to the detailed description, specific embodiments of the present invention should not be considered limited to these descriptions. 对于本发明所属技术领域的普通技术人员来说,在不脱离本发明构思的前提下做出若干等同替代或明显变型,而且性能或用途相同,都应当视为属于本发明由所提交的权利要求书确定的专利保护范围。 Those of ordinary skill in the art of the present invention, the apparent make various modifications or equivalents without departing from the inventive concept premise, and the same performance, or use, should be deemed to belong to the present invention as claimed in claim submitted by the the patentable scope of the book is determined.

Claims (8)

  1. 1.一种内核性能测试的方法,其特征在于,所述方法包括: 接收内核性能测试的请求信息; 执行预存的测试命令以获得测试结果; 以图形化的方式显示所述测试结果; 所述接收内核性能测试的请求信息包括用户端发出的内核性能测试指令,或者根据预设的时间间隔产生的内核性能测试的触发信息。 1. A method of testing the performance of the core, wherein, said method comprising: a request information reception performance test kernel; performing test commands stored to obtain a test result; displaying the test results in a graphical manner; the receiving core performance test request information includes core performance test command sent by the user terminal, or information based on core performance tests of a preset time interval trigger is generated.
  2. 2.如权利要求1所述的方法,其特征在于,所述请求信息中携带有待测试的信息; 所述执行预存的测试命令以获得测试结果具体包括: 执行预存的与所述待测试的信息相关的测试命令。 2. The method according to claim 1, wherein the request information carries the information to be tested; testing the stored command execution obtain test results comprises: the information to be stored in the execution of the test related test command.
  3. 3.如权利要求1所述的方法,其特征在于,在所述显示测试结果时,还包括: 以图形化的方式提供多种功能供用户选择,所述功能包括开始输出功能、停止输出功能以及输出内存曲线图功能。 3. The method according to claim 1, wherein, when the test result is displayed, further comprising: providing a graphical way for users to choose a variety of functions, said functions comprising an output function starts, stops output and an output memory function graph.
  4. 4.如权利要求3所述的方法,其特征在于,所述方法包括: 在接收到输出内存曲线图功能的指令时,从数组列表中读取预存的剩余内存值,并根据读取的所述剩余内存值生成剩余内存值曲线图; 在接收到停止输出功能的指令时,停止数据输出,并获取已输出的数据,根据所获取的数据生成报表。 4. The method according to claim 3, characterized in that the method comprises: upon receiving the output instruction memory function graph, the remaining memory is read from the array values ​​stored in the list, and read in accordance with the generating said residual value remaining memory memory value graph; upon receiving the instruction to stop the output, the data output is stopped, and acquires the data has already been output, generate a report based on the acquired data.
  5. 5.一种内核性能测试的装置,其特征在于,所述装置包括: 信息接收单元,用于接收内核性能测试的请求信息; 执行单元,用于执行预存的测试命令以获得测试结果; 显示单元,用于以图形化的方式显示所述测试结果; 所述接收内核性能测试的请求信息包括用户端发出的内核性能测试指令,或者根据预设的时间间隔产生的内核性能测试的触发信息。 A core performance testing device, characterized in that said apparatus comprising: information receiving means for receiving information requesting performance test kernel; performing means for performing a pre-stored test command to obtain a test result; display unit , for displaying the test results in a graphical manner; core receiving the request information includes performance tests core performance test command sent by the user terminal, or information based on core performance tests of a preset time interval trigger is generated.
  6. 6.如权利要求5所述的装置,其特征在于,所述请求信息中携带有待测试的信息; 所述执行单元具体用于,执行预存的与所述待测试的信息相关的测试命令。 Information relating to the test to be tested stored in the command execution unit is configured to,; 6. The apparatus as claimed in claim 5, wherein the request information carries the information to be tested.
  7. 7.如权利要求5所述的装置,其特征在于,所述装置还包括: 功能提供单元,用于以图形化的方式提供多种功能供用户选择,所述功能包括开始输出功能、停止输出功能以及输出内存曲线图功能。 7. The apparatus according to claim 5, characterized in that said apparatus further comprising: a function providing unit configured to provide a graphical way for users to choose a variety of functions, said functions comprising an output function starts, stops outputting and an output function memory function graph.
  8. 8.如权利要求7所述的装置,其特征在于,所述装置包括: 图像生成单元,用于在接收到输出内存曲线图功能的指令时,从数组列表中读取预存的剩余内存值,并根据读取的所述剩余内存值生成剩余内存值曲线图; 报表生成单元,用于在接收到停止输出功能的指令时,停止数据输出,并获取已输出的数据,根据所获取的数据生成报表。 8. The apparatus according to claim 7, characterized in that said apparatus comprises: an image generation unit for, when receiving an instruction memory output function graph, reads pre-stored values ​​from the remaining memory array list, and generating the remaining memory according to the read value of the remaining memory value graph; report generation means for, when receiving an instruction to stop the output, the data output is stopped, and the output data is acquired, the acquired data generated in accordance with reports.
CN 201310061784 2013-02-27 2013-02-27 Kernel performance testing method and device CN104008030A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201310061784 CN104008030A (en) 2013-02-27 2013-02-27 Kernel performance testing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201310061784 CN104008030A (en) 2013-02-27 2013-02-27 Kernel performance testing method and device

Publications (1)

Publication Number Publication Date
CN104008030A true true CN104008030A (en) 2014-08-27

Family

ID=51368691

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201310061784 CN104008030A (en) 2013-02-27 2013-02-27 Kernel performance testing method and device

Country Status (1)

Country Link
CN (1) CN104008030A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105988909A (en) * 2015-02-06 2016-10-05 展讯通信(天津)有限公司 Real-time monitoring system as well as method and mobile terminal
CN106155860A (en) * 2015-03-31 2016-11-23 展讯通信(上海)有限公司 Internal storage monitoring system and method

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05134830A (en) * 1991-06-10 1993-06-01 Internatl Business Mach Corp <Ibm> Method for measuring system resource utilization factor and data processing system
CN1350228A (en) * 2001-12-04 2002-05-22 上海复旦光华信息科技股份有限公司 Automatic WINDOWS NT course protecting system
CN101403983A (en) * 2008-11-25 2009-04-08 北京航空航天大学 Resource monitoring method and system for multi-core processor based on virtual machine
CN101587456A (en) * 2009-07-08 2009-11-25 腾讯科技(深圳)有限公司 Protection processing method and apparatus of software operation
CN101986280A (en) * 2010-11-29 2011-03-16 浙江大学 Automatic testing platform for virtual computing system
JP5021623B2 (en) * 2005-04-15 2012-09-12 マイクロソフト コーポレーション The method and apparatus of the performance analysis of the software program

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05134830A (en) * 1991-06-10 1993-06-01 Internatl Business Mach Corp <Ibm> Method for measuring system resource utilization factor and data processing system
CN1350228A (en) * 2001-12-04 2002-05-22 上海复旦光华信息科技股份有限公司 Automatic WINDOWS NT course protecting system
JP5021623B2 (en) * 2005-04-15 2012-09-12 マイクロソフト コーポレーション The method and apparatus of the performance analysis of the software program
CN101403983A (en) * 2008-11-25 2009-04-08 北京航空航天大学 Resource monitoring method and system for multi-core processor based on virtual machine
CN101587456A (en) * 2009-07-08 2009-11-25 腾讯科技(深圳)有限公司 Protection processing method and apparatus of software operation
CN101986280A (en) * 2010-11-29 2011-03-16 浙江大学 Automatic testing platform for virtual computing system

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
刘莺迎: "Windows系统进程运行监控", 《科技情报开发与经济》 *
黄琦: "Android智能手机应用软件自动化测试工具的设计和开发", 《中国优秀硕士学位论文全文数据库 信息科技辑》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105988909A (en) * 2015-02-06 2016-10-05 展讯通信(天津)有限公司 Real-time monitoring system as well as method and mobile terminal
CN106155860A (en) * 2015-03-31 2016-11-23 展讯通信(上海)有限公司 Internal storage monitoring system and method

Similar Documents

Publication Publication Date Title
US20130179858A1 (en) Framework for automated testing of mobile apps
CN101620564A (en) Method for automatically testing recording playback mode of terminal system
CN102141960A (en) Automatic test method based on Android
CN101882107A (en) Method and device for automatically testing WEB (World Wide Web) application
CN102541700A (en) Terminal test method, test device and terminal agency
CN102419727A (en) Automatic test method and device
CN102110053A (en) Random testing method based on Android
CN102479084A (en) Method and device for acquiring log by Android terminal
CN103744784A (en) Method and system for automatically testing mobile phone applications
CN103544100A (en) Method, system and client side for testing APP of portable data processing equipment
CN103778053A (en) Remote real machine test system and method of mobile terminals
CN102479151A (en) Testing method and device of webpage access speed
CN104166619A (en) Performance measuring method and terminal of application program
US20100153087A1 (en) Techniques for generating a reusable test script for a single user performance test
CN104063305A (en) Pressure testing method, device and system for intelligent terminal software
US20150100679A1 (en) Web application monitoring verification
CN103631703A (en) Software performance testing method and device in Android device
CN102841846A (en) Software testing method, device and system based on Hadoop
CN104484273A (en) Test method for application program, device and system
CN104794050A (en) Application program test method, device and system
US20150278076A1 (en) Smart tester application for testing other applications
CN103744787A (en) Cellphone automated testing method
US9232420B1 (en) Automated network testing using in-progress call detail records
CN103425574A (en) Method and device for testing applications
US20120297367A1 (en) Testing an application

Legal Events

Date Code Title Description
C06 Publication
EXSB Decision made by sipo to initiate substantive examination