Consumption method based on consumption queue, terminal and computer readable storage medium

A consumption terminal and storage medium technology, applied in the field of communication, can solve problems such as the inability to guarantee the correct consumption of the consumption queue, and achieve the effect of ensuring successful consumption and avoiding omissions

Inactive Publication Date: 2017-09-22
NUBIA TECHNOLOGY CO LTD
View PDF2 Cites 21 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0019] The main purpose of the present invention is to propose a consumption method, terminal and computer-readable storage medium based on the co

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
  • Consumption method based on consumption queue, terminal and computer readable storage medium
  • Consumption method based on consumption queue, terminal and computer readable storage medium
  • Consumption method based on consumption queue, terminal and computer readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0053] It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0054] In the following description, use of suffixes such as 'module', 'part' or 'unit' for denoting elements is only for facilitating description of the present invention and has no specific meaning by itself. Therefore, 'module', 'part' or 'unit' may be used in combination.

[0055] Terminals may be implemented in various forms. For example, the terminals described in the present invention may include mobile phones, tablet computers, notebook computers, palmtop computers, personal digital assistants (Personal Digital Assistant, PDA), portable media players (Portable MediaPlayer, PMP), navigation devices, wearable devices, mobile terminals such as smart bracelets, pedometers, and stationary terminals such as digital TVs and desktop computers.

[0056] In the following description, a mobile terminal will be taken as...

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 consumption method based on a consumption queue, a terminal and a computer readable storage medium, and relates to the technical field of communication. The consumption method based on the consumption queue comprises the following steps: obtaining current consumption information from the consumption queue of a Redis remote dictionary server; and monitoring the consumption condition of the current consumption information, and returning consumption failure information to the Redis in the case of processing failure of the current consumption information, so that the Redis adds the current consumption information to the consumption queue again. According to the consumption method disclosed by the invention, the consumption terminal monitors the consumption condition of each piece of consumption information and returns the consumption failure information to the Redis in the case of consumption failure of the consumption information, the Redis adds the information subjected to consumption failure to the consumption queue again and performs consumption processing again, until the consumption information is successfully processed. The leakage of the consumption information subjected to processing failure can be avoided, and the successful consumption of each piece of consumption information can be guaranteed.

Description

technical field [0001] The present invention relates to the field of communication technologies, and in particular to a consumption method based on a consumption queue, a terminal and a computer-readable storage medium. Background technique [0002] Messages are data sent between two computers. Messages can be very simple, containing only a few text strings, or more complex, containing larger object data. The consumption queue mechanism provides application developers with a fast and reliable communication method between applications, that is, information interaction is realized through message delivery. [0003] The consumption queue system (also known as message middleware) is widely used in various Internet companies. As a buffer mechanism for messages, it can effectively reduce the pressure on the company's backend server. [0004] A typical consumer queue system consists of three parts: [0005] 1. Producer end: the terminal responsible for sending messages to the co...

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
IPC IPC(8): H04L29/08H04L12/26G06F9/54
CPCH04L43/50G06F9/544G06F9/546H04L67/568
Inventor 牛兵奇
Owner NUBIA TECHNOLOGY CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products