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

Application service configuration hot loading method based on message queue and related equipment

A message queue and application service technology, which is applied in the field of hot loading of application service configuration based on message queues, can solve problems such as intermittent unavailability of application services, poor service experience, and inconvenient access for other users, achieving real-time hot loading and improving security , Avoid the effect of connecting to access data sources

Pending Publication Date: 2022-07-22
CHINA LIFE INSURANCE COMPANY
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] When the application service accesses the database through JDBC (Java Database Connectivity, Java database connection), a corresponding database connection will be established. When the configuration information of the database changes, such as user name, password or authority, etc. The user continues to use the original database connection, and the application service usually needs to be restarted to disconnect the original database connection, thereby updating the configuration and establishing a new database connection, but the restart of the application service will cause intermittent unavailability, which will give other users access Inconvenience, poor service experience

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
  • Application service configuration hot loading method based on message queue and related equipment
  • Application service configuration hot loading method based on message queue and related equipment
  • Application service configuration hot loading method based on message queue and related equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0021] In order to make the objectives, technical solutions and advantages of the present application more clearly understood, the present application will be further described in detail below with reference to specific embodiments and accompanying drawings.

[0022] It should be noted that, unless otherwise defined, the technical terms or scientific terms used in the embodiments of the present application shall have the usual meanings understood by those with ordinary skills in the field to which the present application belongs. "First", "second" and similar words used in the embodiments of the present application do not indicate any order, quantity or importance, but are only used to distinguish different components. "Comprises" or "comprising" and similar words mean that the elements or things appearing before the word encompass the elements or things recited after the word and their equivalents, but do not exclude other elements or things. Words like "connected" or "connec...

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 an application service configuration hot loading method based on a message queue and related equipment, a database connection is established between an application service and a data source, and the method comprises the following steps: acquiring configuration change information of the data source; storing the configuration change information in a message queue system to form a message queue; in response to access of a user to the data source through the application service, obtaining the configuration change information in the message queue to perform change judgment; and in response to the change of the configuration information of the user, updating the corresponding database connection. According to the application service configuration hot loading method based on the message queue and the related equipment provided by the invention, the user experience is good, the service can be ensured to be always online, real-time hot loading is realized under the condition that the application service is not stopped, and a user with changed configuration information is prevented from using an original database to connect and access a data source.

Description

technical field [0001] The present application relates to the technical field of hot loading, and in particular, to a method and related equipment for hot loading of application service configuration based on message queues. Background technique [0002] When the application service accesses the database through JDBC (Java Database Connectivity, Java database connection), a corresponding database connection will be established. When the configuration information of the database changes, such as the user name, password or authority, etc. Users continue to access using the original database connection. The application service usually needs to be restarted and the original database connection is disconnected, so as to update the configuration and establish a new database connection. However, the restart of the application service will appear intermittently unavailable, which will give access to other users. Inconvenience and poor service experience. SUMMARY OF THE INVENTION ...

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): G06F9/445G06F9/54
CPCG06F9/44505G06F9/546
Inventor 陆智卿范铮曲明钰
Owner CHINA LIFE INSURANCE COMPANY
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