One-stop legal service platform based on high-performance micro-service architecture

By adopting a high-performance microservice architecture in the legal service platform, the problem of performance bottlenecks and poor scalability of the single architecture under high concurrent requests is solved, and the efficient operation, reliability and flexible scalability of the system are achieved.

CN119941460AInactive Publication Date: 2025-05-06北京国联政信科技有限公司
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202510423705.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-07
Publication Date
2025-05-06
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

The existing legal service platform adopts a single architecture, resulting in performance bottlenecks, poor scalability, low reliability and complex maintenance under high concurrent requests, making it difficult to meet the growing needs of users.

Method used

It adopts a one-stop legal service platform based on a high-performance microservice architecture, including the presentation layer, communication layer, gateway layer, service layer, service communication layer, data layer and CI/CD. Through independent deployment and expansion of microservices, the flexible scalability and high availability of the system are achieved.

Benefits of technology

It realizes efficient operation and response speed of the system, improves the reliability and scalability of the system, and ensures the stability of the system under high concurrent requests and rapid failure recovery capabilities.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119941460A_ABST
    Figure CN119941460A_ABST
Patent Text Reader

Abstract

The invention discloses a one-stop legal service platform based on a high-performance micro-service architecture. The one-stop legal service platform comprises a presentation layer, a communication layer, a gateway layer, a service layer, a service communication layer, a data layer and a CI / CD, the communication layer is positioned among the micro-service framework modules, and interacts through one or more of a lightweight communication protocol HTTP / HTTPS (Hyper Text Transfer Protocol / Hyper Text Transfer Protocol Secure Socket), a Websocket and a Socket; and the gateway layer is connected with one or more of the Nginx and the Spring Cloud Gateway through one or more of the Nginx and the Spring Cloud Gateway. The invention belongs to the technical field of internet legal services, and aims to solve the problems of performance bottleneck, poor expansibility, low reliability and complex maintenance in the prior art. The technical effects are that the performance, the expansibility, the reliability and the maintenance complexity of the micro-service architecture are improved, and the operation efficiency, the expansibility and the user experience of the platform are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of Internet legal services, and in particular to a one-stop legal service platform based on a high-performance microservice architecture. Background Art

[0002] Internet legal services refer to the use of Internet technology to provide the public with legal knowledge, online legal consultation, remote litigation services and other professional legal activities, which promotes the digitization and networking of judicial processes. This online legal service model platform breaks the geographical restrictions and makes it easier for legal services to cover a wider range of regions and people. Existing legal service platforms usually adopt a monolithic architecture, integrating all functions into one application.

[0003] The main problem with this architecture is that the monolithic architecture is prone to performance bottlenecks under high-concurrency requests, resulting in slower response speeds; it also has poor scalability, and adding new features requires modifying and redeploying the entire application, making system maintenance and expansion difficult; it has low reliability, and a failure in a functional module may affect the normal operation of the entire system; it is complex to maintain, with a large and complex code base, and is difficult and complex to develop and maintain. At the same time, most legal service platforms include functional modules such as user management, case management, online consultation, and document generation. When the number of users increases or new features need to be added, the platform exhibits performance degradation, system instability, and maintenance difficulties, making it difficult to meet the growing needs of users and having major defects. Summary of the invention

[0004] To this end, the present invention provides a one-stop legal service platform based on a high-performance microservice architecture to solve the above-mentioned problems in the prior art.

[0005] In order to achieve the above object, the present invention provides the following technical solutions:

[0006] According to a first aspect of the present invention, a one-stop legal service platform based on a high-performance microservice architecture includes: a presentation layer, a communication layer, a gateway layer, a service layer, a service communication layer, a data layer and CI / CD;

[0007] The communication layer is located between the microservice architecture modules and is used to interact through one or more of the lightweight communication protocols HTTP / HTTPS, Websocket and Socket;

[0008] The gateway layer uses one or more of Nginx and Spring Cloud Gateway to uniformly manage external requests and simplify the client's call logic and security management;

[0009] The service layer includes a monitoring / protection module, a service governance module and a business service module;

[0010] The service governance module includes a registration center cluster, a configuration center cluster, and a message bus sping cloudbus, which is used to connect various distributed nodes through a lightweight message agent;

