Test method and device

The technology of a testing method and testing device, which is applied in the field of computers, can solve the problems of low testing efficiency of online algorithm programs and achieve the effect of improving testing efficiency

Inactive Publication Date: 2017-06-30
ALIBABA GRP HLDG LTD
View PDF7 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The invention provides a testing method and device, which are used to solve the techni

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Test method and device
  • Test method and device
  • Test method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0029] figure 1 It is a schematic flow chart of the test method provided in Embodiment 1 of the present invention. The method provided in this embodiment can be executed by an algorithm evaluation platform (Algorithm Evaluation Carrier, AEC), which has integrated various offline test indicators and corresponding test program, such as figure 1 As shown, the methods include:

[0030] Step 101, setting a network object and network behavior data of the network object as input data.

[0031] Specifically, the required network object and network behavior data of the network object can be obtained by pre-recording the network behavior of the network object generated in the service. In addition, since the network behavior data of each network object is recorded in the business log, the network object and the network behavior data of the network object can be obtained by extracting from the business log. Specifically, in terms of business selection, priority can be given to the busi...

Embodiment 2

[0049] This example also provides relative figure 1 Another test method that is more detailed in the test method, figure 2 The schematic flow chart of the test method provided for the second embodiment of the present invention, such as figure 2 shown, including:

[0050] Step 201. Determine the target business of the online algorithm program.

[0051] Specifically, in general, the target business of the online algorithm program is predetermined, and testing it according to the location of the online algorithm program will be closer to the actual use of the online algorithm program. The test results will also be more accurate.

[0052] Step 202 , judging whether there is a business log of the target business, if yes, go to step 203 , otherwise go to step 204 .

[0053] Specifically, determine whether there is a business log of the target business. If the target business is an original business, that is, a business that is currently running online, there may be a business ...

Embodiment 3

[0074] image 3 The schematic structural diagram of the test device provided for the third embodiment of the present invention, such as image 3 As shown, it includes: a setting module 31 , a processing module 32 , an extraction module 33 and a testing module 34 .

[0075] The setting module 31 is configured to set the network object and the network behavior data of the network object as input data.

[0076]Specifically, the required network object and network behavior data of the network object can be obtained by pre-recording the network behavior of the network object generated in the service. In addition, since the network behavior data of each network object is recorded in the business log, the setting module 31 can obtain the network object and the network behavior data of the network object by extracting from the business log. Specifically, in terms of business selection, priority can be given to the business deployed by the tested online algorithm program, that is, th...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention provides a test method and device, after a network object and network object network behavior data are set as input data, the input data are processed by an on-line algorithm routine, the data result is obtained, further the value of a target field is extracted from the data result, sample data are obtained, then the sample data are evaluated according to the test index, the test result is obtained, only the target field is required to be set according to the existing test index, and the input data are set, so that the test index can be used for testing the on-line algorithm routine, the process of editing a simulation script in the prior art is not required, and accordingly, the test efficiency of the on-line algorithm routine is improved.

Description

technical field [0001] The invention relates to computer technology, in particular to a testing method and device. Background technique [0002] With the continuous development of Internet technologies, interactive processing of services using Internet technologies has become a mainstream trend. In business processing, algorithmic programs are often required to support the business. Existing algorithm programs are generally divided into online algorithm programs and offline algorithm programs. The online algorithm program is different from the offline algorithm program. The online algorithm program does not need to know all the input data in advance. It can process the input one by one in a serialized manner, so that it can respond to the input data faster. [0003] In the application process of algorithm programs, in order to obtain faster response speed, more and more online algorithm programs are used. In the prior art, if the online algorithm program is tested, the on...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06F11/36
CPCG06F11/3684
Inventor 王豆豆朱珠倪静
Owner ALIBABA GRP HLDG LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products