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

Method for controlling message sending and device for controlling message sending

A technology for sending and controlling messages, which is applied to digital transmission systems, electrical components, transmission systems, etc., and can solve problems such as gateway crashes, message sending speed not exceeding the speed, and message sending failures

Inactive Publication Date: 2015-09-16
UNION MOBILE PAY
View PDF3 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The embodiment of the present invention provides a method and device for controlling message sending, which is used to solve the problem that in the prior art, it is impossible to guarantee that the sending speed of the message in any time period is not overspeed, which may easily lead to the slowing down of the gateway response speed and the failure of message sending , and even lead to problems with gateway crashes

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
  • Method for controlling message sending and device for controlling message sending
  • Method for controlling message sending and device for controlling message sending
  • Method for controlling message sending and device for controlling message sending

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0039] In order to make the purpose, technical solutions and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings. Obviously, the described embodiments are only some of the embodiments of the present invention, rather than all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0040] In order to save storage space, in the embodiment of the present invention, an array is preferred for storing the sending time of the message, but it does not mean that it is limited to using an array to store the sending time of the message, that is, any type of storage method can be used to store the message in the embodiment of the present invention. The sending time of the text.

[0041] In the embodiment of the present inven...

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 method for controlling message sending and a device for controlling the message sending. The method comprises obtaining a message sending speed which is allowed by a gateway and which is N messages allowed to be sent in first set time, receiving an Mth to-be-sent message, calculating a difference value between current time and sending time of an (M-N)th message, and, if the difference value between the current time and the sending time of the (M-N)th message is less than the first set time, controlling sending time of the Mth to-be-sent message. As can be seen, when the difference value is less than the first set time, the sending time of the Mth message is controlled, and then the message sending speed in any time period can be guaranteed to be not overspeed, so, through control of the sending time of the Mth message, the message sending speed in any time period can be controlled to be not overspeed to relieve a pressure of the gateway, and then conditions that a gateway response speed slows down, the message sending fails and the gateway collapses are prevented from occurrence.

Description

technical field [0001] The invention relates to the technical field of mobile communication, in particular to a method and device for controlling message sending. Background technique [0002] Due to the limited resources of the gateway, when there is a large amount of message traffic, it will put a lot of pressure on the gateway, which will easily cause the gateway to respond slowly, fail to send messages, and even cause the gateway to crash. In the prior art, when sending a message to the gateway, the flow control of the message generally adopts the following method: first save the message in the queue, and then take out a specified number of messages from the queue at regular intervals to send, and then sleep. For example, a system that sends 500 messages per second, after taking out 500 messages from the queue and sending them, judges whether the time between the current time and the start of sending messages exceeds 1 second, and if so, takes 500 more messages from the...

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): H04L12/801
CPCH04L47/12
Inventor 崔洪清陈正全张浩
Owner UNION MOBILE PAY
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