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

Distributed client simulation method and device

A simulation method and technology of a simulation device, which are applied in the fields of instrumentation, error detection/correction, calculation, etc., can solve the problems of client-client concurrent client-side dispersion, etc., and achieve the effect of convenient test process and configuration.

Active Publication Date: 2020-12-08
ZHUHAI KINGSOFT ONLINE GAME TECH CO LTD +1
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The simulation client inevitably faces three problems: the number of clients, the concurrency of clients, and the dispersion of clients
In addition to scripting requirements, with scripting simulation, fragmentation of clients is not a good option

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
  • Distributed client simulation method and device
  • Distributed client simulation method and device
  • Distributed client simulation method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0033] The solution of the present invention is mainly divided into three aspects: page configuration, service deployment and service management, which are mainly realized by docker+flask+mongodb+docker-py.

[0034] figure 1 Shown is a schematic flow chart of the method according to the invention. The steps therein are explained below.

[0035] Page configuration: Pressure test-related configurations (pressure test image, startup command, number of clients, etc.) all use the web service built by flask to interact with the background. The background uses mongodb to save the configuration related to the pressure test to ensure the flexibility of the configuration.

[0036] Service deployment: use the API provided by docker-py to operate the creation, deployment, start and end of containers, and then realize the distribution, management and concurrency of clients.

[0037] Service management: Unified management of the functions of service deployment to facilitate future mainte...

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 distributed client simulation method and device. The method includes the following steps: a page configuration step, including the processes of using a web service constructed based on flask to perform interaction on pressure measurement related configuration data and a background, enabling the background to store the pressure measurement related configuration data through a distributed file storage database, and creating a container; a service deployment step, including the process of operating the creation, deployment, starting and ending of the container by using an API of an application container engine toolkit; and a service management step, including the process of providing the starting, checking or ending services of the client on each machine. The deviceincludes a page configuration module, a service deployment module and a service management module. According to the scheme of the invention, testing processes can be greatly facilitated, the random concurrency and one-key management of the client can be achieved for client stress tests of part of projects, and convenient configurations can be achieved.

Description

technical field [0001] The invention relates to a distributed client simulation method and device, belonging to the technical field of server test software. Background technique [0002] Test a background service and most importantly simulate the client. Simulating clients inevitably faces three problems: the number of clients, the concurrency of clients, and the dispersion of clients. [0003] At present, there are two ways for testers to solve the above three problems: one is to write scripts to simulate contract issuance; the other is to use open source software to simulate concurrency. Writing scripts puts forward technical requirements for testers, and the server-side scripts for different protocols are different, so it is necessary to write client-side simulation scripts every time. In addition to scripting requirements, decentralization of clients is not a good option with scripting simulation. [0004] There are open source software on the market, and single open ...

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): G06F11/34
CPCG06F11/3414G06F11/3442
Inventor 郭申周诚张凌彬黎健钧刘马良彭元龙
Owner ZHUHAI KINGSOFT ONLINE GAME TECH CO LTD
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