Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Data scene generation method and device and computer equipment

A computer and scene technology, applied in structured data retrieval, database management systems, special data processing applications, etc., can solve the problems of difficult data scene generation and inability to meet dynamic interface orientation.

Pending Publication Date: 2020-10-20
北京自如信息科技有限公司
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] Therefore, the technical problem to be solved by the present invention is to overcome the difficulty in generating data scenes in the prior art and cannot meet the defects of dynamic pointing of interfaces, thereby providing a method, device and computer equipment for generating data scenes

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
  • Data scene generation method and device and computer equipment
  • Data scene generation method and device and computer equipment
  • Data scene generation method and device and computer equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0036] This embodiment provides a method for generating a data scene, which is applied in the technical field of data generation to realize automatic association generation of data scenes. Such as figure 1 As shown, the method includes the following steps:

[0037] S11. Obtain target data, where the target data includes a type field.

[0038] Exemplarily, the target data refers to basic data corresponding to the data interface, such as login test data corresponding to the data interface. The target data can be obtained through manual entry or through import. In this embodiment of the present application, the target data is acquired in an import manner, so as to improve the efficiency of acquiring the target data. The import method can be imported by swagger, postmain, jmx, or har file. This application does not limit the introduction method, which can be determined by those skilled in the art according to actual needs. The acquired target data includes a corresponding typ...

Embodiment 2

[0081] This embodiment provides a device for generating data scenarios, which is applied in the technical field of data generation to realize automatic association generation of data scenarios, such as Figure 13 As shown, the generating device of the data scene includes:

[0082] The acquiring module 21 is configured to acquire target data, and the target data includes a type field; for details, please refer to the relevant description of step S11 in any of the above method embodiments, which will not be repeated here.

[0083] The first determining module 22 is configured to determine multiple data interfaces corresponding to the target data according to the type field. For details, refer to the relevant description of step S12 in any of the above method embodiments, and details are not repeated here.

[0084] The second determination module 23 is configured to respectively determine the target data interface corresponding to each data interface according to the multiple da...

Embodiment 3

[0109] The embodiment of the present invention also provides a computer device, such as Figure 14 As shown, the device includes a processor 31 and a memory 32, wherein the processor 31 and the memory 32 can be connected via a bus or in other ways, Figure 14 Take connection via bus as an example.

[0110] The processor 31 may be a central processing unit (Central Processing Unit, CPU). Processor 31 can also be other general-purpose processors, digital signal processor (Digital Signal Processor, DSP), graphics processing unit (Graphics Processing Unit, GPU), embedded neural network processor (Neural-network Processing Unit, NPU) or other Dedicated deep learning coprocessor, application specific integrated circuit (Application Specific Integrated Circuit, ASIC), field programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components and other chips, or a combination of the...

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 discloses a data scene generation method and device and computer equipment, and the method comprises the steps: obtaining target data which comprises a type field; determining a plurality of data interfaces corresponding to the target data according to the type field; determining a target data interface corresponding to each data interface according to the plurality of data interfaces corresponding to the target data and a target logic algorithm; determining a link relationship among the target data interfaces according to a target algorithm; and generating a target data scene according to the target data, each target data interface and the link relationship. By implementing the method and the device, automatic matching of the current target data interface and the next data interface, automatic series connection among the target data interfaces and generation of the target data scene are realized, manual data construction is not needed, the labor time cost is saved, and the generation efficiency of the target data scene is improved.

Description

technical field [0001] The present invention relates to the technical field of data generation, in particular to a data scene generation method, device and computer equipment. Background technique [0002] Based on the difficulty in data construction of test business lines and pipeline-like dependencies, the downstream interface must rely on the complete data of the upstream interface, but the data generated by the interface of the existing interface platform is single, and the current interface cannot dynamically point to the next interface, which cannot meet the requirements The dynamic pointing of the interface makes it impossible to realize the pointing series of data scenes, and manually constructing data requires a lot of manpower and time costs, and there is a problem that the series generation of data scenes is difficult. Contents of the invention [0003] Therefore, the technical problem to be solved by the present invention is to overcome the defect in the prior ...

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
Patent Type & Authority Applications(China)
IPC IPC(8): G06F16/25
CPCG06F16/25Y02D10/00
Inventor 张航张秀丽张蔚
Owner 北京自如信息科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products