CN104378746A - Short message sending method and system - Google Patents

Short message sending method and system Download PDF

Info

Publication number
CN104378746A
CN104378746A CN201310585520.9A CN201310585520A CN104378746A CN 104378746 A CN104378746 A CN 104378746A CN 201310585520 A CN201310585520 A CN 201310585520A CN 104378746 A CN104378746 A CN 104378746A
Authority
CN
China
Prior art keywords
server
short message
receiving terminal
content
message
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201310585520.9A
Other languages
Chinese (zh)
Inventor
何大红
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Cheerbright Technologies Co Ltd
Original Assignee
Beijing Cheerbright Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Cheerbright Technologies Co Ltd filed Critical Beijing Cheerbright Technologies Co Ltd
Priority to CN201310585520.9A priority Critical patent/CN104378746A/en
Publication of CN104378746A publication Critical patent/CN104378746A/en
Priority to HK15104013.8A priority patent/HK1203734A1/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/12Messaging; Mailboxes; Announcements
    • H04W4/14Short messaging services, e.g. short message services [SMS] or unstructured supplementary service data [USSD]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/50Queue scheduling
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/10Flow control between communication endpoints
    • H04W28/14Flow control between communication endpoints using intermediate storage
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/58Message adaptation for wireless communication

Abstract

The invention provides a short message sending method and system. The short message sending method comprises the steps that S1, a transit server is set, wherein the transit server comprises a first server and a second server; S2, the first server invokes short message contents to be sent in all application systems according to a preset rule, wherein the short message contents carry receiving end IDs; S3, the first server sequentially stores the invoked short message contents in message queues according to an invoking time sequence; S4, the second server sequentially processes the short message contents stored in the message queues. The traditional transit server is split into two servers, namely the first server and the second server, the first server and the second server transmit data in a message queue mode, accordingly a function of concurrently processing multiple short messages of the transit server is improved, and the short message processing efficiency of the transit server is effectively improved.

Description