[0011] The business service module is also divided into independent microservice architecture modules of ws protocol service, case service, notification service, user service, payment service, official website service and authorization service;

[0012] Each microservice architecture module is responsible for a specific function, and each microservice architecture module is independently deployed and expanded.

[0013] Furthermore, the presentation layer mainly includes one or more of mini-programs, enterprise backend, central console, mediation platform, mediation management platform, social case source entry platform, official website and BI data large screen.

[0014] Furthermore, the monitoring / protection module includes sleutch link tracking, Monitor monitoring alarm, Hystrix fuse protection and ELK log center, which are used to monitor the running status of microservices in real time, collect and analyze performance indicators, use a centralized log management system to collect and analyze log data, and quickly locate and solve problems.

[0015] Furthermore, the service communication layer includes one or more of SpringCloud Stream, RocketMq message queue, Feign declarative service call and Ribbn load balancing;

[0016] The data layer includes one or more of redis cluster, Mysql, Elasticsearch cluster, and Alibaba OSS. Each microservice module uses an independent data layer to avoid single point failures and data access bottlenecks.

[0017] Furthermore, the CI / CD includes one or more of Git HubDocker, Swarm, Harbor and ienkins. Containerization technology encapsulates microservices to ensure environmental consistency and independence between microservices. At the same time, container orchestration tools are used to manage and schedule container instances to achieve elastic scaling and automated operation and maintenance of microservices, implement authentication and authorization mechanisms between microservices, ensure the security and integrity of data transmission, use SSL / TLS encryption technology to protect the data transmission process, prevent data leakage and tampering, and perform unified identity authentication and permission control through the API gateway.

[0018] Furthermore, the WS protocol service is used to provide online legal consultation, and automatically responds to common questions by integrating an intelligent customer service robot, thereby improving the response speed of user consultation;

[0019] The case service is used to manage the creation, update, deletion and query of cases, and utilizes database sharding technology to improve data access efficiency;

[0020] The notification service is responsible for sending SMS and email notifications to ensure the timeliness and reliability of notifications.

[0021] Furthermore, the configuration center cluster sends messages to the message bus, and the message bus receives the messages and transmits them to the microservice architecture, thereby realizing the interactive function of the messages.

[0022] The present invention has the following advantages:

[0023] 1. By real-time monitoring of the running status of microservices, collecting and analyzing performance indicators, and using a centralized log management system to collect and analyze log data, problems can be quickly located and solved. At the same time, the system can monitor and quickly recover from faults in real time, ensuring the high availability of the system;

[0024] 2. Through the independent deployment and expansion of each microservice, the system can quickly add new functions and optimize performance according to business needs, with good flexible scalability. At the same time, the independence of microservices ensures that a service failure will not affect the normal operation of the entire system, thereby improving the reliability of the system;

[0025] 3. The complexity of the monolithic application is decomposed through the microservice architecture, which improves the operating efficiency and response speed of the system and has good high-efficiency operation. BRIEF DESCRIPTION OF THE DRAWINGS

[0026] Figure 1 A flowchart of a one-stop legal service platform based on a high-performance microservice architecture is provided for some embodiments of the present invention.

[0027] Figure 2 A service flow chart of a one-stop legal service platform based on a high-performance microservice architecture provided for some embodiments of the present invention. DETAILED DESCRIPTION

[0028] The following is a description of the implementation of the present invention by specific embodiments. People familiar with the art can easily understand other advantages and effects of the present invention from the contents disclosed in this specification. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0029] Example 1

[0030] like Figure 1 to Figure 2 As shown, a one-stop legal service platform based on a high-performance microservice architecture in an embodiment of the first aspect of the present invention includes: a presentation layer, a communication layer, a gateway layer, a service layer, a service communication layer, a data layer and CI / CD;

[0031] The presentation layer mainly includes one or more of the following: mini-programs, enterprise backend, central console, mediation platform, mediation management platform, social case source entry platform, official website, and BI data screen. It is the part where users directly interact with the microservice architecture and can guide users to effectively complete operations.

[0032] The communication layer is located between the microservice architecture modules and is used to interact through one or more lightweight communication protocols such as HTTP / HTTPS, Websocket, and Socket.

