RU2498529C1 - Method for interaction of content provider system with sms message packet transmission aggregator - Google Patents
Method for interaction of content provider system with sms message packet transmission aggregator Download PDFInfo
- Publication number
- RU2498529C1 RU2498529C1 RU2012119995/07A RU2012119995A RU2498529C1 RU 2498529 C1 RU2498529 C1 RU 2498529C1 RU 2012119995/07 A RU2012119995/07 A RU 2012119995/07A RU 2012119995 A RU2012119995 A RU 2012119995A RU 2498529 C1 RU2498529 C1 RU 2498529C1
- Authority
- RU
- Russia
- Prior art keywords
- message
- block
- package
- delivery
- aggregator
- Prior art date
Links
Images
Abstract
Description
Изобретение относится к системам передачи и воспроизведения SMS-сообщений по сети мобильной связи, в частности к протоколам взаимодействия систем контент-провайдеров с агрегатором, и может быть использовано для пакетной передачи SMS-сообщений с использованием TLV-протокола.The invention relates to systems for transmitting and reproducing SMS messages over a mobile communication network, in particular, to protocols for interacting systems of content providers with an aggregator, and can be used for packet transmission of SMS messages using the TLV protocol.
Известен способ предоставления абонентам сотовой подвижной связи СПС неголосовых Premium Rate услуг, включающий следующие этапы: a) использование сети СПС для передачи запроса и услуги b) передачу запроса абонента провайдеру услуг для затребования услуги, c) выдачу затребованной услуги абоненту, d) тарификацию затребованной услуги по цене, заявленной провайдером услуг, отдельно от стандартных тарифов операторов сетей СПС, при этом услуги также предоставляются абонентам сетей СПС других Операторов, с которыми у данного Оператора заключено Роуминговое соглашение, и дополнительно используют систему, содержащую блок анализа абонентских запросов, с помощью которого производят прием и первичный анализ запросов, основной блок сервисной логики, с помощью которого идентифицируют услугу, конвертируют абонентский запрос в формат провайдера услуги и контролируют предоставление услуги, блок тарификации, с помощью которого тарифицируют услугу, формируют данные, содержащие, по меньшей мере, код запроса услуги, время предоставления услуги и номер телефона абонента, запрос формируют путем клавиатурного ввода с мобильного терминала, причем выбирают формат запроса, который интерпретируется сетью СПС либо как набор голосового номера, либо как передача текстового фрагмента определенному внешнему приложению (патент РФ №2336654, МПК H04M 15/00, опубл. 20.10.2008).There is a known method of providing non-voice Premium Rate services to mobile SPS mobile subscribers, which includes the following steps: a) using the SPS network to transmit the request and service; b) transmitting the subscriber’s request to the service provider to request the service; c) issuing the requested service to the subscriber; d) charging the requested service at the price stated by the service provider, separately from the standard tariffs of the operators of ATP networks, while services are also provided to subscribers of ATP networks of other Operators with which the Operator has concluded a Rome agreement, and additionally use a system containing a unit for analyzing subscriber requests, with the help of which they receive and initial analyze requests, the main unit of service logic, which identifies the service, converts the subscriber request into the format of the service provider and controls the provision of the service, the charging unit, by which the service is charged, data is generated containing at least the service request code, the time of the service and the telephone number of the subscriber, the request is generated by keyboard input from a mobile terminal, moreover, they select a request format that is interpreted by the SPS network as either dialing a voice number or transmitting a text fragment to a specific external application (RF patent No. 2336654, IPC
Наиболее близким является способ взаимодействия конечного клиента с SMS-сервером (SMSC) для передачи SMS и USSD сообщений с использованием протокола Short message peer-to-peer protocol (SMPP). Способ базируется на обмене пакетов данных протокола PDU (protocol data units), передаваемых на уровне 4 OSI (TCP/IP сессии или Х.25 SVC3). PDU имеют бинарное представление для повышения эффективности передачи. Обмен пакетами может происходить как синхронно, т.е. после отправки запроса дальнейший обмен пакетами приостанавливается до получения ответа, так и асинхронно, т.е. запросы отправляются без задержек, обработка ответов происходит по мере их поступления.The closest is the way the end client interacts with the SMS server (SMSC) for sending SMS and USSD messages using the Short message peer-to-peer protocol (SMPP) protocol. The method is based on the exchange of protocol data units (PDUs) transmitted on OSI layer 4 (TCP / IP sessions or X.25 SVC3). PDUs have a binary representation to increase transmission efficiency. Packet exchange can occur as synchronously, i.e. after sending the request, further packet exchange is suspended until a response is received, asynchronously, i.e. requests are sent without delay, processing of responses occurs as they arrive.
Известный способ взаимодействия конечного клиента с SMS-сервером (SMSC) с использованием протокола SMPP является открытым стандартом и его описание можно найти в открытых источниках: http://smsforum.net/.A well-known method of interaction between the end client and the SMS server (SMSC) using the SMPP protocol is an open standard and its description can be found in open sources: http://smsforum.net/.
Недостатком способов является то, что передача осуществляется только на уровне единичных SMS-сообщений. При этом каждое сообщение должно подтверждаться удаленной стороной.The disadvantage of this method is that the transmission is carried out only at the level of single SMS-messages. In this case, each message must be confirmed by the remote side.
Это означает, что если контент-провайдер отсылает 500 SMS-сообщений, то контент-провайдер должен сформировать 500 уникальных сообщений протокола (PDU-Protocol Data Unit). Удаленная сторона должна их принять, обработать, сформировать для каждого PDU уникальное подтверждение и отослать все подтверждения. При этом контент-провайдер отдельно обрабатывает все уникальные подтверждения, чтобы выяснить, на какие PDU удаленная сторона подтверждений не прислала, при этом есть вероятность потери и дублирования данных.This means that if the content provider sends 500 SMS messages, then the content provider must generate 500 unique protocol messages (PDU-Protocol Data Unit). The remote side must accept them, process them, generate a unique acknowledgment for each PDU and send all acknowledgments. At the same time, the content provider separately processes all the unique confirmations in order to find out which PDUs the remote side of the confirmation did not send to, and there is a possibility of data loss and duplication.
Все это создает высокую нагрузку на программный модуль, который занимается обслуживанием SMPP-канала, из-за чего способ не обеспечивает скорости передачи сообщений в протоколе SMPP больше 400 SMS-сообщений в секунду.All this creates a high load on the software module that is engaged in servicing the SMPP channel, because of which the method does not provide message transfer rates in the SMPP protocol of more than 400 SMS messages per second.
Другим недостатком известного способа с использованием SMPP протокола является наличие у каждого оператора различных собственных расширений SMPP, поэтому формируется минимально необходимый набор различных специфических значений, в первую очередь - тип данных в SMS-сообщениях. Все агрегаторы будут поддерживать эти значения унифицировано и самостоятельно заниматься корректным отображением специализированного протокола в собственное подмножество SMPP.Another disadvantage of the known method using the SMPP protocol is that each operator has its own different extensions of SMPP, therefore, the minimum necessary set of different specific values is formed, first of all, the data type in SMS messages. All aggregators will support these values in a unified manner and independently engage in the correct mapping of the specialized protocol into their own subset of SMPP.
Техническая задача, на решение которой направлено заявляемое изобретение, заключается в обеспечении высокой производительности при взаимодействии с агрегатором при отправке большого количества SMS-сообщений по сети мобильной связи, а также надежности и безопасности отправки и принятия пакетов SMS-сообщений.The technical problem to which the claimed invention is directed is to provide high performance when interacting with an aggregator when sending a large number of SMS messages over a mobile communication network, as well as the reliability and security of sending and receiving SMS message packets.
Поставленная техническая задача решается тем, что в способе взаимодействия системы контент-провайдера с агрегатором для пакетной передачи SMS-сообщений, заключающийся в формировании, передаче сообщения и получении ответного подтверждающего сообщения, согласно заявляемому изобретению, формируют пакет SMS-сообщений и осуществляют передачу пакета SMS-сообщений с использованием TLV-протокола, где TLV-протокол (Tag, Length, Value) это способ двоичного представления информационного блока в виде трех полей: идентификатора информационного блока (Tag), который является уникальным и позволяет однозначно определить, какие данные содержатся в информационном блоке, значения (Value) - двоичного представления информационного блока, значения (Length) - количество байт в поле Value, пакет исходящих SMS-сообщений формируют в блоке контент-провайдера, присваивают ему уникальный идентификатор, адрес отправки и адрес приема и осуществляют доставку в блок агрегатора, повторяя ее до получения из блока агрегатора ответного сообщения, подтверждающего доставку и содержащего адрес отправки, адрес приема и уникальный идентификатор принятого сообщения, из блока агрегатора высылают в блок оператора исходящее сообщение с пакетом SMS-сообщений, предназначенное для абонента, в блоке оператора формируют и отправляют в блок агрегатора отчет о доставке SMS-сообщения для абонента, при получении ответного подтверждающего сообщения из блока оператора в блоке агрегатора формируют ответное сообщение оператору в виде уведомления о получении отчета о доставке SMS-сообщения до абонента и одновременно формируют и передают в блок контент-провайдеру сообщение с результатами отправки оператору пакета исходящих SMS-сообщений, которому присваивают уникальный идентификатор, адрес отправки и адрес приема, передачу осуществляют до подтверждения доставки этого сообщения контент-провайдером в виде уведомления о получении пакета с результатами доставки SMS-сообщений до абонента, которое содержит соответствующий уникальный идентификатор сообщения с результатами отправки оператору пакета исходящих SMS-сообщений, для передачи входящих SMS-сообщений от абонента SMS-центра в блок контент-провайдера в блоке агрегатора формируют пакет из входящих от абонентов SMS-сообщений, присваивают сообщению в виде пакета SMS-сообщений уникальный идентификатор, адрес отправки и адрес приема и осуществляют доставку в блок контент-провайдера, доставку повторяют до момента подтверждения его получения контент провайдером в виде ответного сообщения, содержащего тот же уникальный идентификатор.The stated technical problem is solved by the fact that in the method of interaction of the content provider system with the aggregator for batch transmission of SMS messages, which consists in the formation, transmission of a message and the receipt of a response confirmation message, according to the claimed invention, a package of SMS messages is formed and an SMS packet is transmitted messages using the TLV protocol, where the TLV protocol (Tag, Length, Value) is a way of binary representation of an information block in the form of three fields: information block identifier (Tag), which th is unique and allows you to uniquely determine what data is contained in the information block, values (Value) - the binary representation of the information block, values (Length) - the number of bytes in the Value field, a packet of outgoing SMS messages is formed in the block of the content provider, assigned to it a unique identifier, a sending address and a receiving address, and deliver to the aggregator block, repeating it until a response message is received from the aggregator block that confirms delivery and contains the sending address, the receiving address and a unique and received message identifier, an outgoing message with an SMS message package intended for a subscriber is sent to the operator unit from the aggregator unit, an SMS message delivery report for the subscriber is generated and sent to the aggregator unit in the operator unit, upon receipt of a response confirmation message from the operator unit to Aggregator block generates a response message to the operator in the form of a notification of receiving a report on the delivery of SMS messages to the subscriber and simultaneously generates and transmits a message from the result to the block to the content provider In order to send the package of outgoing SMS messages to the operator, which is assigned a unique identifier, the sending address and the receiving address, the transmission is carried out until the delivery of this message is confirmed by the content provider in the form of a notification on the receipt of the package with the results of the delivery of SMS messages to the subscriber, which contains the corresponding unique identifier messages with the results of sending the operator a package of outgoing SMS messages to transfer incoming SMS messages from the SMS center subscriber to the content provider block in the aggregator block form a package of incoming SMS messages from subscribers, assign a unique identifier, send address and receive address to the message in the form of a package of SMS messages and deliver to the block of the content provider, repeat the delivery until the receipt is confirmed by the content provider in the form of a response message containing same unique identifier.
Кроме того, в блоке контент-провайдера формируют пакет исходящих SMS-сообщений в виде сообщения «outgoing_package», сообщению «outgoing_package» присваивают уникальный идентификатор, адрес отправки и адрес приема, осуществляют доставку в блок агрегатора до получения из блока агрегатора ответного сообщения о получении пакета исходящих SMS-сообщений в виде сообщения «outgoing_package_ack», содержащего адрес отправки, адрес приема и уникальный идентификатор принятого сообщения «outgoing_package».In addition, in the block of the content provider, a package of outgoing SMS messages is formed in the form of an “outgoing_package” message, a “outgoing_package” message is assigned a unique identifier, a send address and a receive address, they are delivered to the aggregator block before receiving a response message about the packet received from the aggregator block outgoing SMS messages in the form of an outgoing_package_ack message containing a sending address, a receiving address and a unique identifier for a received outgoing_package message.
Кроме того, из блока агрегатора высылают в блок оператора исходящее сообщение пакетом SMS-сообщений предназначенное для абонента в виде запроса «submit_sm», в блоке оператора формируют и отправляют в блок агрегатора отчет о доставке SMS-сообщения для абонента в виде, сообщения «submit_sm_resp».In addition, an outgoing message is sent from the aggregator block to the operator block by an SMS message package intended for the subscriber in the form of a submit_sm request; in the operator block, an SMS message delivery report for the subscriber is sent and sent to the aggregator block in the form of a submit_sm_resp message .
Кроме того, в блоке агрегатора формируют и передают в блок контент-провайдеру сообщение с результатами отправки оператору пакета исходящих SMS-сообщений в виде «send_result_package», которому присваивают уникальный идентификатор, адрес отправки и адрес приема, передачу осуществляют до подтверждения доставки этого сообщения контент-провайдером в виде уведомления о получении пакета с результатами доставки SMS-сообщений до абонента в виде сообщения «send_result_package_ack», которое содержит соответствующий уникальный идентификатор сообщения «send_result_package».In addition, in the aggregator block, a message is generated and sent to the block to the content provider with the results of sending the package of outgoing SMS messages to the operator in the form of "send_result_package", which is assigned a unique identifier, a sending address and a receiving address, the transmission is carried out until the delivery of this message is confirmed by the content provider in the form of a notification of receipt of a package with the results of the delivery of SMS messages to the subscriber in the form of a message "send_result_package_ack", which contains the corresponding unique identifier of the message "send_result_package".
Кроме того, в блоке оператора формируют и отправляют в блок агрегатора отчет о доставке SMS-сообщения до абонента в виде сообщения «delivery_sm_DR», после получения которого в блоке агрегатора формируют ответное сообщение в виде уведомления о получении отчета о доставке SMS-сообщения до абонента в виде сообщения «delivery_sm_resp_DR».In addition, in the operator’s block, a report on the delivery of SMS messages to the subscriber is generated and sent to the aggregator block in the form of the message “delivery_sm_DR”, after receiving which a response message is generated in the aggregator block in the form of a notification on the receipt of the SMS message delivery report to the subscriber in as the message "delivery_sm_resp_DR".
Кроме того, в блоке агрегатора формируют сообщение о результатах доставки SMS абоненту в виде пакета с результатами доставки SMS-сообщений до абонента в виде сообщения «delivery_receipt_package», содержащего адрес отправки, адрес приема и уникальный идентификатор, при этом из блока агрегатора повторяют доставку сообщения вида «delivery_receipt_package» в блок контент-провайдера до подтверждения получения в виде сообщения «delivery_receipt_package_ack», которое содержится уникальный идентификатор соответствующего сообщения «delivery_receipt_package».In addition, in the aggregator block, a message is generated about the results of SMS delivery to the subscriber in the form of a package with the results of the delivery of SMS messages to the subscriber in the form of the message “delivery_receipt_package” containing the sending address, the receiving address and a unique identifier, while the message of the form is repeated from the aggregator block “Delivery_receipt_package” to the content provider block until confirmation of receipt in the form of a message “delivery_receipt_package_ack”, which contains a unique identifier for the corresponding message “delivery_receipt_package”.
Кроме того, для передачи входящих SMS-сообщений от абонента SMS-центра в блок контент-провайдера в блоке агрегатора формируют пакет из входящих от абонентов SMS-сообщений в виде сообщения «incommg_package», присваивают сообщению «incoming_package» уникальный идентификатор, адрес отправки и адрес приема и осуществляют доставку в блок контент-провайдера, доставку повторяют до момента подтверждения его получения контент провайдером в виде ответного сообщения «incoming_package_ack», содержащего тот же уникальный идентификатор.In addition, to transfer incoming SMS messages from the SMS center subscriber to the content provider block, an aggregator block forms a package of incoming SMS messages from subscribers in the form of an incommg_package message, assigns a unique identifier, sending address and address to the incoming_package message receive and deliver to the block of the content provider, the delivery is repeated until the receipt of confirmation by the content provider in the form of a response message "incoming_package_ack" containing the same unique identifier.
Кроме того, осуществляют проверку работоспособности канала связи путем формирования в блоке агрегатора либо в блоке контент-провайдера сообщения «ping», которое периодически отправляют при отсутствии пакетов передачи для определения состояния канала связи, при этом каждому сообщению «ping» присваивают уникальный идентификатор, и на каждое полученное сообщение вида «ping» отсылают ответное сообщение в виде «ping_ack», которое включает уникальный идентификатор из соответствующего запросного сообщения вида «ping».In addition, they check the operability of the communication channel by generating a “ping” message in the unit of the aggregator or in the block of the content provider, which is periodically sent in the absence of transmission packets to determine the state of the communication channel, and each message “ping” is assigned a unique identifier, and each received message of the ping type sends a response message in the form of ping_ack, which includes a unique identifier from the corresponding request message of the ping type.
Техническим результатом является повышение скорости передачи при рассылке большого количества SMS-сообщений по сети мобильной связи, за счет того, что множество SMS-сообщений отсылаются одним пакетом, при получении которого агрегатор будет обрабатывать один PDU (Protocol Description Unit) (одно сообщение протокола) и отсылать одно подтверждение, что обеспечивает высокую производительность, надежность и безопасность отправки и принятия пакетов SMS-сообщений.The technical result is to increase the transmission speed when sending a large number of SMS messages over a mobile network, due to the fact that many SMS messages are sent in one packet, upon receipt of which the aggregator will process one PDU (Protocol Description Unit) (one protocol message) and send one confirmation, which ensures high performance, reliability and security of sending and receiving SMS message packets.
Изобретение поясняется чертежами, гдеThe invention is illustrated by drawings, where
на фиг.1 приведена блок-схема программно-аппаратного комплекса, реализующего заявляемый способ и обеспечивающего пакетную передачу SMS-сообщений с использованием TLV-протокола;figure 1 shows a block diagram of a software and hardware complex that implements the inventive method and provides packet transmission of SMS messages using the TLV protocol;
на фиг.2 представлена диаграмма, иллюстрирующая последовательность действий при выполнении пакетированной рассылки SMS-сообщений по заявляемому способу.figure 2 presents a diagram illustrating the sequence of actions when performing packetized distribution of SMS-messages according to the claimed method.
Используемые в описании терминыTerms Used In The Description
Агрегация - процесс объединения различных элементов в единое целое, в частности, для мобильных услуг, - предоставление услуг разных сервис-провайдеров через единую систему или платформу.Aggregation - the process of combining various elements into a single whole, in particular, for mobile services - the provision of services of different service providers through a single system or platform.
Агрегатор - система, обеспечивающая интерфейс с системами Операторов сотовой связи. Основное предназначение системы - предоставление шлюза, который позволяет организовать удобную и надежную работу между транспортной платформой (ТП) контент-провайдеров и SMS-центрами операторов сотовой связи для облегчения процесса организации доставки мобильного контента его потребителям - абонентам мобильной или фиксированной связиAggregator - a system that provides an interface with the systems of mobile operators. The main purpose of the system is to provide a gateway that allows you to organize convenient and reliable operation between the transport platform (TP) of content providers and SMS centers of mobile operators to facilitate the process of organizing the delivery of mobile content to its consumers - mobile or fixed-line subscribers
Транспортная платформа (ТП) - система контент-провайдера, обеспечивающая передачу сообщений агрегатору. ТП устанавливает подключение к системам агрегаторов, отслеживает жизнеспособность подключения и восстанавливает подключение в случае обнаружения разрыва, обеспечивает балансировку трафика между агрегаторами.Transport platform (TP) is a content provider system that provides messages to an aggregator. TP establishes a connection to the systems of aggregators, monitors the viability of the connection and restores the connection in the event of a break, provides balancing traffic between aggregators.
КП - контент-провайдер.KP is a content provider.
Протокол TLV (Tag, Length, Value) - это способ двоичного представления информации, в котором каждый значимый блок информации представлен в виде тройки из:The TLV protocol (Tag, Length, Value) is a method of binary presentation of information, in which each significant block of information is represented as a triple of:
- идентификатора блока (Tag), который является уникальным в рамках текущего контекста, что позволяет однозначно определить, какие данные содержатся в данном блоке;- block identifier (Tag), which is unique within the current context, which allows you to uniquely determine what data is contained in this block;
- длины значения (Length) - количество байт в поле Value;- length of the value (Length) - the number of bytes in the Value field;
- значения (Value) - двоичное представление информации блока, при этом точный способ интерпретации значения зависит от типа информации (т.е. от значения Tag).- Values are a binary representation of block information, and the exact way to interpret the value depends on the type of information (i.e., on the Tag value).
Поле Value в TLV представлении может быть:The Value field in the TLV representation can be:
- элементарным единичным значением (например, строкой "Hello, world");- an elementary unit value (for example, the string "Hello, world");
- составным значением, состоящим из последовательности TLV-блоков;- a composite value consisting of a sequence of TLV blocks;
- пустым. В это случае Length равен нулю и физически поле Value в TLV-блоке отсутствует.- empty. In this case, the Length is zero and physically the Value field in the TLV block is absent.
На фиг.1 приведена блок-схема программно-аппаратного комплекса, который обеспечивает осуществление заявляемого способа взаимодействия системы контент-провайдера с агрегатором для пакетной передачи SMS-сообщений с использованием TLV-протокола. Программно-аппаратный комплекс содержит связанные каналами связи блок 1 контент-провайдера, блок 2 агрегатора и блок 3 SMS-центр оператора мобильной связи.Figure 1 shows a block diagram of a software and hardware complex, which provides the implementation of the proposed method of interaction of the content provider system with the aggregator for batch transmission of SMS messages using the TLV protocol. The hardware and software complex contains the
Блок 1 контент-провайдера включает модуль 4 по обслуживанию протокола и связанный с ним блок 5 базы данных.
Модуль 4 по обслуживанию протокола выполняет функции по формированию глобальных уникальных идентификаторов пакетов исходящих сообщений GUID/UUID, а также выполняет проверку уникальности идентификаторов пакетов, полученных от агрегатора.Protocol maintenance module 4 performs the functions of generating global unique identifiers for outgoing GUID / UUID message packets, and also checks for the uniqueness of packet identifiers received from the aggregator.
Блок 5 базы данных (БД) предназначен для хранения информации о пакетах исходящих сообщений GUID/UUID.Block 5 of the database (DB) is designed to store information about outgoing message packets GUID / UUID.
Блок 2 агрегатора включает модуль 6 по взаимодействию с контент-провайдерами, связанный с ним блок 7 базы данных о пакетах исходящих и входящих SMS-сообщений, модуль 8 по взаимодействию с операторами мобильной связи, вход которого связан каналами связи с выходом модуля 6, блок 9 базы данных оперативной информации, связанный с модулем 8.
Модуль 6 по взаимодействию с контент-провайдерами предназначен для поддержки протокола; формирует глобальные уникальные идентификаторы пакетов с результатами отправки SMS-сообщений оператору (send_result), пакетов с результатами доставки сообщений до абонентов (delivery_receipt) и пакетов входящих сообщений; проверяет уникальность идентификаторов пакетов, полученных от контент-провайдера.Module 6 for interaction with content providers is designed to support the protocol; generates global unique identifiers for packets with the results of sending SMS messages to the operator (send_result), packets with the results of delivery of messages to subscribers (delivery_receipt) and packets of incoming messages; verifies the uniqueness of packet identifiers received from the content provider.
Блок 7 базы данных предназначен для хранения информации о пакетах, телефонах исходящих и входящих SMS-сообщений, результатов отправки SMS-сообщений оператору, результатов доставки сообщений до абонентов;Block 7 of the database is designed to store information about packets, phones of outgoing and incoming SMS messages, the results of sending SMS messages to the operator, the results of message delivery to subscribers;
Модуль 8 по взаимодействию с операторами мобильной связи поддерживает взаимодействие с операторами по протоколу SMPP, а также с модулем 3 по взаимодействию с контент-провайдерами работате по внутреннему протоколу.Module 8 for interaction with mobile operators supports interaction with operators via SMPP protocol, as well as
Блок 9 базы данных предназначен для хранения оперативной информации для взаимодействия с оператором.Block 9 of the database is designed to store operational information for interaction with the operator.
Блок 3 SMS-центр оператора мобильной связи включает модуль 10, предназначенный для получения, обработки и маршрутизации SMS-сообщений.
На фиг.2 представлена диаграмма последовательности действий при выполнении пакетированной рассылки SMS-сообщений, гдеFigure 2 presents a sequence diagram of actions when performing packet sending SMS messages, where
1 - Контент-провайдер1 - Content Provider
2 - Агрегатор2 - Aggregator
3 - SMS-центр Оператора мобильной связи3 - SMS-center of the mobile operator
11 - мобильное устройство получателя SMS-сообщения,11 is a mobile device of the recipient of an SMS message,
12 - пакет исходящих сообщений (outgoing_package),12 - outgoing message packet (outgoing_package),
13 - уведомление о получении пакета исходящих сообщений (outgoing_package_ack),13 - notification of the receipt of an outgoing message packet (outgoing_package_ack),
14 - исходящее сообщение (submit_sm),14 - outgoing message (submit_sm),
15 - отчет о получении исходящего сообщения (submit_sm_resp),15 - report on the receipt of an outgoing message (submit_sm_resp),
16 - пакет с результатами отправки исходящих сообщений Оператору (send_result_package),16 - a package with the results of sending outgoing messages to the Operator (send_result_package),
17 - уведомление о получении пакета с результатами отправки исходящих сообщений Оператору (send_result_package_ack),17 - notification of receipt of a package with the results of sending outgoing messages to the Operator (send_result_package_ack),
18 - отчет о доставке SMS-сообщения до абонента (delivery_sm_DR),18 - report on the delivery of SMS messages to the subscriber (delivery_sm_DR),
19 - уведомление о получении отчета о доставке SMS-сообщения до абонента (delivery_sm_resp_DR),19 - notification of receipt of a report on the delivery of SMS messages to the subscriber (delivery_sm_resp_DR),
20 - пакет с результатами доставки SMS-сообщений до абонента (delivery_receipt_package),20 - a package with the results of the delivery of SMS messages to the subscriber (delivery_receipt_package),
21 - уведомление о получении пакета с результатами доставки SMS-сообщений до абонента (delivery_receipt_package_ack),21 - notification of receipt of a package with the results of the delivery of SMS messages to the subscriber (delivery_receipt_package_ack),
22 - входящее SMS-сообщение (deliver_sm_IN),22 - incoming SMS message (deliver_sm_IN),
23 - уведомление о получении входящего SMS-сообщения (deliver_sm_resp_IN),23 - notification of receipt of an incoming SMS message (deliver_sm_resp_IN),
24 - пакет входящих сообщений (incoming_package),24 - incoming message packet (incoming_package),
25 - уведомление о получении пакета входящих сообщений (incommg_package_ack),25 - notification of receipt of the package of incoming messages (incommg_package_ack),
26 - (исходящее) SMS-сообщение (submit),26 - (outgoing) SMS message (submit),
27 - отчет о получении SMS-сообщения (submit_ack).27 - report on receipt of SMS message (submit_ack).
Заявляемый способ осуществляется следующим образом.The inventive method is as follows.
В блоке 1 контент-провайдера формируют пакет 12 исходящих SMS-сообщений в виде сообщения «outgoing_package» для отсылки в блок 2 агрегатора. Сообщению вида «outgoing_package» присваивают уникальный идентификатор, адрес отправки и адрес приема. Контент-провайдер повторяет доставку пакета исходящих SMS-сообщений в виде сообщения «outgoing_package» в блок 2 агрегатора до момента подтверждения агрегатором доставки сформированного пакета 12 исходящих SMS-сообщений.In
При получении пакета 12 исходящих SMS-сообщений в виде сообщения «outgoing_package» в блоке 2 агрегатора формируют и направляют в блок 1 контент-провайдеру по каналам связи уведомления 13 о получении пакета исходящих SMS-сообщений в виде сообщения «outgoing_package_ack», содержащего адрес отправки, адрес приема и уникальный идентификатор принятого сообщения.Upon receipt of a package of 12 outgoing SMS messages in the form of an outgoing_package message in
Далее, из блока 2 агрегатора высылают в блок 3 оператора исходящее сообщение 14, предназначенное для абонента, в виде запроса «submit_sm». После получения из блока 3 оператора отчета 15 о получении исходящего сообщения в виде сообщения «submit_sm_resp», в блоке 2 агрегатора формируют и передают блок 1 контент-провайдеру пакет 16 с результатами отправки оператору пакета исходящих SMS-сообщений в виде сообщения «send_result_package».Next, from the
При этом сообщению «send_result_package» присваивают уникальный идентификатор, адрес отправки и адрес приема. Агрегатор повторяет отправку сообщения «send__result_package» до момента подтверждения доставки.In this case, the message “send_result_package” is assigned a unique identifier, a send address and a receive address. The aggregator repeats sending the message "send__result_package" until the delivery is confirmed.
В блоке 1 контент-провайдера для подтверждения получения пакета 16 с результатами отсылки SMS-сообщений в виде сообщения «send_result_package» формируют и направляют в блок 2 агрегатора уведомление 17 о получении пакета с результатами отправки оператору исходящих сообщений в виде сообщения «send_result_package_ack» (по одному на каждое полученное сообщение в виде «send_result_package»).In
При всех пересылках сообщению «send_result_package» соответствует один и тот же уникальный идентификатор.For all transfers, the message "send_result_package" corresponds to the same unique identifier.
Далее из блоке 2 агрегатора передают сообщение с пакетом SMS-сообщений в блок 3 оператору в SMS-центр.Next, from
В блоке 3 оператора формируют и отправляют в блок 2 агрегатора отчет 18 о доставке SMS-сообщения до абонента в виде сообщения «delivery_sm_DR», после получения которого в блоке 2 агрегатора формируют ответное сообщение в виде уведомления 19 о получении отчета о доставке SMS-сообщения до абонента в виде сообщения «delivery_sm_resp_DR».In
В блоке 2 агрегатора формируют сообщение о результатах доставки SMS абоненту в виде пакета 20 с результатами доставки SMS-сообщений до абонента в виде сообщения «delivery_receipt_package», включающего адрес отправки, адрес приема и уникальный идентификатор. При этом из блока 2 агрегатора повторяют доставку сообщения вида «delivery_receipt_package» в блок 1 контент-провайдера до подтверждения получения.In
В блоке 1 контент-провайдера формируют и направляют в блок 2 агрегатора уведомление 21 о получении пакета с результатами доставки SMS-сообщений до абонента в виде сообщения «delivery_receipt_package_ack» (по одному на каждое полученное сообщение «delivery_receipt_package»). Каждое сообщение вида «delivery_receipt_package_ack» содержится уникальный идентификатор соответствующего сообщения «delivery_receipt_package», адрес отправки и адрес приема. При всех повторных посылках у сообщения «delivery_receipt_package» сохранятся один и тот же уникальный идентификатор.In
Агрегатор передает Контент-провайдеру серию входящих SMS от абонентов сообщение в виде пакета 24 «incoming_package». Каждое сообщение «incoming_package» имеет уникальный идентификатор, адрес отправки и адрес приема. Агрегатор повторяет доставку сообщения «incoming_package» Контент-провайдеру до того момента, пока от Контент-провайдера не будет получено подтверждение в виде сообщения 25 «incoming_package_ack». При всех перепосылках сообщению «incoming_package» соответствует один тот же уникальный идентификатор.The aggregator transmits a series of incoming SMS messages from subscribers to the Content Provider in the form of
При этом Агрегатор не отвечает за склейку SMS, которые являются частями длинного входящего сообщения. Поэтому разные части одного длинного входящего сообщения могут размещаться в разных «incoming_package».At the same time, the Aggregator is not responsible for gluing together SMS, which are parts of a long incoming message. Therefore, different parts of one long incoming message can be placed in different "incoming_package".
Конкретный входящий SMS должен передаваться Контент-провайдеру только в одном сообщении вида «incommg_package». Если Агрегатор получил от Контент-провайдера сообщение 25 «incommg_package_ack», то входящие SMS из подтвержденного сообщения 24 «mcoming_package» не должны больше встречаться в новых сообщениях «incoming_package».A specific incoming SMS should be transmitted to the Content Provider in only one message of the type “incommg_package”. If the Aggregator received
Передача Агрегатором входящих SMS-сообщений от абонента SMS-центра контент-провайдеру осуществляется следующим образом.Transfer by the Aggregator of incoming SMS messages from the subscriber of the SMS center to the content provider is as follows.
Агрегатор получает сообщения 22 от SMS-центра «deliver_sm_IN», формирует пакет сообщений и передает Контент-провайдеру пакет сообщений в виде сообщения 24 «incoming_package».The aggregator receives
Контент-провайдер при получении сообщения «incoming_package», формирует и направляет Агрегатору подтверждение в виде сообщения 23 «incoming_package_ack» (по одному на каждое полученное «incoming_package»). Каждому сообщению «incoming_package_ack» присваивают уникальный идентификатор из соответствующего сообщения «incoming_package», кроме того оно включает адрес отправки и адрес приема.Upon receipt of the “incoming_package” message, the content provider generates and sends to the Aggregator a confirmation in the form of
Проверка работоспособности канала связи осуществляется следующим образом:Check the operability of the communication channel as follows:
Для проверки работоспособности канала связи Агрегатором либо Контент-провайдером формируется сообщение «ping». Его периодически отправляют при отсутствии пакетов передачи для определения состояния канала связи. Каждому сообщению вида «ping» присваивают уникальный идентификатор.To check the operability of the communication channel by the Aggregator or the Content provider, a “ping” message is generated. It is periodically sent in the absence of transmission packets to determine the status of the communication channel. Each ping message is assigned a unique identifier.
На каждое полученное сообщение вида «ping» отсылают один ответ в виде «ping_ack» В сообщении «ping_ack» включают уникальный идентификатор из соответствующего запросного сообщения вида «ping».One ping_ack reply is sent to each received ping message. A unique identifier from the corresponding request message of the ping type is included in the ping_ack message.
Пример формирования запросов и сообщений с использованием TLV-протокола. TLV (Tag, Length, Value) - это способ двоичного представления информации, в котором каждый значимый блок информации представлен в виде тройки из:An example of generating requests and messages using the TLV protocol. TLV (Tag, Length, Value) is a method of binary presentation of information, in which each significant block of information is represented as a triple of:
1. Идентификатора блока (Tag). Идентификатор является уникальным в рамках текущего контекста, что позволяет однозначно определить, какие данные содержатся в данном блоке.1. The identifier of the block (Tag). The identifier is unique within the current context, which allows you to uniquely determine what data is contained in this block.
2. Длины значения (Length). Количество байт в поле Value.2. Lengths of the value (Length). The number of bytes in the Value field.
3. Значения (Value). Двоичное представление информации блока. Точный способ интерпретации значения зависит от типа информации (т.е. от значения Tag). Поле Value в TLV представлении может быть:3. Values. Binary representation of block information. The exact way to interpret the value depends on the type of information (i.e., on the Tag value). The Value field in the TLV representation can be:
- элементарным единичным значением (например, строкой "Hello, world");- an elementary unit value (for example, the string "Hello, world");
- составным значением, состоящим из последовательности TLV-блоков;- a composite value consisting of a sequence of TLV blocks;
- пустым. В это случае Length равен нулю и физически поле Value в TLV-блоке отсутствует.- empty. In this case, the Length is zero and physically the Value field in the TLV block is absent.
Claims (8)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
RU2012119995/07A RU2498529C1 (en) | 2012-05-15 | 2012-05-15 | Method for interaction of content provider system with sms message packet transmission aggregator |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
RU2012119995/07A RU2498529C1 (en) | 2012-05-15 | 2012-05-15 | Method for interaction of content provider system with sms message packet transmission aggregator |
Publications (1)
Publication Number | Publication Date |
---|---|
RU2498529C1 true RU2498529C1 (en) | 2013-11-10 |
Family
ID=49683372
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
RU2012119995/07A RU2498529C1 (en) | 2012-05-15 | 2012-05-15 | Method for interaction of content provider system with sms message packet transmission aggregator |
Country Status (1)
Country | Link |
---|---|
RU (1) | RU2498529C1 (en) |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1566980A1 (en) * | 2004-02-23 | 2005-08-24 | Siemens Aktiengesellschaft | Method for transmitting data within a base station of a portable radio system and corresponding base station |
US7409428B1 (en) * | 2003-04-22 | 2008-08-05 | Cooper Technologies Company | Systems and methods for messaging to multiple gateways |
UA40677U (en) * | 2008-10-13 | 2009-04-27 | Виктор Владимирович Концур | Method for provision of information services |
US7542472B1 (en) * | 1999-11-17 | 2009-06-02 | Nokia Corporation | Data transmission |
US7765300B2 (en) * | 2003-10-06 | 2010-07-27 | Ericsson Ab | Protocol for messaging between a centralized broadband remote aggregation server and other devices |
US20110165895A1 (en) * | 2009-12-18 | 2011-07-07 | Mark Ryan | System and method for electronic messaging with group sending, receiving, and replying capabilites |
RU2438267C2 (en) * | 2005-12-02 | 2011-12-27 | Боокит Ой Аянварауспалевелу | Bulk mailing method and system |
-
2012
- 2012-05-15 RU RU2012119995/07A patent/RU2498529C1/en not_active IP Right Cessation
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7542472B1 (en) * | 1999-11-17 | 2009-06-02 | Nokia Corporation | Data transmission |
US7409428B1 (en) * | 2003-04-22 | 2008-08-05 | Cooper Technologies Company | Systems and methods for messaging to multiple gateways |
US7765300B2 (en) * | 2003-10-06 | 2010-07-27 | Ericsson Ab | Protocol for messaging between a centralized broadband remote aggregation server and other devices |
EP1566980A1 (en) * | 2004-02-23 | 2005-08-24 | Siemens Aktiengesellschaft | Method for transmitting data within a base station of a portable radio system and corresponding base station |
RU2438267C2 (en) * | 2005-12-02 | 2011-12-27 | Боокит Ой Аянварауспалевелу | Bulk mailing method and system |
UA40677U (en) * | 2008-10-13 | 2009-04-27 | Виктор Владимирович Концур | Method for provision of information services |
US20110165895A1 (en) * | 2009-12-18 | 2011-07-07 | Mark Ryan | System and method for electronic messaging with group sending, receiving, and replying capabilites |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6424841B1 (en) | Short message service with improved utilization of available bandwidth | |
US7813745B2 (en) | Method for implementing a push service | |
US10567483B2 (en) | Method and apparatus for high performance low latency real time notification delivery | |
CN102469124B (en) | Based on the implementation method of the mobile Internet business of AOG, gateway, agency and system | |
CN104410982B (en) | Terminal polymerization and reconstructing method in a kind of Wireless Heterogeneous Networks | |
CN109510690B (en) | Method for transmitting messages, network component and computer-readable storage medium | |
US20230300726A1 (en) | Data processing method and apparatus, network element device, storage medium, and program product | |
WO2017133234A1 (en) | Data packet sending method, data packet receiving method, data packet sending device and data packet receiving device | |
CN101631127A (en) | File transfer method and clients | |
CA2834838C (en) | Sms-based transport for instant chatting on multiple platforms | |
CN101547214A (en) | Method and network side equipment for pushing inside data of enterprise | |
EP2899945B1 (en) | Method for an enhanced communication between a first network node and a second network node of a telecommunications network, and telecommunications network | |
RU2498529C1 (en) | Method for interaction of content provider system with sms message packet transmission aggregator | |
US8285252B2 (en) | Charging method, system and apparatus | |
CN1633096A (en) | A method of short message value-added service access | |
CN105553935B (en) | A kind of data package processing method, device and terminal | |
US8824300B2 (en) | System and method for using feedback to manage congestion in a network environment | |
WO2010009642A1 (en) | Method, system and device for implementing short message among enterprises | |
CN106487890A (en) | A kind of cross-node communication network requesting method based on XMPP | |
KR20030083428A (en) | Terminating Service System of 3GPP IMT-2000 Packet Network and System | |
CN101505464A (en) | System and method for sending short message through data network by mobile phone subscriber | |
EP2124413A1 (en) | System and method for carrying out communication between a server and a user equipment | |
CN103188612A (en) | System and method for short message group sending | |
CN103581312A (en) | Mobile Internet service implementation method, gateway, agent and system based on AOG | |
US11576013B2 (en) | Proxy gateway mediated internet-enabled data consumption over unstructured supplementary service data |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
MM4A | The patent is invalid due to non-payment of fees |
Effective date: 20140516 |