CN104394518B - A kind of note transmission method and SMS platform - Google Patents

A kind of note transmission method and SMS platform Download PDF

Info

Publication number
CN104394518B
CN104394518B CN201410219521.6A CN201410219521A CN104394518B CN 104394518 B CN104394518 B CN 104394518B CN 201410219521 A CN201410219521 A CN 201410219521A CN 104394518 B CN104394518 B CN 104394518B
Authority
CN
China
Prior art keywords
short message
service
sms platform
type
timer
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.)
Active
Application number
CN201410219521.6A
Other languages
Chinese (zh)
Other versions
CN104394518A (en
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.)
Elongnet Information Technology Beijing Co Ltd
Original Assignee
Elongnet Information Technology Beijing 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 Elongnet Information Technology Beijing Co Ltd filed Critical Elongnet Information Technology Beijing Co Ltd
Priority to CN201410219521.6A priority Critical patent/CN104394518B/en
Publication of CN104394518A publication Critical patent/CN104394518A/en
Application granted granted Critical
Publication of CN104394518B publication Critical patent/CN104394518B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The embodiment of the present invention, which provides a kind of note transmission method and SMS platform, the note transmission method, to be included:Obtain the type of service ID of SMS platform;Obtain the specific type of service rule that the SMS platform program user configures to the type of service ID;The specific type of service rule configured according to the SMS platform program user to the type of service ID, the technological means of the transmission of short message task corresponding to progress, so having reached following technique effect:1st, short message sending efficiency is improved, ensure that the stability of system;2nd, the scalability of system is improved, because system has the function of hot plug, new module mounting can be increased at any time and got on;3rd, convenient statistics short message serving rate and life short message sending amount.

Description