Note transmission method and system
Technical field
The invention belongs to communication technical field, be specifically related to a kind of note transmission method and system.
Background technology
Along with developing rapidly of the communication technology, send note by terminal equipments such as mobile phones, become one of important way of people's communication.
Existing short message sending flow process is: transmitting terminal mobile phone and receiving terminal mobile phone carry out information interaction by transfer server; Concrete, when transmitting terminal mobile phone needs to send a note to receiving terminal mobile phone, first receive this note by transfer server by serial ports, then transfer server forwards this note by serial ports to receiving terminal mobile phone.
The main deficiency that said short message transmission flow exists is: all carry out information interaction by serial ports due to transfer server and between transmitting terminal mobile phone and receiving terminal mobile phone, therefore, transfer server is only after being forwarded to receiving terminal mobile phone by a note, the note that next transmitting terminal mobile phone sends could be processed, visible, transfer server does not support the function of concurrent processing many notes, has the deficiency that forwarding short message efficiency is lower.
Summary of the invention
For the defect that prior art exists, the invention provides a kind of note transmission method and system, server end supports the function of concurrent processing many notes, effectively improves server end note treatment effeciency.
The technical solution used in the present invention is as follows:
The invention provides a kind of note transmission method, comprise the following steps:
S1, arranges transfer server, and described transfer server comprises first server and second server;
S2, described first server calls in each application system the content of short message needing to send by preset rules; Wherein, receiving terminal ID is carried in described content of short message;
S3, described first server by the described content of short message that calls by allocating time sequencing successively stored in message queue;
S4, each bar content of short message stored in described second server processed in sequence message queue, for any content of short message, concrete processing method is:
Described second server reads described content of short message, based on receiving terminal ID, described content of short message is sent to corresponding receiving terminal.
Preferably, in S2, described application system comprises kernel business system system or intelligent mobile phone terminal system;
Described receiving terminal ID is: when receiving terminal is the equipment with call function, and receiving terminal ID is phone number;
When receiving terminal is the equipment with function of surfing the Net, receiving terminal ID is target web URL address.
Preferably, in S4, described content of short message is sent to corresponding receiving terminal by described second server, is specially:
Described second server is encoded to described content of short message, then the message after coding is sent to receiving terminal by PDU agreement.
Preferably, after S3, also comprise:
Described first server returns to described application system the notification message that note is successfully sent to message queue.
Preferably, after S4, also comprise:
S5, after receiving terminal successfully receives described content of short message, this short message is sent situation stored in database by described second server.
Preferably, described this short message sends situation and comprises: the allocating time that receiving terminal successfully receives time of content of short message, first server calls short message, send successful state information, content of short message and receiving terminal ID.
The present invention also provides a kind of short message sending system, comprises transfer server; Described transfer server comprises first server and second server;
Described first server is connected with each application system by web calling interface;
The output interface of described first server is connected by the input interface of message queue with described second server; The output interface of described second server is communicated with receiving device by communication network.
Note transmission method provided by the invention and system, have the following advantages:
Traditional transfer server is split as two servers: namely: first server and second server, mode by message queue between first server and second server transmits data, thus improve the function of transfer server concurrent processing many notes, effectively improve transfer server note treatment effeciency.
Accompanying drawing explanation
Fig. 1 is the schematic flow sheet of note transmission method provided by the invention;
Fig. 2 is the structural representation of short message sending system provided by the invention.
Embodiment
Below in conjunction with accompanying drawing, the present invention is described in detail:
As shown in Figure 1, the invention provides a kind of note transmission method, comprise the following steps:
S1, arranges transfer server, and transfer server comprises first server and second server;
S2, first server calls in each application system the content of short message needing to send by preset rules; Wherein, receiving terminal ID is carried in content of short message;
Wherein, application system includes but not limited to kernel business system system or intelligent mobile phone terminal system;
Receiving terminal ID is: when receiving terminal is the equipment with call function, as mobile phone, then receiving terminal ID is phone number; When receiving terminal is the equipment with function of surfing the Net, as computer, then receiving terminal ID is target web URL address.
S3, described first server by the described content of short message that calls by allocating time sequencing successively stored in message queue;
First server can be web server, and it calls the short message of a certain application system, and stored in message queue, can in the following ways:
Start the browser of web server, in its URL address field, input needs the page address of the application system read, additional cell-phone number and content of short message parameter, such as: following content can be inputted:
http://sms.club.api.autohome.com.cn/sendsms.ashx?mobile=13661355768£message=who。
Call successfully, returncode value returns 0, Msg parameter prompts " note is successfully sent to message queue ".
First server by content of short message stored in message queue after, can also comprise: first server returns to application system the notification message that note is successfully sent to message queue.Application system, after receiving this notification message, can discharge related resource, and perform other affairs, and not need to be in wait state always, until just will perform other affairs after short message sending to receiving terminal, thus improve application system execution efficiency.
S4, each bar content of short message stored in described second server processed in sequence message queue, for any content of short message, concrete processing method is:
Described second server reads described content of short message, based on receiving terminal ID, described content of short message is sent to corresponding receiving terminal.In specific implementation, can send in the following ways: second server is encoded to content of short message, then the message after coding is sent to receiving terminal by PDU agreement.
In the present invention, when adopting PDU protocol transmission message, three kinds of coded system: 7-bit codings, 8-bit coding and UCS2 coding can be used.
Wherein, 7-bit coding is for sending common ascii character; 8-bit coding is generally used for sending data-message, as picture or the tinkle of bells etc.; UCS2 coding is for sending Unicode character.Because the present invention will realize the transmission of Chinese short message in systems in which, so preferably adopt UCS2 coding, i.e. Chinese Unicode code.
UCS2 coding by the regulation of ISO/IEC10646, changes single character (1-2 byte) the Unicode wide character of 16 into.By single character conversion be by four ' 0 '-' 9 ', the character string that forms of the numeral of ' A '-' F ' and letter.Message to be sent sends with the form of UCS2 code.
Obtain Chinese Unicode code by UCS2 coding, then carry out the establishment sending PDU string.On the surface, PDU string is ASCII character string, equally by ' 0 '-' 9 ', these numerals of ' A '-' F ' and letter form, and are the hexadecimal numbers of octet, or binary-coded decimal decimal number.PDU string, except comprising sent message itself, also comprises other parameter information a lot, as destination number and coded system etc.The structure and arranged mode that send PDU string are now described with an example.
Example: 08 91 68,310,810,000,5F0 31 00 0D91 68,311,910,999,1F2 00 08C2 0660A8597DFF01.Concrete contrast is as shown in table 1:
Table 1PDU coding schedule
After S4, also comprise:
S5, after receiving terminal successfully receives described content of short message, this short message is sent situation stored in database by described second server.Wherein, this short message sends situation and includes but not limited to: the allocating time that receiving terminal successfully receives time of content of short message, first server calls short message, send successful state information, content of short message and receiving terminal ID.As shown in table 2, be the concrete example of one.
Table 2
In above process, main program is as follows:
As shown in Figure 2, the present invention also provides a kind of short message sending system, comprises transfer server; Described transfer server comprises first server and second server;
Described first server is connected with each application system by web calling interface;
The output interface of described first server is connected by the input interface of message queue with described second server; The output interface of described second server is communicated with receiving device by communication network.
Note transmission method provided by the invention and system, have the following advantages: traditional transfer server is split as two servers: namely: first server and second server, mode by message queue between first server and second server transmits data, thus improve the function of transfer server concurrent processing many notes, effectively improve transfer server note treatment effeciency.
The above is only the preferred embodiment of the present invention; it should be pointed out that for those skilled in the art, under the premise without departing from the principles of the invention; can also make some improvements and modifications, these improvements and modifications also should look protection scope of the present invention.

