Check patentability & draft patents in minutes with Patsnap Eureka AI!

Gray scale message processing method, device, storage medium and computer equipment

A processing method and computer program technology, applied in the field of data processing, can solve problems such as affecting business, wrong data, and failure to completely isolate data, and achieve the effect of avoiding message omission and enhancing fault tolerance.

Active Publication Date: 2020-12-22
北京水滴科技集团有限公司
View PDF8 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In the existing technology, for the commonly used Internet application architecture, in order to solve the large concurrency, based on the consideration of one-step and peak shaving, message queues are needed to cache large traffic. The procedure call request can be correctly routed to the grayscale instance, but the production message will flow into the normal application instance, and the data is not completely isolated, so there may be erroneous data that affects the business, and different testers share the same environment for testing, and the test resources cannot be used. isolation

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
  • Gray scale message processing method, device, storage medium and computer equipment
  • Gray scale message processing method, device, storage medium and computer equipment
  • Gray scale message processing method, device, storage medium and computer equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0058] Hereinafter, the present application will be described in detail with reference to the drawings and embodiments. It should be noted that, in the case of no conflict, the embodiments in the present application and the features in the embodiments can be combined with each other.

[0059] In this embodiment, a processing method of a grayscale message is provided, such as figure 1 As shown, the method includes:

[0060] Step 101, obtaining the first coloring identification corresponding to the service production end, and sending a grayscale message to a preset topic (preset path) through the business production end, wherein the grayscale message is a business message with the first coloring identification attached;

[0061] The above-mentioned step 101 provides a method for publishing a grayscale message. When the business application (i.e., the business production end) is started, it reads the first colored label trafic_label in the business application environment variab...

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 gray scale message processing method, a device, a storage medium and computer equipment. The method comprises the steps: obtaining a first dyeing identification correspondingto a business production end, and transmitting a gray scale message to a preset topic through the business production end, the gray scale message being a business message with the first dyeing identification; monitoring the gray scale message in the preset topic through a monitor corresponding to a gray scale consumption end, and consuming the gray scale message when the first dyeing identifier of the gray scale message is matched with the second dyeing identifier corresponding to the gray scale consumption end; and monitoring the gray scale message in the preset topic through a monitor corresponding to a default consumption end, and consuming the gray scale message when the first dyeing identifier of the gray scale message is not matched with the second dyeing identifier. According to the invention, message isolation in the same test environment is realized, and the fault tolerance of the test system is enhanced.

Description

technical field [0001] The present application relates to the technical field of data processing, in particular to a method and device for processing grayscale messages, a storage medium, and computer equipment. Background technique [0002] When the system is upgraded and released, for systems involving the use of message queues, such as Kafka, it is necessary to perform a grayscale release first, and testers can verify the correctness of the system functions on the grayscale instance before releasing the new version in full. [0003] In the existing technology, for the commonly used Internet application architecture, in order to solve the large concurrency, based on the consideration of one-step and peak shaving, message queues are needed to cache large traffic. The procedure call request can be correctly routed to the grayscale instance, but the production message will flow into the normal application instance, and the data is not completely isolated, so there may be erro...

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): G06F8/65G06F11/30G06F11/36
CPCG06F8/65G06F11/302G06F11/3664
Inventor 田雪峰
Owner 北京水滴科技集团有限公司
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More