[0033] The gateway layer uses one or more of Nginx and Spring Cloud Gateway to uniformly manage external requests and simplify the client's call logic and security management;

[0034] The service layer includes monitoring / protection modules, service governance modules, and business service modules;

[0035] The monitoring / protection module includes sleutch link tracking, Monitor monitoring alarm, Hystrix fuse protection, and ELK log center, which are used to monitor the running status of microservices in real time, collect and analyze performance indicators, and use a centralized log management system to collect and analyze log data to quickly locate and solve problems. At the same time, the system can monitor and quickly recover from faults in real time, ensuring the high availability of the system.

[0036] The service governance module includes a registration center cluster, a configuration center cluster, and a message bus, sping cloud bus, which is used to connect various distributed nodes through a lightweight message agent, providing a simple and effective way for communication between microservices.

[0037] The business service modules include case services, notification services, authorization services, payment services, user services, official website services, and WS protocol services. Each service module is responsible for a specific function, and each microservice is independently deployed and expanded. The system can quickly add new functions and optimize performance according to business needs.

[0038] The service communication layer includes one or more of SpringCloud Stream, RocketMq message queue, Feign declarative service call and Ribbn load balancing. It uses load balancing technology (such as Ribbon and Nginx) to distribute user requests to different business service modules, making it convenient for users to select the corresponding services.

[0039] The data layer includes one or more of redis cluster, Mysql, Elasticsearch cluster and Ali OSS. Each microservice module uses an independent data layer to avoid single point failure and data access bottleneck. Distributed database management systems (such as MySQL Cluster, Cassandra) and cache technologies (such as Redis) are used to improve data access speed and system performance.

[0040] CI / CD includes one or more of Git HubDocker, Swarm, Harbor, and ienkins. Containerization technology encapsulates microservices to ensure environmental consistency and independence between microservices. At the same time, container orchestration tools are used to manage and schedule container instances to achieve elastic scaling and automated operation and maintenance of microservices. Authentication and authorization mechanisms are implemented between microservices to ensure the security and integrity of data transmission. SSL / TLS encryption technology is used to protect the data transmission process to prevent data leakage and tampering. Unified identity authentication and permission control are performed through the API gateway.

[0041] The business service module is also divided into independent microservice architecture modules of ws protocol service, case service, notification service, user service, payment service, official website service and authorization service;

[0042] Each microservice module is responsible for a specific function. The ws protocol service is used to provide online legal consultation. By integrating an intelligent customer service robot, it automatically replies to common questions and improves the response speed of user consultation.

[0043] The case service is used to manage the creation, update, deletion and query of cases, and uses database sharding technology to improve data access efficiency;

[0044] The notification service is responsible for sending SMS and email notifications to ensure the timeliness and reliability of notifications;

[0045] User service is responsible for user registration, login and permission management functions;

[0046] The payment service is used to process user payment requests, supports multiple payment methods, and ensures transaction security through secure encryption technology;

[0047] The official website service is an introduction to the company's official website's complex and related products;

[0048] The authorization service uses OAuth 2.0 authorization service technology; the microservice architecture decomposes the complexity of the single application, improves the operating efficiency and response speed of the system, and has good high-efficiency operation;

[0049] When users provide business services, they use the microservice gateway to call the circuit breaker / fuse Hystrix and feign service load balancing for serving consumers, and then use the microservice architecture by calling internal services to facilitate independent use of each microservice module, or directly call the content of the service microservice architecture through the microservice gateway. The microservice architecture is equipped with a configuration center cluster and sends messages to the message bus. The message bus receives the messages and then transmits them to the microservice architecture, realizing the message interaction function;

[0050] Users register the central cluster through service registration. At the same time, the microservice architecture can register the service registration center cluster. The circuit breaker / fuse Hystrix and feign service load balancing of the service consumer, the microservice architecture and the registration center cluster constitute a complete service discovery and registration module. The service discovery and registration center (such as Eureka and Consul) manages the microservice instances, ensures the dynamic registration and discovery of service instances, enhances the flexibility and scalability of the system, and makes the microservice architecture make the code base smaller and easier to maintain, so that developers and operation and maintenance personnel can maintain and update the system more efficiently.

