Unlock instant, AI-driven research and patent intelligence for your innovation.

Configuration information push method and system, configuration information reception method and system

A technology for configuration information and information push, applied in the field of data processing, can solve problems such as resource consumption, lack of TCP, and increased server pressure

Active Publication Date: 2021-01-15
YONYOU NETWORK TECH CO LTD
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Lacking the long connection mechanism of TCP, polling and accessing the server in the traditional stateless HTTP mode will increase the pressure on the server
At the same time, in most of the time, there is no change in the configuration file, and unnecessary polling checks initiated by the client consume a lot of resources

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
  • Configuration information push method and system, configuration information reception method and system
  • Configuration information push method and system, configuration information reception method and system
  • Configuration information push method and system, configuration information reception method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0065]In order to be able to understand the above objectives, features and advantages of the present invention more clearly, the present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be noted that the embodiments of the application and the features in the embodiments can be combined with each other if there is no conflict.

[0066]In the following description, many specific details are set forth in order to fully understand the present invention. However, the present invention can also be implemented in other ways different from those described here. Therefore, the protection scope of the present invention is not limited to the specific details disclosed below. Limitations of the embodiment.

[0067]image 3 It shows a schematic diagram of a usage scenario of the configuration center of an embodiment of the present invention, where the configuration center is a unified configuration file management and ...

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 present invention proposes a configuration information pushing method, system, configuration information receiving method, system, computer device, and computer-readable storage medium, wherein the configuration information pushing method for the server includes: receiving an HTTP request from a client; Detect the update information of the configuration information, and store the update information in the blocking queue at the same time; push the update information in the blocking queue to the client; when there is no update information in the blocking queue, let the thread that pushes the update information on the client wait for the notification; at the same time Determine whether there is a request timeout exception or network exception; when there is no request timeout exception or network exception, and the update information has been stored in the blocking queue, push the update information to the client. The connection waiting and retrying based on the long polling scheme is adopted to achieve the effect similar to the long connection, which can effectively achieve the effect of real-time acquisition of the status change on the basis of the HTTP protocol.

Description

Technical field[0001]The present invention relates to the technical field of data processing, and in particular to a method and system for pushing configuration information, a method for receiving configuration information, a system, a computer device, and a computer-readable storage medium.Background technique[0002]In Internet application scenarios, a complete business usually consists of multiple microservices. Each microservice corresponds to different configuration information in the development environment, test environment, pre-release environment, and production environment, and needs to maintain multiple copies for different environments. Developers need to correspond to different environmental information when developing, testing and joint debugging. Frequent modification and adjustment of configuration information will cause a lot of trouble, and the maintenance of a large number of configuration files will cause considerable trouble to operation and maintenance personnel....

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): H04L12/24H04L12/26H04L29/08
CPCH04L41/0654H04L41/0803H04L43/103H04L67/02H04L67/1004H04L67/1097H04L67/14H04L67/30H04L67/55
Inventor 刘建民
Owner YONYOU NETWORK TECH CO LTD