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

A service interface data simulation method and system

A data simulation and service interface technology, applied in software simulation/interpretation/simulation, program control devices, etc., can solve problems such as shortening development time and waste of time, and achieve the effect of shortening development time, convenient configuration, and simplifying development process

Active Publication Date: 2017-12-22
SHANGHAI HANDPAL INFORMATION TECH SERVICE
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The purpose of the present invention is to provide a new service interface data simulation method and system to solve the technical problem that the front-end needs to wait for the development of the back-end service interface to be completed, and to avoid waste of time in the development process, thereby shortening the development time. Simplify the development process

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
  • A service interface data simulation method and system
  • A service interface data simulation method and system
  • A service interface data simulation method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0032] one, figure 1 It is a schematic diagram of the flow chart of the data simulation method. In order to solve the lack of data acquisition in the current development model or the defect of complex simulation software, the specific steps of the simulation method include:

[0033] 1. Edit the configuration file, including three types: json, text, and html. The content of the configuration file includes:

[0034] Request information (request), including: request method (including: get, post), the type of response parameters to be transmitted (types are divided into: Json, text, html), request parameters and parameter values, and URI address, for example: URI: / game99 / loadGameDetailByCode.do,

[0035] Wherein, URL=the address of the web monitoring server: port number+URI+? +Request parameters and parameter values, for example: URL: http: / / 127.0.0.1:8888 / game99 / loadGameDetailByCode.do? gameCode=25 .

[0036] Response information (response): return result status and retur...

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 belongs to the technical field of software data interaction, and relates to a service interface data simulation method and system. The method comprises the following steps: editing configuration files; according to URL in the corresponding configuration file, inputting URL in the web browser address bar to simulate a HTTP request; identifying the received URL request by a web monitoring server and conducting matching analysis on the URL request together with the URL in the read configuration file; judging whether the number of parameters of the configuration file is equal to or smaller than the number of parameters of the URL request or not and whether the parameter values are the same or not; feeding back processed results to the web browser and displaying the results by the web browser. The service interface data simulation system, provided by the invention, comprises all unit modules configured in the steps of the method; the service interface data simulation method and the service interface data simulation system can be both used for mobile development, front-end development and simulation of a whole web server and can shorten development time and simplify development procedures; developers can change simulation requests in real time to obtain simulation of different response data.

Description

technical field [0001] The invention belongs to the technical field of software development data interaction, and in particular relates to a service interface data simulation method and system. Background technique [0002] The development process of the existing software system usually involves the connection with the data interface of the external website, the data interaction between the front-end system and the back-end system, etc., the definition of some interfaces and the return of data, all kinds of work need to be developed and defined. Since the return of front-end page data depends on the back-end service interface, when the back-end service interface has not been developed, the front-end display page needs to display the page effect and can only be completed by other methods, such as: (1) Through the page Write dead data on it, and display it through rigid page data; (2) By simulating data in JS. However, in method (1) during program development, the front-end p...

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 Patents(China)
IPC IPC(8): G06F9/455
Inventor 王勇
Owner SHANGHAI HANDPAL INFORMATION TECH SERVICE
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