Claims (7)

1. a note transmission method, is characterized in that, comprises the following steps:
S1, arranges transfer server, and described transfer server comprises first server and second server;
S2, described first server calls in each application system the content of short message needing to send by preset rules; Wherein, receiving terminal ID is carried in described content of short message;
S3, described first server by the described content of short message that calls by allocating time sequencing successively stored in message queue;
S4, each bar content of short message stored in described second server processed in sequence message queue, for any content of short message, concrete processing method is:
Described second server reads described content of short message, based on receiving terminal ID, described content of short message is sent to corresponding receiving terminal.
2. note transmission method according to claim 1, is characterized in that, in S2, described application system comprises kernel business system system or intelligent mobile phone terminal system;
Described receiving terminal ID is: when receiving terminal is the equipment with call function, and receiving terminal ID is phone number;
When receiving terminal is the equipment with function of surfing the Net, receiving terminal ID is target web URL address.
3. note transmission method according to claim 1, is characterized in that, in S4, described content of short message is sent to corresponding receiving terminal by described second server, is specially:
Described second server is encoded to described content of short message, then the message after coding is sent to receiving terminal by PDU agreement.
4. note transmission method according to claim 1, is characterized in that, after S3, also comprises:
Described first server returns to described application system the notification message that note is successfully sent to message queue.
5. note transmission method according to claim 1, is characterized in that, after S4, also comprises:
S5, after receiving terminal successfully receives described content of short message, this short message is sent situation stored in database by described second server.
6. note transmission method according to claim 2, it is characterized in that, described this short message sends situation and comprises: the allocating time that receiving terminal successfully receives time of content of short message, first server calls short message, send successful state information, content of short message and receiving terminal ID.
7. a short message sending system, is characterized in that, comprises transfer server; Described transfer server comprises first server and second server;
Described first server is connected with each application system by web calling interface;
The output interface of described first server is connected by the input interface of message queue with described second server; The output interface of described second server is communicated with receiving device by communication network.
CN201310585520.9A 2013-11-19 2013-11-19 Short message sending method and system Pending CN104378746A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201310585520.9A CN104378746A (en) 2013-11-19 2013-11-19 Short message sending method and system
HK15104013.8A HK1203734A1 (en) 2013-11-19 2015-04-24 Method and system for sending message

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310585520.9A CN104378746A (en) 2013-11-19 2013-11-19 Short message sending method and system

Publications (1)

Publication Number Publication Date
CN104378746A true CN104378746A (en) 2015-02-25