[0051] Load balancing technology (such as Ribbon and Nginx) is used to distribute user requests to different microservice instances to improve the system's concurrent processing capabilities and response speed. External requests are managed uniformly through API gateways (such as Zuul and Spring Cloud Gateway) to simplify the client's call logic and security management. Each microservice is independently developed and deployed, and interacts through lightweight communication protocols (such as HTTP / HTTPS and gRPC). The microservice architecture decomposes the complexity of monolithic applications and improves the system's operating efficiency and response speed. At the same time, each microservice module is independently deployed and expanded. The system can quickly add new features and optimize performance according to business needs, with good flexible scalability. Independence ensures that a service failure will not affect the normal operation of the entire system, thereby improving the reliability of the system.

Claims

1. A one-stop legal service platform based on a high-performance microservice architecture, characterized by: include: Presentation layer, communication layer, gateway layer, service layer, service communication layer, data layer and CI / CD; The communication layer is located between the microservice architecture modules and is used to interact through one or more of the lightweight communication protocols HTTP / HTTPS, Websocket and Socket; The gateway layer uses one or more of Nginx and Spring Cloud Gateway to uniformly manage external requests and simplify the client's call logic and security management; The service layer includes a monitoring / protection module, a service governance module and a business service module; The service governance module includes a registration center cluster, a configuration center cluster, and a message bus sping cloud bus, which is used to connect various distributed nodes through a lightweight message agent; The business service module is also divided into independent microservice architecture modules of ws protocol service, case service, notification service, user service, payment service, official website service and authorization service; Each microservice architecture module is responsible for a specific function, and each microservice architecture module is independently deployed and expanded.

2. According to claim 1, a one-stop legal service platform based on a high-performance microservice architecture is characterized in that: The presentation layer mainly includes one or more of mini-programs, enterprise backend, central console, mediation platform, mediation management platform, social case source entry platform, official website and BI data large screen.

3. According to claim 1, a one-stop legal service platform based on a high-performance microservice architecture is characterized in that: The monitoring / protection module includes sleutch link tracking, Monitor monitoring alarm, Hystrix fuse protection and ELK log center, which are used to monitor the running status of microservices in real time, collect and analyze performance indicators, use a centralized log management system to collect and analyze log data, and quickly locate and solve problems.

4. According to claim 1, a one-stop legal service platform based on a high-performance microservice architecture is characterized in that: The service communication layer includes one or more of SpringCloud Stream, RocketMq message queue, Feign declarative service call and Ribbn load balancing; The data layer includes one or more of redis cluster, Mysql, Elasticsearch cluster, and Alibaba OSS. Each microservice module uses an independent data layer to avoid single point failures and data access bottlenecks.

5. According to claim 1, a one-stop legal service platform based on a high-performance microservice architecture is characterized in that: The CI / CD includes one or more of Git HubDocker, Swarm, Harbor and ienkins. Containerization technology encapsulates microservices to ensure environmental consistency and independence between microservices. At the same time, container orchestration tools are used to manage and schedule container instances to achieve elastic scaling and automated operation and maintenance of microservices, implement authentication and authorization mechanisms between microservices, ensure the security and integrity of data transmission, use SSL / TLS encryption technology to protect the data transmission process, prevent data leakage and tampering, and perform unified identity authentication and permission control through the API gateway.

6. According to claim 1, a one-stop legal service platform based on a high-performance microservice architecture is characterized in that: The WS protocol service is used to provide online legal consultation, and automatically respond to common questions by integrating an intelligent customer service robot, thereby improving the response speed of user consultation; The case service is used to manage the creation, update, deletion and query of cases, and utilizes database sharding technology to improve data access efficiency; The notification service is responsible for sending SMS and email notifications to ensure the timeliness and reliability of notifications.

7. The one-stop legal service platform based on high-performance microservice architecture according to claim 1 is characterized in that: The configuration center cluster sends messages to the message bus, and the message bus receives the messages and transmits them to the microservice architecture, thus realizing the interactive function of the messages.

Citation Information

Patent Citations

  • Meteorological data service platform based on micro-service architecture

    CN113904917A

  • Implementation method and system of manufacturing operation management platform

    CN117009137A

  • Business management system based on light application and construction method thereof

    CN117271059A

  • Microservices based multi-tenant identity and data security management cloud service

    US20170331812A1