A kind of note transmission method and SMS platform
Technical field
The present invention relates to network technique field, more particularly to a kind of note transmission method and SMS platform.
Background technology
At present, there are many promotion classes inside some network platforms, show loving care for class short message to need to send, some needs are sent out in real time Send, some needs are disposably in high volume sent, and additionally need the rate that is sent to of statistics short message, and daily or every month short message hair Quantity is sent, in addition, the engineering department of general networking platform has a lot, each department business in need for sending short message, then How to ensure that the short message that each department sends has a unified control and managementIt is therefore desirable to develop one it is unified Platform carries out unified management and control, the i.e. unified SMS platform system of engineering department to the short message of each department.
SMS platform existing for prior art uses windows operating systems, using SQL-SERVER as database its Database, TCP/IP (transmission control protocol/Internet Protocol), serial ports can be used between his system and SMS platform COM RS232 interface modes connect.Database interface realizes user program and SMS platform by the database of a centre Communication, user only need target mobile phones and the transmission information content to be added to database when sending, SMS platform can timing scan Database, available data is sent out, is sent immediately, and transmission result is preserved in database.For the data received, SMS platform They can be automatically saved in database.But said short message platform can not keep the stability of short message sending, scalability Difference.
The content of the invention
The embodiment of the present invention provides a kind of note transmission method and SMS platform, can to keep the stability of short message sending Autgmentability is strong.
On the one hand, the embodiments of the invention provide a kind of note transmission method, the note transmission method to include:
Obtain the type of service ID of SMS platform;
Obtain the specific type of service rule that the SMS platform program user configures to the type of service ID;
The specific type of service rule configured according to the SMS platform program user to the type of service ID, enters The transmission of short message task corresponding to row.
Preferably, in an embodiment of the present invention, it is described according to the SMS platform program user to the service class The specific type of service rule of type ID configurations, the transmission of short message task corresponding to progress, including:According to the SMS platform journey The specific type of service rule that sequence user configures to the type of service ID, short message task corresponding to configuration;The short message is appointed Business includes:Type of service ID, passage, the bar number once sent, the bar number at most sent;Configure a timer;The timer Including:Specify an initial time, a cycle quantity, a cycle unit;The initial time be the now time or The past time, if the past time, the timer will come into force when following nearest a cycle reaches, and it acts on phase Include when in a time template, the cycle unit:Year, the moon, day, when, point, the second, millisecond;Short message task corresponding to will be described With the timer establish associate, with progress one can timing short message task transmission.
Preferably, in an embodiment of the present invention, it is described will it is described corresponding to short message task and the timer establish and close Connection, with carry out one can timing short message task transmission, including:Being repeated several times will the corresponding short message task and the timing Device establish association, with carry out one can timing short message task transmission.
Preferably, in an embodiment of the present invention, the SMS platform program user repaiies in the state of system operation Change the behavior of system;The principle that the behavior of the system is occured simultaneously by sky is abstracted out, and the behavior of the system can be combined Use, including:The judgement of blacklist is divided into:" being judged based on internal memory ", " being judged based on database ";Check that depth is divided into:" only examine Look into system-level blacklist ", " system blacklist and business blacklist ";The SMS platform is inverted using reflection technology and control IOC technologies, accomplish dynamic load and the execution of component;When a certain short message channel goes wrong, new short message is switched in time Passage is without the service of restarting.
Preferably, in an embodiment of the present invention, tables of data is taken row memory module to be stored by the SMS platform.
On the other hand, the embodiments of the invention provide a kind of SMS platform, the SMS platform to include:
Acquiring unit, for obtaining the type of service ID of SMS platform, and obtain the SMS platform program user couple The specific type of service rule of the type of service ID configurations;
Processor unit, it is specific for being configured according to the SMS platform program user to the type of service ID Type of service rule, the transmission of short message task corresponding to progress.
Preferably, in an embodiment of the present invention, the processor unit includes:Task configuration module, for according to institute The specific type of service rule that SMS platform program user configures to the type of service ID is stated, short message corresponding to configuration is appointed Business;The short message task includes:Type of service ID, passage, the bar number once sent, the bar number at most sent;Timer configuration mould Block, for configuring a timer;The timer includes:Specify an initial time, a cycle quantity, a cycle list Position;The initial time is the now time or past time, if the past time, the timer will it is following most Near a cycle comes into force when reaching, and it functions as a time template, and the cycle unit includes:Year, the moon, day, when, Point, the second, millisecond;Sending module is associated, is associated for the corresponding short message task to be established with the timer, to carry out one Can timing short message task transmission.
Preferably, in an embodiment of the present invention, the association sending module, being further used for multiplicating will be described right The short message task answered and the timer are established and associates, with progress one can timing short message task transmission.
Preferably, in an embodiment of the present invention, the SMS platform also includes:Unit is changed in behavior, is made for program The behavior of system is changed in the state of system operation with side;The principle that the behavior of the system is occured simultaneously by sky is abstracted out, The behavior of the system can be combined use, including:The judgement of blacklist is divided into:" being judged based on internal memory ", " is based on database Judge ";Check that depth is divided into:" only inspection system level blacklist ", " system blacklist and business blacklist ";Dynamic load is with holding Row unit, for using reflection technology and control reversion IOC technologies, accomplishing dynamic load and the execution of component;When a certain short message When passage goes wrong, new short message channel is switched in time without the service of restarting.
Preferably, in an embodiment of the present invention, the SMS platform also includes:Memory cell, for tables of data to be adopted Row memory module is taken to be stored.
Above-mentioned technical proposal has the advantages that:Because included using the note transmission method:Short message is obtained to put down The type of service ID of platform;Obtain the specific type of service that the SMS platform program user configures to the type of service ID Rule;The specific type of service rule configured according to the SMS platform program user to the type of service ID, is carried out The technological means of the transmission of corresponding short message task, so having reached following technique effect:1st, short message sending efficiency is improved, It ensure that the stability of system;2nd, the scalability of system is improved, because system has the function of hot plug, can be increased at any time New module is added to mount up;3rd, convenient statistics short message serving rate and life short message sending amount.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing There is the required accompanying drawing used in technology description to be briefly described, it should be apparent that, drawings in the following description are only this Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, can be with Other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 is a kind of note transmission method flow chart of the embodiment of the present invention;
Fig. 2 is a kind of SMS platform structural representation of the embodiment of the present invention;
Fig. 3 is processor unit structural representation of the embodiment of the present invention;
Fig. 4 is another kind SMS platform structural representation of the embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, rather than whole embodiments.It is based on Embodiment in the present invention, those of ordinary skill in the art are obtained every other under the premise of creative work is not made Embodiment, belong to the scope of protection of the invention.
The embodiment of the present invention provides a kind of note transmission method and SMS platform, can to keep the stability of short message sending Autgmentability is strong.
As shown in figure 1, being a kind of note transmission method flow chart of the embodiment of the present invention, the note transmission method includes:
101st, the type of service ID of SMS platform is obtained;
102nd, the specific type of service rule that the SMS platform program user configures to the type of service ID are obtained Then;
103rd, the specific type of service configured according to the SMS platform program user to the type of service ID is advised Then, the transmission of short message task corresponding to progress.
Preferably, the specific business configured according to the SMS platform program user to the type of service ID Typing rule, the transmission of short message task corresponding to progress, including:According to the SMS platform program user to the service class The specific type of service rule of type ID configurations, short message task corresponding to configuration;The short message task includes:Type of service ID, lead to Road, the bar number once sent, the bar number at most sent;Configure a timer;The timer includes:When specifying a starting Between, a cycle quantity, a cycle unit;The initial time is the now time or past time, if mistake The time gone, the timer will come into force when following nearest a cycle reaches, and it functions as a time template, institute Stating cycle unit includes:Year, the moon, day, when, point, the second, millisecond;Short message task corresponding to will be described and the timer, which are established, to close Connection, with carry out one can timing short message task transmission.
Preferably, described establish short message task corresponding to described with the timer associate, can timing with progress one The transmission of short message task, including:It is repeated several times to establish the corresponding short message task with the timer and associates, carries out one Can timing short message task transmission.
Preferably, the SMS platform program user changes the behavior of system in the state of system operation;The system The principle that the behavior of system is occured simultaneously by sky is abstracted out, and the behavior of the system can be combined use, including:Blacklist is sentenced It is disconnected to be divided into:" being judged based on internal memory ", " being judged based on database ";Check that depth is divided into:" only inspection system level blacklist ", " it is System blacklist and business blacklist ";The SMS platform accomplishes the dynamic of component using reflection technology and control reversion IOC technologies State is loaded and performed;When a certain short message channel goes wrong, new short message channel is switched in time without the service of restarting.
Preferably, tables of data is taken row memory module to be stored by the SMS platform.
Corresponding to above method embodiment, as shown in Fig. 2 be a kind of SMS platform structural representation of the embodiment of the present invention, The SMS platform includes:
Acquiring unit 21, for obtaining the type of service ID of SMS platform, and obtain the SMS platform program user To the specific type of service rule of type of service ID configurations;
Processor unit 22, it is specific for being configured according to the SMS platform program user to the type of service ID Type of service rule, the transmission of short message task corresponding to progress.
Preferably, as shown in figure 3, being processor unit structural representation of the embodiment of the present invention, the processor unit 22 Including:Task configuration module 221, it is specific for being configured according to the SMS platform program user to the type of service ID Type of service rule, short message task corresponding to configuration;The short message task includes:Type of service ID, passage, the bar once sent Number, the bar number at most sent;Timer configuration module 222, for configuring a timer;The timer includes:Specify one Initial time, a cycle quantity, a cycle unit;The initial time is the now time or past time, such as Fruit is the past time, and the timer will come into force when following nearest a cycle reaches, and it functions as a time Template, the cycle unit include:Year, the moon, day, when, point, the second, millisecond;Sending module 223 is associated, corresponding to will be described Short message task and the timer are established and associates, with progress one can timing short message task transmission.
Preferably, the association sending module 223, being further used for multiplicating will the corresponding short message task and institute State timer establish association, with carry out one can timing short message task transmission.
Preferably, as shown in figure 4, being another kind SMS platform structural representation of the embodiment of the present invention, the SMS platform Not only include:Acquiring unit 21, processor unit 22, the SMS platform also include:Unit 23 is changed in behavior, is made for program The behavior of system is changed in the state of system operation with side;The principle that the behavior of the system is occured simultaneously by sky is abstracted out, The behavior of the system can be combined use, including:The judgement of blacklist is divided into:" being judged based on internal memory ", " is based on database Judge ";Check that depth is divided into:" only inspection system level blacklist ", " system blacklist and business blacklist ";Dynamic load is with holding Row unit 24, for using reflection technology and control reversion IOC technologies, accomplishing dynamic load and the execution of component;When a certain short When letter passage goes wrong, new short message channel is switched in time without the service of restarting.
Preferably, the SMS platform also includes:Memory cell 25, for taking row memory module to be deposited tables of data Storage.
Above-mentioned technical proposal of the embodiment of the present invention has the advantages that:Because using the service class for obtaining SMS platform Type ID;Obtain the specific type of service rule that the SMS platform program user configures to the type of service ID;According to The specific type of service rule that the SMS platform program user configures to the type of service ID, short message corresponding to progress The technological means of the transmission of task, so having reached following technique effect:1st, short message sending efficiency is improved, ensure that system Stability;2nd, the scalability of system is improved, because system has the function of hot plug, new module can be increased at any time Mounting is got on;3rd, convenient statistics short message serving rate and life short message sending amount.
Such scheme of the present invention is described in detail with application example below:
The complete content of application example technical scheme of the present invention:
The open system of self-description type.The definition of the open service rule:Business is defined by the user of program Rule.The definition of business rule is deferred to the service stage of software, rather than traditional demand stage as far as possible.Such as " business The definition of type ", it is not have in all senses in the present system just to have started " type of service ", only an integer.Only After program user is configured with specific " type of service rule ", " type of service " just becomes significant, also and original System is associated.
Citing:
Function --- the short message of the UNICOM of the birthday class of air ticket is sent to passage 2 at 7 points every night.Now it is initially configured, it is first false If having ' phone number ' in original short message table, ' department ' (website, air ticket, hotel etc), ' small type of service ' (birthday is short Letter etc) these fields.
The first step:User's definition " type of service rule " the, that is to say, that define " business that a system can identify Type " ID, application example of the present invention aid in describing with two tables.
The type of service ID of described the system is shown in such as table 1 below:
Traffic ID ... other fields ..
1
Table 1
The business rule, which describes table (being used for further describing the ID that upper table defines), to be seen such as table 2 below:
Table 2
Due to the time, plus the system demand, not very complexity, the description of the business rule of the system design in itself And not enough specialty, professional way are individually to describe traffic profile with a kind of business description language, for example (one kind is ruby The OOP (Object-oriented Programming Design) of simple and fast and the script created) script.This and Siebel (are The protrusion supplier of E-business Software) it is similar, siebel is oneself to have made a business description script to measure (siebel applications are most of to be programmed, and can be completed by configuring, to special demand, be described with script)
Second step:One task of configuration (including type of service, passage, the bar number once sent, may be used also if desired The bar number at most sent with adding), see such as table 3 below:
Task ID Task names Traffic ID Passage ID The bar number once sent
123 Test 1 2 2000
124 Standby task 1 3 2000
Table 3
3rd step:One timer of configuration (specifies an initial time, a cycle quantity, a cycle unit, starting It can also be the past time now time that time, which can be, if the past time, timer is by following nearest A cycle comes into force when reaching, and it functions as a time template, and cycle unit can be year, the moon, day, when, point, the second, Millisecond), see such as table 4 below:
Table 4
4th step:Configuration one can the task of timing (activation task, task and timer are established and associated, can repeatedly be weighed Compounding is put), see such as table 5 below:
Table 5
Configuration above is legal configuration, effectively can be all activated.
Program user can change the behavior of system in the state of system operation.The behavior of system is all by empty common factor Principle is abstracted out, and these behaviors, which can be combined, to be used;Such as:
The judgement of blacklist is divided into:" being judged based on internal memory ", " being judged based on database ".
Check that depth is divided into:" only inspection system level blacklist ", " system blacklist and business blacklist ".
The behavior that can be combined is shown in such as table 6 below:
Table 6
System uses the 2nd kind of scheme at present.Simply database does not do the configuration of service level filtering, because previously can not " type of service " that description the system can identify;When other combinations are needed to use, only configuration file, system need to be changed Fresh information will be injected internal memory.Injection mode uses DI (digital quantity input) technology, is not to set switching variable, institute Will not have an impact to performance, the reading of source code is nor affected on, it is not required that the system of being known a priori by there are those behaviors.
The hot plug technology of supporting assembly:If the change of essence occurs for business rule, original system can not describe.Open Hair personnel will add a new component, then change configuration information, and system will be automatically imported new component, replace original group Part, in principle component can be present in any form in any physical environment that can be accessed.Due to time relationship, the system It is introduced only into local DLL (Dynamic Link Library, dynamic link library) component.Inverted using reflection technology and control IOC technologies, accomplish dynamic load and the execution of component.
Row memory module:1st, define:Page is the base unit of data storage, and data row is the storage list of real data Position, they begin to be sequentially stored on Page after PageHeader.It is this by row on Page in the way of stored record It is exactly row storage.It is exactly so-called row storage when data are to carry out Coutinuous store by single-row rather than multirow.Advantage:Disk Each Page only store the value from single-row value, rather than full line.Therefore, compression algorithm can be more efficient, because it Can act on the data of same type.For example it is assumed that there is a table for having 3 column datas, this 3 row be successively from left to right int, Varchar and bool types, and the table has 100 (OK) records.The first column data for being all int types, using pressure Compression algorithm is that easily, while compression ratio also can be very high.This also will indicate that, it is not necessary to access all row of the table, it is only necessary to access The subset of related column interested, this is on the other hand, it is possible to reduce I/O, the lifting caching of disk, therefore, disk is deposited Storage can by more efficiently low utilization, just as index maintenance.
Cardinal principle:Divide column data form:The data of a row are grouped and stored every time.SQL Server are inquired about Processing can utilize new data layout, and significantly improve the query execution time.Accelerate Query Result:Row storage index due to Lower reason and can quickly generate result:(1) row of needs need only be read.Therefore, read in internal memory from disk and then from internal memory The data volume moved on in processor cache reduces.(2) row have passed through high compression.This will reduce the word that must be read and move Joint number.(3) most of inquiries can't be related to all row in table.Therefore, many row never enter internal memory.This point is with going out The compression method of color is combined, and can improve buffer pool utilization rate, so as to reduce total I/O.(4) advanced inquiry performs technology with simplification Method processing row block (being referred to as " batch processing "), so as to reduce CPU usage.
The calculating of some expression formulas will be than other expression formulas faster:When using storage index is arranged, batch processing mould should be used Some common expression formulas are calculated, without being calculated with the pattern an of a line.Except excellent caused by storage index using arranging Outside gesture, batch mode will also provide other inquiry acceleration effects.Each inquiry is not enabled for batch mode processing to hold Row operator.Row storage index does not support SEEK:If the sub-fraction of return rows, the unlikely selection of optimizer are answered in inquiry Row storage index (such as:Needle-in-the-haystack, type queries).It is excellent if prompting FORCESEEK using table Row storage index will not be considered by changing device.Row storage index can not be used in combination with following functions:Page and row compression and Vardecimal storage formats (row storage index is compressed using different-format), replicate, change tracking, change data capture, File stream.
As can be seen here, application example SMS platform of the present invention:
1st, the open system of self-description type
Such a framework has the advantage that the flexibility for ensuring system, reduces the coupling of the system and peripheral system to greatest extent Conjunction property, reduce the coupling of internal system inter-module.
2nd, the definition of open system behavior
Program user changes the behavior of system in the state of system operation.The behavior of system is all by the empty principle occured simultaneously It is abstracted out, these behaviors, which can be combined, to be used.
3rd, when simultaneously You Duojia short messages supplier shielding word be sent to sms (short message) platform shielding vocabulary when, put down Platform takes the filtering that the mode of union is preserved and will repeated:Such as there are three suppliers vender1, vender2, vender3 same When to sms shielding vocabulary be respectively transmitted respective shielding word, finally take they union and by repeat data filtering fall, herein On the basis of, the shielding word of oneself can also be added.
4th, mass-sending (can be sent to multiple numbers) is supported
Support timing group-sending (can set different time points be transmitted, similar to plan target).
The batch of number is supported to import (as supported TXT, csv (Comma Separated Value, comma separated value) lattice Formula imports).
5th, operation history audit trail function
The short message of transmission each time of SMS platform has been required to historical operation information record, such as show cell-phone number, order number, Date of operation, ip addresses, operator, remark information etc., it can easily carry out audit trail.
6th, passage configuration and switching, when a certain short message channel goes wrong, can be switched to new short message channel in time and Service need not be restarted.
7th, message monitoring early warning interface interchange can additionally be carried out.
The open system of application example self-description type of the present invention, has the advantage that the flexibility for ensuring system, most Limits reduce the coupling of the system and peripheral system, reduce the coupling of internal system inter-module.Improve short message sending Efficiency, it ensure that the stability of system;The scalability of system is improved, because system has the function of hot plug, Ke Yisui Module mounting new Shi Zengjia is got on;Convenient statistics short message serving rate and life short message sending amount;A certain short message channel goes wrong When, new short message channel can be switched in time without the service of restarting;Using hot plug technology, can be dynamically System injects new module;Using tables of data row memory module, it is possible to reduce I/O, the lifting caching of disk, therefore, disk storage Can be by more efficiently low utilization.
Those skilled in the art will also be appreciated that the various illustrative components, blocks that the embodiment of the present invention is listed (illustrative logical block), unit, and step can pass through the knot of electronic hardware, computer software, or both Conjunction is realized.To clearly show that the replaceability of hardware and software (interchangeability), above-mentioned various explanations Property part (illustrative components), unit and step universally describe their function.Such work( Can be that specific application and the design requirement of whole system are depended on to realize by hardware or software.Those skilled in the art Various methods can be used to realize described function, but this realization is understood not to for every kind of specific application Beyond the scope of protection of the embodiment of the present invention.
Various illustrative logical blocks described in the embodiment of the present invention, or unit can by general processor, Digital signal processor, application specific integrated circuit (ASIC), field programmable gate array or other programmable logic devices, discrete gate Or the design of transistor logic, discrete hardware components, or any of the above described combination is come the function described by realizing or operate.General place It can be microprocessor to manage device, and alternatively, the general processor can also be any traditional processor, controller, microcontroller Device or state machine.Processor can also be realized by the combination of computing device, such as digital signal processor and microprocessor, Multi-microprocessor, one or more microprocessors combine a Digital Signal Processor Core, or any other like configuration To realize.
The step of method or algorithm described in the embodiment of the present invention can be directly embedded into hardware, computing device it is soft Part module or the combination of both.Software module can be stored in RAM memory, flash memory, ROM memory, EPROM storages Other any form of storaging mediums in device, eeprom memory, register, hard disk, moveable magnetic disc, CD-ROM or this area In.Exemplarily, storaging medium can be connected with processor, to allow processor to read information from storaging medium, and Write information can be deposited to storaging medium.Alternatively, storaging medium can also be integrated into processor.Processor and storaging medium can To be arranged in ASIC, ASIC can be arranged in user terminal.Alternatively, processor and storaging medium can also be arranged at use In different parts in the terminal of family.
In one or more exemplary designs, above-mentioned function described by the embodiment of the present invention can be in hardware, soft Part, firmware or any combination of this three are realized.If realized in software, these functions can store and computer-readable On medium, or with one or more instruction or code form be transmitted on the medium of computer-readable.Computer readable medium includes electricity Brain storaging medium and it is easy to so that allowing computer program to be transferred to other local telecommunication medias from a place.Storaging medium can be with It is that any general or special computer can be with the useable medium of access.For example, such computer readable media can include but It is not limited to RAM, ROM, EEPROM, CD-ROM or other optical disc storage, disk storage or other magnetic storage devices, or other What can be used for carrying or store with instruct or data structure and it is other can be by general or special computer or general or specially treated The medium of the program code of device reading form.In addition, any connection can be properly termed computer readable medium, example Such as, if software is to pass through a coaxial cable, fiber optic cables, double from a web-site, server or other remote resources Twisted wire, Digital Subscriber Line (DSL) or with defined in being also contained in of the wireless way for transmitting such as infrared, wireless and microwave In computer readable medium.Described disk (disk) and disk (disc) include Zip disk, radium-shine disk, CD, DVD, floppy disk And Blu-ray Disc, disk is generally with magnetic duplication data, and disk generally carries out optical reproduction data with laser.Combinations of the above It can also be included in computer readable medium.
Above-described embodiment, the purpose of the present invention, technical scheme and beneficial effect are carried out further Describe in detail, should be understood that the embodiment that the foregoing is only the present invention, be not intended to limit the present invention Protection domain, within the spirit and principles of the invention, any modification, equivalent substitution and improvements done etc., all should include Within protection scope of the present invention.

Claims (8)

1. a kind of note transmission method, it is characterised in that the note transmission method includes:
Obtain the type of service ID of SMS platform;
Obtain the specific type of service rule that the SMS platform program user configures to the type of service ID;
The specific type of service rule configured to the type of service ID according to the SMS platform program user, is carried out pair The transmission for the short message task answered;
The specific type of service rule configured according to the SMS platform program user to the type of service ID, enters The transmission of short message task corresponding to row, including:
The specific type of service rule configured according to the SMS platform program user to the type of service ID, configuration pair The short message task answered;The short message task includes:Type of service ID, passage, the bar number once sent, the bar number at most sent;
Configure a timer;The timer includes:Specify an initial time, a cycle quantity, a cycle unit;Institute It is the now time or past time to state initial time, if the past time, the timer is by following nearest A cycle comes into force when reaching, and it functions as a time template, and the cycle unit includes:Year, the moon, day, when, point, Second, millisecond;
Short message task corresponding to described is established with the timer and associate, with progress one can timing short message task transmission.
2. note transmission method as claimed in claim 1, it is characterised in that it is described will it is described corresponding to short message task and described fixed When device establish association, with carry out one can timing short message task transmission, including:
Be repeated several times will it is described corresponding to short message task and the timer establish and associate, with progress one can timing short message task Transmission.
3. note transmission method as claimed in claim 1 or 2, it is characterised in that the SMS platform program user is in system The behavior of system is changed in the state of operation;The principle that the behavior of the system is occured simultaneously by sky is abstracted out, the system Behavior can be combined use, including:The judgement of blacklist is divided into:" being judged based on internal memory ", " being judged based on database ";Check Depth is divided into:" only inspection system level blacklist ", " system blacklist and business blacklist ";
The SMS platform accomplishes dynamic load and the execution of component using reflection technology and control reversion IOC technologies;When a certain When short message channel goes wrong, new short message channel is switched in time without the service of restarting.
4. note transmission method as claimed in claim 3, it is characterised in that
Tables of data is taken row memory module to be stored by the SMS platform.
5. a kind of SMS platform, it is characterised in that the SMS platform includes:
Acquiring unit, for obtaining the type of service ID of SMS platform, and the SMS platform program user is obtained to described The specific type of service rule of type of service ID configurations;
Processor unit, for the specific business configured according to the SMS platform program user to the type of service ID Typing rule, the transmission of short message task corresponding to progress;
The processor unit includes:
Task configuration module, for the specific industry configured according to the SMS platform program user to the type of service ID Service type rule, short message task corresponding to configuration;The short message task includes:Type of service ID, passage, the bar number once sent, The bar number at most sent;
Timer configuration module, for configuring a timer;The timer includes:Specify an initial time, a cycle Quantity, a cycle unit;The initial time is the now time or past time, should if the past time Timer will come into force when following nearest a cycle reaches, and it functions as a time template, the cycle unit Including:Year, the moon, day, when, point, the second, millisecond;
Sending module is associated, is associated for the corresponding short message task to be established with the timer, can timing to carry out one Short message task transmission.
6. SMS platform as claimed in claim 5, it is characterised in that
The association sending module, being further used for multiplicating will the corresponding short message task and timer foundation pass Connection, with carry out one can timing short message task transmission.
7. the SMS platform as described in claim 5 or 6, it is characterised in that the SMS platform also includes:
Unit is changed in behavior, changes the behavior of system in the state of system operation for program user;The row of the system Principle to occur simultaneously by sky is abstracted out, and the behavior of the system can be combined use, including:The judgement of blacklist point For:" being judged based on internal memory ", " being judged based on database ";Check that depth is divided into:" only inspection system level blacklist ", " system is black List and business blacklist ";
Dynamic load and execution unit, for using reflection technology and control reversion IOC technologies, accomplish the dynamic load of component with Perform;When a certain short message channel goes wrong, new short message channel is switched in time without the service of restarting.
8. SMS platform as claimed in claim 7, it is characterised in that the SMS platform also includes:
Memory cell, for taking row memory module to be stored tables of data.
CN201410219521.6A 2014-05-22 2014-05-22 A kind of note transmission method and SMS platform Active CN104394518B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410219521.6A CN104394518B (en) 2014-05-22 2014-05-22 A kind of note transmission method and SMS platform

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410219521.6A CN104394518B (en) 2014-05-22 2014-05-22 A kind of note transmission method and SMS platform

Publications (2)

Publication Number Publication Date
CN104394518A CN104394518A (en) 2015-03-04
CN104394518B true CN104394518B (en) 2018-04-06

Family

ID=52612343

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410219521.6A Active CN104394518B (en) 2014-05-22 2014-05-22 A kind of note transmission method and SMS platform

Country Status (1)

Country Link
CN (1) CN104394518B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106454777A (en) * 2016-10-11 2017-02-22 福建方维信息科技有限公司 Method and system for sending short message based on fourth-party short message platform
CN106658446B (en) * 2016-12-29 2020-04-24 江西博瑞彤芸科技有限公司 Statistical analysis method for short message
CN109996193B (en) * 2017-12-29 2021-08-10 中国移动通信集团北京有限公司 Short message sending method, device, system and equipment based on intelligent communication platform
CN111107504B (en) * 2019-12-31 2022-04-26 苏州极易科技股份有限公司 E-commerce customer care short message pushing method based on big data

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102004990A (en) * 2010-10-29 2011-04-06 西本新干线股份有限公司 Short message sending method adapted to short message management system
CN102364967A (en) * 2011-11-21 2012-02-29 携程计算机技术(上海)有限公司 Short message transmission method and system
CN102892090A (en) * 2012-09-11 2013-01-23 北京中创信测科技股份有限公司 Personalized service short message publication method and system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102004990A (en) * 2010-10-29 2011-04-06 西本新干线股份有限公司 Short message sending method adapted to short message management system
CN102364967A (en) * 2011-11-21 2012-02-29 携程计算机技术(上海)有限公司 Short message transmission method and system
CN102892090A (en) * 2012-09-11 2013-01-23 北京中创信测科技股份有限公司 Personalized service short message publication method and system

Also Published As

Publication number Publication date
CN104394518A (en) 2015-03-04

Similar Documents

Publication Publication Date Title
CN104394518B (en) A kind of note transmission method and SMS platform
CN106547766A (en) A kind of data access method and device
CN105164674A (en) Queries involving multiple databases and execution engines
CN106227666B (en) A kind of automated testing method and system based on big data
CN106599164A (en) Support for a parameterized query/view in complex event processing
CN106126540A (en) Data base access system and access method thereof
CN102722381A (en) Techniques to optimize upgrade tasks
CN111258978A (en) Data storage method
CN107103064A (en) Data statistical approach and device
CN106372266A (en) Cache and accessing method of cloud operation system based on aspects and configuration documents
EP2965492B1 (en) Selection of data storage settings for an application
CN102760096A (en) Test data generation method, unit testing method and unit testing system
CN109767274B (en) Method and system for carrying out associated storage on massive invoice data
CN110378778A (en) Multi-data source account checking method, system, electronic equipment and storage medium
CN110399309A (en) A kind of test data generating method and device
CN104461929B (en) Distributed data cache method based on blocker
CN108959307A (en) Expansible data reporting method, system and storage medium
CN109885642A (en) Classification storage method and device towards full-text search
CN105045789A (en) Game server database buffer memory method and system
CN106649800A (en) Solr-based Chinese search method
CN101621396B (en) Single board automatic management device and method
CN107729375A (en) A kind of method and device of daily record data sequence
CN102693182A (en) Repository mode using test-driven development in MVC (model view controller)
CN109783163A (en) A kind of data interactive method and platform based on multidimensional data variable
CN103501341A (en) Method and device for establishing Web service

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant