System and method for avoiding high concurrency of mobile terminal

A server and load balancing technology, applied in the database field, can solve the problems of difficulty in ensuring the normal operation of the system, slow processing of high concurrency, and difficulty in jar package version management, so as to reduce the system response time, improve the high concurrent access of the system, and improve the automatic configuration. Effect

Pending Publication Date: 2020-03-24
STATE GRID SHANDONG ELECTRIC POWER +1
View PDF5 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Since the training class site needs to scan the code to register, sign in, and test competitions on the mobile terminal, the system often responds slowly, freezes, and crashes in the process of dealing with high concurrency, which leads to the problem of slow processing of high concurrency. To a large extent, it adds difficulty to the use of the mobile terminal; at the same time, affected by the software industry and the tide of informatization, although there are many convenient researches on load balancing and distributed services, the depth and breadth of the research are still low, and it is still impossible to Solve the problem of high concurrency on the mobile side
[0005] The inventors of the present disclosure have found that the following problems exist in the prior art: (1) There are many load balancing products on the market today, which are divided into software and hardware load balancing. Due to the high cost of hardware load balancing products such as F5, more Many enterprises choose software load balancing technology, such as nginx or haproxy; (2) It is difficult for a single nginx or haproxy to guarantee the normal operation of the system under high concurrency, especially in some emergencies, such as power failure and network disconnection; (3) Traditional distributed service frameworks, such as dubbo, have not been maintained and updated for a long time, and before updating the system design based on traditional distributed service frameworks, jar package version management is difficult and compatibility is poor question

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
  • System and method for avoiding high concurrency of mobile terminal

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0040] Such as figure 1 As shown, Embodiment 1 of the present disclosure provides a system for avoiding high concurrency of the mobile terminal, which at least includes an nginx load balancing server, and the nginx load balancing server is configured with a keepalived service to ensure high availability of nginx; it also includes multiple A web application server is configured with tomcat service.

[0041] It also includes the Redis server, which integrates Redis data in the Redis server through Spring Boot to achieve session sharing.

[0042] By adopting nginx+keepalived+multi-machine hot standby, it is ensured that the normal operation of the system will not be affected when an nginx load balancing server is down; the Redis server is configured as multiple, and the master-slave replication of Redis data is realized on multiple servers; at the same time, The above-mentioned Redis server is also used to cache the data dictionary, which improves the system response speed;

[...

Embodiment 2

[0049] Embodiment 2 of the present disclosure provides a method for avoiding high concurrency at the mobile terminal, including the following steps:

[0050] Configure multiple servers, including at least an nginx load balancing server, a web application server configured with a tomcat service, and a Redis server. The nginx load balancing server is configured with a keepalived service;

[0051] Configure multiple nginx load balancing servers and keepalived services, and do a single nginx load balancing server shutdown test to ensure the normal operation of the system;

[0052] Configure multiple eureka registration centers, and do a single registration center shutdown test to ensure that the eureka registration center is available;

[0053] Configure multiple web application servers, and do a single web application server shutdown test to ensure the normal operation of the system;

[0054] Configure multiple Redis servers to implement master-slave multiplexing of ...

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 system and a method for avoiding high concurrency of a mobile terminal. The system at least comprises a load balancing server and a database server, an nginx server is configured on the load balancing server, is used for realizing load balancing among the servers; wherein a keepalived server is configured on the nginx server and is used for ensuring high availability of nginx, deploying a web application of Spring Boot in a jar mode, and uniformly managing each version of a jar package through the Spring Boot; according to the invention, the workload of a development team for maintaining the jar package version is greatly reduced, and better system high-concurrency access is realized.

Description

technical field [0001] The present disclosure relates to the technical field of databases, in particular to a system and method for avoiding high concurrency of mobile terminals. Background technique [0002] The statements in this section merely provide background information related to the present disclosure and may not necessarily constitute prior art. [0003] While mobile training brings convenience to on-site training and mobile learning, some problems have also emerged over time. [0004] Since the training class site needs to scan the code to register, sign in, and test competitions on the mobile terminal, the system often responds slowly, freezes, and crashes in the process of dealing with high concurrency, which leads to the problem of slow processing of high concurrency. To a large extent, it adds difficulty to the use of the mobile terminal; at the same time, affected by the software industry and the tide of informatization, although there are many convenient re...

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): G06F11/14G06F9/50
CPCG06F11/1446G06F11/1456G06F9/505
Inventor 朱郯博杨军虎戚鲁凤靳占新孙文川孙卫东陈中恺王红利鲁红梅柳明辉
Owner STATE GRID SHANDONG ELECTRIC POWER
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