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

A kind of information sending method, device and storage medium based on distributed lock

A technology for information transmission and distributed locks, applied in the computer field, can solve problems such as economic losses, affect user experience, and affect the reliability of SMS platforms, and achieve the effect of reducing sending costs and improving user experience.

Active Publication Date: 2022-07-15
上海德吾信息科技有限公司
View PDF8 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The main purpose of the present invention is to provide an information sending method, device and storage medium based on distributed locks, aiming to solve the problem of repeated consumption of the same piece of data encountered in sending short messages through message queues in the prior art, so that the same mobile phone Due to the repeated consumption of messages, the number received multiple pieces of the same content, which will not only affect the reliability of the SMS platform, but also cause great economic losses, and also affect the user 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
  • A kind of information sending method, device and storage medium based on distributed lock
  • A kind of information sending method, device and storage medium based on distributed lock
  • A kind of information sending method, device and storage medium based on distributed lock

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0043] In order to make the technical problems, technical solutions and beneficial effects to be solved by the present invention more clear and comprehensible, the present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only for explaining the present invention, but not for limiting the present invention.

[0044] In the ensuing description, suffixes such as 'module', 'component' or 'unit' used to represent elements are used only to facilitate the description of the present invention, and have no specific meaning per se. Thus, "module", "component" or "unit" may be used interchangeably.

[0045] It should be noted that the terms "first", "second" and the like in the description and claims of the present invention and the above drawings are used to distinguish similar objects, and are not necessarily used to describe a specific sequence or ...

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 distributed lock-based information sending method, device and storage medium. The method includes: receiving a first information sending request message, including the receiver's mobile phone number and information; according to the receiver's mobile phone number, information and time period, generating a sending information identifier; saving the recipient's mobile phone number, information, time period and sending information identifier to the second information sending request message; sending the second information sending request message to the message queue; obtaining the second information sending request message from the message queue; Send the message identifier to add a distributed lock. If the distributed lock is added successfully, send the message to the receiver's mobile phone number. The embodiment of the present invention solves the problem of repeatedly sending the same short message to users when multiple short message platform instances send short messages from the message queue, reduces the cost of sending short messages, and prevents users from receiving multiple identical short messages, thereby improving user experience .

Description

technical field [0001] The present invention relates to the field of computer technology, and in particular, to a method, device and storage medium for sending information based on distributed locks. Background technique [0002] More and more companies have their own SMS platform to manage all SMS sending business within the company. In order to cope with the high concurrent requests for SMS sending, SMS platforms usually use message queues to separate the processing of SMS sending applications from the SMS sending service providers, so that even in the event of sudden large traffic, the SMS can be sent first. The information is temporarily stored in the message queue for caching, and then processed one by one, thus ensuring the high availability of the SMS platform. However, there is a problem that is often encountered in message queues, that is, the problem of repeated consumption of the same piece of data. As a result, the same mobile phone number will receive multiple ...

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): H04W4/14H04W28/02
CPCH04W4/14H04W28/02
Inventor 李铁擎
Owner 上海德吾信息科技有限公司
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