Family

ID=52557339

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310585520.9A Pending CN104378746A (en) 2013-11-19 2013-11-19 Short message sending method and system

Country Status (2)

Country Link
CN (1) CN104378746A (en)
HK (1) HK1203734A1 (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050159175A1 (en) * 2002-06-07 2005-07-21 Yingping Zhou Radio remote control transmitted by short message of the mobile telephone system thereof
CN1885786A (en) * 2005-06-23 2006-12-27 腾讯科技(深圳)有限公司 Data updating system and method
CN101459627A (en) * 2008-04-07 2009-06-17 中兴通讯股份有限公司 Message management method
JP2010219979A (en) * 2009-03-18 2010-09-30 Fuji Electric Holdings Co Ltd Network system with relay server, the relay server, and program
CN102036195A (en) * 2010-12-08 2011-04-27 北京神州泰岳软件股份有限公司 Method and system for sending message at fixed time
CN102780985A (en) * 2012-08-14 2012-11-14 深圳市金立通信设备有限公司 System and method for automatically forwarding short message in short message setting

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050159175A1 (en) * 2002-06-07 2005-07-21 Yingping Zhou Radio remote control transmitted by short message of the mobile telephone system thereof
CN1885786A (en) * 2005-06-23 2006-12-27 腾讯科技(深圳)有限公司 Data updating system and method
CN101459627A (en) * 2008-04-07 2009-06-17 中兴通讯股份有限公司 Message management method
JP2010219979A (en) * 2009-03-18 2010-09-30 Fuji Electric Holdings Co Ltd Network system with relay server, the relay server, and program
CN102036195A (en) * 2010-12-08 2011-04-27 北京神州泰岳软件股份有限公司 Method and system for sending message at fixed time
CN102780985A (en) * 2012-08-14 2012-11-14 深圳市金立通信设备有限公司 System and method for automatically forwarding short message in short message setting

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
张峰: "《电力负荷管理技术》", 28 February 2005, 中国电力出版社 *
王黎明等: "《ARM9嵌入式系统开发与实践》", 31 October 2008, 北京航空航天大学出版社 *

Also Published As

Publication number Publication date
HK1203734A1 (en) 2015-10-30

Similar Documents

Publication Publication Date Title
CN103535004B (en) Method for promoting anonymity audio and video communication and system based on web
CN104243281B (en) Voice communication method based on mobile internet
CN102567125B (en) Method for realizing communication between browser pages
EP2437569A1 (en) Method and terminal for data transmission
CN108494817A (en) Data transmission method, relevant apparatus and system
CN104486327B (en) Communication means and client between the page and long connection server
CN103516673A (en) Network data communication method, network data communication system, network data communication client and network data communication server
CN104580097A (en) Data processing method, device and system
WO2012055134A1 (en) Method and system for group sending short message
CN108449262A (en) A kind of transmission method of instant communication data
CN108683653A (en) A kind of active message push system based on WebSocket
CN108696899A (en) Sip message transmits and method of reseptance and transmission and reception device
CN101631127A (en) File transfer method and clients
CN103888348B (en) E-mail applications system and electron post transmission method, device
CN101621763A (en) Method and corresponding device for displaying sender Chinese name at mobile phone terminal
CN105656994B (en) A kind of business acceleration method and device
CN105245464A (en) Network acceleration method based on Android system
CN104378746A (en) Short message sending method and system
CN106789578A (en) A kind of method and system of the automatic transmission wechat circle of friends based on cloud platform
CN109379342B (en) UDP network protocol-based upper computer and DSP data transmission method
CN101583103A (en) Transmitting or receiving method of short messages in text mode and device
KR101186544B1 (en) Message receiving device within specific application and method thereof
CN101316243A (en) Mail transmitting and receiving method, mail receiving and sending system
CN115379400B (en) Method and device for group short message receipt
CN102752847B (en) A kind of processing method of working application and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 1203734

Country of ref document: HK

RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20150225

REG Reference to a national code

Ref country code: HK

Ref legal event code: WD

Ref document number: 1203734

Country of ref document: HK