Batch message queue verification method, electronic equipment and medium
A technology of message queue and verification method, applied in the direction of program control design, generation of response errors, electrical digital data processing, etc., can solve the problems of information transmission loss, downtime, high CPU pressure on downstream systems, etc., to simplify the complexity. , avoid excessive pressure, reduce the effect of development
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0034] see figure 1 , this embodiment provides a verification method for batch message queues. The verification method includes the following steps:
[0035] Step S1: The upstream system sends the message queue to the downstream system, and the message queue has a version number;
[0036] Step S2: The downstream system accepts the message queue;
[0037] Step S3: the downstream system checks the message queue;
[0038] In the step S1, when the message queue sent by the upstream system is the last message queue in several message queues with the version number, the last message queue includes a last flag bit and a message batch quantity field ;
[0039] In the step S2, the downstream system extracts the message queue with the version number into the database, identifies and counts the version number, and establishes a set corresponding to the version number in the database , storing the message queue with the version number in the set;
[0040] When the downstream system ...
Embodiment 2
[0072] image 3 A schematic structural diagram of an electronic device provided in this embodiment. The electronic device includes a memory, a processor, and a computer program stored in the memory and operable on the processor. The processor implements the method for batch message queue in Embodiment 1 when executing the program. image 3 The electronic device 30 shown is only an example, and should not limit the functions and scope of use of the embodiments of the present invention.
[0073] Such as image 3 As shown, electronic device 30 may take the form of a general-purpose computing device, which may be a server device, for example. Components of the electronic device 30 may include, but are not limited to: at least one processor 31 , at least one memory 32 , and a bus 33 connecting different system components (including the memory 32 and the processor 31 ).
[0074] The bus 33 includes a data bus, an address bus, and a control bus.
[0075] The memory 32 may include...
Embodiment 3
[0081] This embodiment provides a computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, the steps of the method for verifying a batch message queue in Embodiment 1 are implemented.
[0082] Wherein, the readable storage medium may more specifically include but not limited to: portable disk, hard disk, random access memory, read-only memory, erasable programmable read-only memory, optical storage device, magnetic storage device or any of the above-mentioned the right combination.
[0083] In a possible implementation manner, the present invention can also be implemented in the form of a program product, which includes program code, and when the program product runs on the terminal device, the program code is used to make the terminal device execute Steps of the method for processing data skew in Embodiment 1.
[0084] Wherein, the program code for executing the present invention can be written in any combinatio...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com