CN100461891C - System for processing numbers and processing method in service of sending grouped short message - Google Patents

System for processing numbers and processing method in service of sending grouped short message Download PDF

Info

Publication number
CN100461891C
CN100461891C CNB2006101541043A CN200610154104A CN100461891C CN 100461891 C CN100461891 C CN 100461891C CN B2006101541043 A CNB2006101541043 A CN B2006101541043A CN 200610154104 A CN200610154104 A CN 200610154104A CN 100461891 C CN100461891 C CN 100461891C
Authority
CN
China
Prior art keywords
information
section
short message
segment information
database
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.)
Expired - Fee Related
Application number
CNB2006101541043A
Other languages
Chinese (zh)
Other versions
CN1917667A (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CNB2006101541043A priority Critical patent/CN100461891C/en
Publication of CN1917667A publication Critical patent/CN1917667A/en
Application granted granted Critical
Publication of CN100461891C publication Critical patent/CN100461891C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The system thereof comprises: a web server connected to the client side; a database connected to the server, a broadcast device connected to the database for use in saving the number information provided by the task request of group-sending message into the zone mapping table of memory. The method includes the following steps: the broadcast device gets the numbers provided by the task request of group-sending message from database and saves them into memory; according to the parent zone information, extracting the number section information of each zone corresponding to parent zone from database; after comparing the number information to the number section information of each zone corresponding to the parent zone, the number information is saved into the zone mapping table and then is sent to the short message center.

Description

Number treatment system and processing method in the service of sending grouped short message
Technical field
The present invention relates to a kind of number treatment system and processing method, number treatment system and processing method in particularly a kind of service of sending grouped short message belong to the mobile communication technology field.
Background technology
Along with the development of mobile communication technology with popularize, mobile network and mobile phone terminal have become the information media of a new generation gradually, wide with the mobile advertisement service (WAD business) that short message way is propagated because of its range of publicity, be convenient to advantages such as the user receives, propaganda is convenient flexibly, and become a kind of novel propagate method gradually.
Advertising business need send the short message with ad content to a large amount of Subscriber Numbers usually, and in order to satisfy the needs of advertising business party in request, mobile operator sets up the short-message cluster-sending platform, realizes the short-message cluster-sending to destination number.
The major function of short-message cluster-sending platform is the mass-sending function of short message, comprising the customization of short message task, and the issuing of the processing of task number file and number file.As shown in Figure 1, structural representation for existing short-message cluster-sending platform, the short-message cluster-sending platform is made of the webserver (Web server), control centre, broadcasting equipment and database, wherein Web server can receive the assignment instructions of user by networking client (being the Web client) customization, the assignment instructions of these customizations mainly comprises three classes: the first kind is diffusing number that is kept in the database, and so-called diffusing number is discontinuous Subscriber Number; Second class is number section that is kept in the database, and the what is called section is the Subscriber Number of serial number, for example 1111,1112,1113,1114,1115}; The 3rd class is diffusing number that preserves hereof.The task correspondence of this three class different scheduling modes, and the customized task that the control centre receives according to Web server according to the difference of assignment instructions, obtains from database diffusing number or number section, perhaps obtains from file diffusing number; If be provided with blacklist in customized task, the promptly discontented foot of so-called blacklist is sent out the number that requires, and then according to this blacklist loosing number of reading out or number section is carried out number and rejects; Become the number file of a plurality of correspondences again according to the different disposal that issues the area.Then these number files are handed down to short message service center's (Short Message Center is called for short SMC) by broadcasting equipment by the synthesized gateway platform.
In the function of control centre realizes, the processing of destination number to the mass-sending task is very important operating process, need be with the number filtering that repeats, and with number according to ascending sequence arrangement, according to the number segment table of the each department in the database destination number is deposited according to the area again.In processing procedure, existing mode has adopted a kind of strategy of trading space for time, as shown in Figure 2, data structure schematic diagram for the existing number data in control centre, in Fig. 2, only listed the 3rd to the 6th data structure form, as can be seen, in the process that the control centre handles, a kind of tree need be set in internal memory, each layer correspondence in the destination number, ode table in each layer tree is shown in the distribution situation of destination number under the last layer tree node, and the Ni1 value in each layer is empty implication.Fig. 2 is to be example with 6 phone number, has write down two numbers: 135103 and 139325, and promptly in this tree, an individual path from the root node to the leaf node is promptly represented a number.
For number section in the database, the control centre reads it and be kept at form such as the Fig. 3 in the internal memory, identifies promptly according to district, province, local next definite distribution area, and with the area and represents area code, can have a plurality ofs' section in each zone.When number deposit finish after, base area, control centre area code section leaves number in the internal memory in according to the area.
Above-mentioned the deficiencies in the prior art part is:
1, EMS memory occupation is too much.Need take very big internal memory owing to preserve a number, and each task all needing when number is handled to be carried out maintenance tree structure again, therefore this internal memory occupation mode can take bigger internal memory, and frequent application and discharge internal memory and all can bring bigger burden to internal memory and system;
2, be number owing to what in internal memory, preserve, number after the processing need output in the file, and short-message cluster-sending task number yardage magnitude is generally all more than ten million, and when preserving into file, exports and transmit this big file then to take very many system resource and communication resources;
3, treatment effeciency is low.Because when the number in having internal memory number tree is compared processing with ground area code section, because ground area code section is usually very huge, whenever depositing a number on average needs to compare thousands of times, if and short-message cluster-sending task number number of codes is more than one hundred million, it is inferior then to need to compare more than one hundred billion altogether, and treatment effeciency will inevitably be very low.
Summary of the invention
The objective of the invention is at above-mentioned the deficiencies in the prior art, number treatment system and processing method in a kind of service of sending grouped short message are provided, can reduce internal memory and use, simplify handling process, reduce taking of system resource, and improve treatment effeciency.
For achieving the above object, the invention provides the number treatment system in a kind of service of sending grouped short message, comprising:
The WEB server is connected with the WEB client, is used to receive the task requests of the sending grouped short message that described WEB client sends;
Database is connected with described WEB server, is used to preserve the number information that the task requests of number segment information of each department and described sending grouped short message provides;
Broadcasting equipment is connected with described database, is used for number segment information according to the each department that obtain from described database, and the number information that the task requests of described sending grouped short message is provided deposits in the regional mapping table corresponding in the internal memory and sends to short message service center.
In the technique scheme, described database also can be provided with memory module, is used to preserve the file of the number information that the task requests that comprises described sending grouped short message provides.
For realizing goal of the invention, the present invention also provides the number processing method in a kind of service of sending grouped short message, comprise: broadcasting equipment obtains the number information that the task requests of sending grouped short message provides and deposits in the internal memory from database, according to the Da Qu information that comprises in this number information, from database, extract number segment information of the each department of corresponding Da Qu; With the processing of comparing of the described number information and number segment information of the each department of described corresponding Da Qu, send to short message service center after depositing in regional mapping table corresponding in the internal memory or the list of numbers then.
In the technique scheme, before depositing in regional mapping table corresponding in the internal memory or the list of numbers after number segment information comparison with number information and each department, can comprise that also broadcasting equipment is kept at step in the internal memory with number segment information of described each department, specifically comprise: broadcasting equipment deposits number segment information of described each department in internal memory according to the mode of tree data structure, each node of described tree data structure is preserved in the initial number of corresponding number section, and each leaf node is preserved of initial number of corresponding number section, the termination number of corresponding number section, and the regional information of corresponding number section.
Further, also can may further comprise the steps described broadcasting equipment obtains the number information that the task requests of sending grouped short message provides and deposits in the internal memory from database before: loose number information and/or number segment information that described database receives the task requests of the described sending grouped short message that the user submits to be provided also are kept in the described database.Described broadcasting equipment obtains the number information that the task requests of sending grouped short message provides and deposits in the internal memory and can specifically comprise from database: described broadcasting equipment obtains the beginning number of the number of number information of loosing that the task requests of described sending grouped short message provides or number segment information and finishes number from database, and deposits in the internal memory.
With the processing of comparing of the described number information and number segment information of the each department of described corresponding Da Qu, deposit in then in regional mapping table corresponding in the internal memory or the list of numbers and can specifically comprise: described broadcasting equipment judges whether this number information is the number of diffusing number information, it is then to carry out following operation: the initial number of number section of preserving in number that will the number of loosing information and the described tree data structure and stop number relatively, obtain the regional information of number section under the number of this number information of loosing, and number that will the number of loosing information deposits in as a beginning number number section identical with finishing number in the regional information corresponding mapping table of number section under it, and number that perhaps will the number of loosing information deposits in the list of numbers of regional information correspondence of the affiliated number section of the number of this diffusing number information; Otherwise the beginning number of this number information number of being segment information and end number, carry out following operation: with the initial number comparison of number section of preserving in the beginning number of this number segment information and the described tree data structure, and relatively with the termination number of number section of preserving in the end number of this number segment information and the described tree data structure, obtain the regional information of number section under the number of this number segment information, and with the beginning number of this number segment information with finish in the regional information corresponding mapping table of number section under the number that number deposits this number segment information in.
Further, described with this number segment information the beginning number and described tree data structure in number section of preserving initial number relatively, and the termination number comparison of number section of preserving in the end number of this number segment information and the described tree data structure can specifically be may further comprise the steps: in step a, this broadcasting equipment is found out this number section that begins the number correspondence as the current section with the processing of comparing of the initial number of number section of preserving in the beginning number of this number segment information and the described tree data structure; Then in step b, this broadcasting equipment is with the processing of comparing of the termination number of the end number of this number segment information and current section, whether the end number of judging this number segment information is greater than the termination number of current section, be execution in step c then, otherwise the current section is finished after as number section under the number of this number segment information; In step c, with the termination number of the beginning number of this number segment information and current section as No. second segment information, and with the current section as number section under described No. second segment information; Then in steps d, the end number that the termination number of current section is added a number that obtains and this number segment information is respectively as the beginning number of new number segment information with finish number, execution in step a then.
Described with this number segment information the beginning number and described tree data structure in the initial number of number section of preserving also can may further comprise the steps before relatively: in step e, broadcasting equipment takes out predefined blacklist number information from database, and be kept in the internal memory, take out a number in this blacklist number information then; Then in step f, broadcasting equipment is with the processing of comparing of the beginning number of the number that takes out and this number segment information, find out number section of the number correspondence of this taking-up, and be that the boundary splits into section two numbers with this number section with the number of this taking-up, described two numbers Duan Jun do not comprise the number of this taking-up; Then in step g, broadcasting equipment is judged whether the number in the described blacklist number information takes out and is finished, is then to finish, otherwise takes out next number, then execution in step f.
In technique scheme, deposit internal memory in by the direct accessing database of broadcasting equipment and after obtaining the number information of the task requests that the user that preserves in the database submits to, but not behind the number information write memory of the task requests that the user who preserves in the control centre of the prior art reading database submits to, be processed into the number file again, obtain this number file by broadcasting equipment again; Thereby avoided producing and transmitting a large amount of number files, reduced the internal memory use, and simplified handling process.And the beginning number by number section in the number information of task requests that the user is submitted to and finish number or loose number to deposit internal memory in, but not each number in the number information of the task requests that the user is submitted to of the prior art deposits internal memory in, thereby significantly reduced shared internal memory.
And then, technique scheme is kept in the internal memory with the form of tree data structure in advance by number section with each department, and number section in the number information of the task requests that the user is submitted to or loose number with described tree data structure in the processing of comparing of number section, the processing but not number section of each number in the number information of the task requests with user's submission of the prior art and each department is compared; Thereby significantly reduced comparison number of times and time, improved treatment effeciency effectively.
And, loosing number or the beginning number of number section and finishing in the regional information corresponding mapping table or list of numbers that number deposits number section under it in the number information of the task requests that technique scheme is submitted the user to after by comparison, but not each number in the number information of the task requests that the user is submitted to of the prior art deposits in the tree; Thereby significantly reduced EMS memory occupation, and do not needed when handling number, to safeguard tree, thereby avoided applying for continually and discharging internal memory, also improved treatment effeciency effectively.
Further, the beginning number by number section in the number information of task requests that the number in the blacklist and user are submitted to and finish the number processing of comparing also in the technique scheme, and number section in the number information of the task requests of the user being submitted to the number in this blacklist is divided into section two numbers, thereby simplified the handling process of blacklist number, significantly reduce the comparison number of times, and then improved treatment effeciency.
In addition, technique scheme is kept in the corresponding mapping table after by number section comparison in the number information of task requests that the user is submitted to, be kept in the corresponding list of numbers or mapping table after number comparison of loosing in the number information of the task requests that the user is submitted to, thereby can use different data structures to preserve number, can guarantee systematic function to greatest extent.
In sum, the present invention can reach and reduce the internal memory use, simplifies handling process, reduces taking of system resource, and improves the useful technique effect of treatment effeciency.
Description of drawings
Fig. 1 is the structural representation of short-message cluster-sending platform in the prior art;
Fig. 2 is the data structure schematic diagram of the number data of control centre in the prior art;
Fig. 3 is for number section in control centre's reading database in the prior art and be kept at form schematic diagram in the internal memory;
Fig. 4 is the schematic diagram of the embodiment one of the number treatment system in the service of sending grouped short message of the present invention;
Fig. 5 is the schematic diagram of the embodiment two of the number treatment system in the service of sending grouped short message of the present invention;
Fig. 6 is the flow chart of the embodiment one of the number processing method in the service of sending grouped short message of the present invention;
Fig. 7 is the flow chart of the embodiment two of the number processing method in the service of sending grouped short message of the present invention;
Fig. 8 is the schematic diagram of the tree data structure of number section of preserving each department in advance;
Fig. 9 is the flow chart of the embodiment three of the number processing method in the service of sending grouped short message of the present invention;
Figure 10 is the flow chart of the embodiment four of the number processing method in the service of sending grouped short message of the present invention;
Figure 11 is the flow chart of the embodiment five of the number processing method in the service of sending grouped short message of the present invention;
The process chart that Figure 12 compares and handles for the tree data structure of number segment information that the user is provided and number section that comprises each department of preserving in advance;
Figure 13 is the part flow chart of the embodiment six of the number processing method in the service of sending grouped short message of the present invention;
Figure 14 is the data structure schematic diagram that is kept at the described mapping table in the internal memory of broadcasting equipment;
Figure 15 is the data structure schematic diagram that is kept at the described list of numbers in the internal memory of broadcasting equipment;
Figure 16 is the flow chart of the embodiment seven of the number processing method in the service of sending grouped short message of the present invention.
Embodiment
Below in conjunction with drawings and Examples, technical scheme of the present invention is described in further detail.
Fig. 4 is the schematic diagram of the embodiment one of the number treatment system in the service of sending grouped short message of the present invention, number treatment system K in a kind of service of sending grouped short message, comprise: WEB server N, be connected with the WEB client, be used to receive the task requests of the sending grouped short message that the WEB client sends; Database P, N is connected with the WEB server, is used to preserve the number information that the task requests of number segment information of each department and described sending grouped short message provides; Broadcasting equipment Q, P is connected with database, be used for number segment information according to the each department that obtain from database P, the number information that the task requests of described sending grouped short message is provided deposits in the regional mapping table corresponding in the internal memory and via the synthesized gateway platform and sends to short message service center.
In the present embodiment one, be connected with database P by broadcasting equipment Q, but not control centre of the prior art all is connected with database with broadcasting equipment, thereby make broadcasting equipment Q directly number segment information of the each department of accessing database P and the obtaining Da Qu corresponding that preserve in the database and the number information of the task requests that the user submits to, undertaken directly from internal memory, issuing after number is handled by broadcasting equipment with the Da Qu information that comprises in the mission bit stream that the user submits to; But not behind the number information write memory of the task requests that number segment information of the each department of preserving in the control centre of the prior art reading database and user submit to, be processed into the number file again, obtain this number file by broadcasting equipment again, broadcasting equipment reads in internal memory with described number file again and issues when issuing; Thereby avoided producing and transmitting a large amount of number files, reduced the internal memory use, and simplified handling process.
Fig. 5 is the schematic diagram of the embodiment two of the number treatment system in the service of sending grouped short message of the present invention, number treatment system K1 in a kind of service of sending grouped short message, be with the difference of the foregoing description one: database P also is provided with memory module T, is used to preserve the file of the number information that the task requests that comprises described sending grouped short message provides.
Flow chart referring to the embodiment one of the number processing method in the service of sending grouped short message of the present invention shown in Figure 6, in step 1, broadcasting equipment obtains the number information that the task requests of sending grouped short message provides and deposits in the internal memory from database, according to the Da Qu information that comprises in this number information, from database, extract number segment information of the each department of corresponding Da Qu; Broadcasting equipment deposits the processing of comparing of the described number information and number segment information of the each department of described corresponding Da Qu in the regional mapping table or list of numbers corresponding in the internal memory then in step 2; In step 3, this number information of preserving in regional mapping table or the list of numbers is sent to short message service center then.
Among the embodiment one of the number processing method in the invention described above service of sending grouped short message, obtain the number information that the task requests of sending grouped short message provides and deposit in the internal memory by the direct accessing database of broadcasting equipment, and according to the Da Qu information that comprises in this number information, number segment information that extracts the each department of corresponding Da Qu from database deposits internal memory in, with the processing of comparing of the described number information and number segment information of the each department of described corresponding Da Qu, directly from internal memory be handed down to short message service center after depositing in regional mapping table corresponding in the internal memory or the list of numbers then by broadcasting equipment; But not behind the number information write memory of the task requests that number segment information of the each department of preserving in the control centre of the prior art reading database and user submit to, be processed into the number file again, obtain this number file by broadcasting equipment again, broadcasting equipment reads in internal memory with described number file again and issues when issuing; Thereby avoided producing and transmitting a large amount of number files, reduced the internal memory use, and simplified handling process.And the beginning number by number section in the number information of task requests that the user is submitted to and finish number or loose number to deposit internal memory in, but not each number in the number information of the task requests that the user is submitted to of the prior art deposits internal memory in, thereby significantly reduced shared internal memory.
Fig. 7 is the flow chart of the embodiment two of the number processing method in the service of sending grouped short message of the present invention, be with the difference of the embodiment one of number processing method in the service of sending grouped short message of the present invention: comprise also that after step 1 step 10 is broadcasting equipment number segment information of described each department is kept in the internal memory, specifically comprise: broadcasting equipment deposits number segment information of described each department in internal memory according to the mode of tree data structure, each node of described tree data structure is preserved in the initial number of corresponding number section, and each leaf node is preserved of initial number of corresponding number section, the termination number of corresponding number section, and the regional information of corresponding number section.
Among the embodiment two of the number processing method in the invention described above service of sending grouped short message, described broadcasting equipment is judged the figure place of the number that described tree data structure is preserved whether less than the figure place of physical number, is then can add corresponding predefined numeral respectively so that the figure place of the realistic number of figure place of described initial number and described termination number behind the position, end of the back, position, end of described initial number and described termination number.
Schematic diagram referring to described tree data structure shown in Figure 8, number section that reads from database is deposited and is taked to use tree-shaped data structure, each node is preserved in the corresponding cell-phone number section initial number, leaf node is except that one of preservation initial number, also preserved the area sign of the termination number of number section and this number section correspondence, described area sign is used to represent the area under this number section.Because phone number is 11, the number of number section tree representation stops adding 9 behind the number if 11 of less thaies then add 0 behind initial number, is example with 6 item sections, the number of the being section of representing as Fig. 8 13371300000---13371399999,13456300000---13456399999.
Among the embodiment two of the number processing method in the invention described above service of sending grouped short message, number segment information of the each department of the Da Qu that the Da Qu information that comprises in the number information by the task requests that will submit to the user is corresponding is kept in the internal memory with the form of tree data structure, number section in the number information of the task requests that the user is submitted to or loose number is kept in the internal memory processings of comparing of back and number section of described each department, the processing but not number section of each number in the number information of the task requests with user's submission of the prior art and each department is compared; By the number processing method in the service of sending grouped short message provided by the invention, sending short messages in groups task number hop count magnitude is generally more than ten thousand, whenever deposit a number section and need compare number of processes about ten times with number Duan Shu, total comparison number of times order of magnitude 100,000 times, thereby significantly reduced comparison number of times and time, improved treatment effeciency effectively.
Flow chart referring to the embodiment three of the number processing method in the service of sending grouped short message of the present invention shown in Figure 9, be with the difference of the embodiment two of number processing method in the invention described above service of sending grouped short message: before step 1, also comprise step 01, loose number information and/or number segment information and be kept in the described database that are that database receives that the task requests of the described sending grouped short message that the user submits to provides.
In addition, number information of loosing that the user submits to also can be preserved hereof.The flow chart of the embodiment four of the number processing method in the service of sending grouped short message of the present invention as shown in figure 10, be with the difference of the embodiment two of number processing method in the invention described above service of sending grouped short message: before step 1, also comprise step 02, be described database and receive number information of loosing that the task requests of the described sending grouped short message that the user submits to provides, and preserve hereof in the mode of loosing number.
Flow chart referring to the embodiment five of the number processing method in the service of sending grouped short message of the present invention shown in Figure 11, be with the difference of the embodiment three of number processing method in the invention described above service of sending grouped short message: step 1 is specially step 1a, be: described broadcasting equipment obtains the beginning number of the number of number information of loosing that the task requests of described sending grouped short message provides or number segment information and finishes number from database, and deposits in the internal memory.And step 2 specifically may further comprise the steps: in step 2a, judging that whether this number information is the number of number information of loosing, is execution in step 2b then, otherwise execution in step 2d; In step 2b, with the initial number of number section of preserving in the number of this number information of loosing and the described tree data structure with stop number relatively, obtain the regional information of the affiliated number section of the number of this number information of loosing; Then in step 2c, the number of this number information of loosing is deposited in the regional information corresponding mapping table of number section under it in execution in step 3 after number that perhaps will the number of loosing information deposits in the list of numbers of regional information correspondence of the affiliated number section of the number of this diffusing number information as a beginning number number section identical with finishing number; In step 2d, with the initial number of number section of preserving in the beginning number of this number segment information and the described tree data structure relatively, and with the termination number of number section of preserving in the end number of this number segment information and the described tree data structure relatively, obtain the regional information of number section under the number of this number segment information; Then in step 2e, with the beginning number of this number segment information with finish back execution in step 3 in the regional information corresponding mapping table of number section under the number that number deposits this number segment information in.
Among the embodiment five of the number processing method in the invention described above service of sending grouped short message, task issue the maximum number section of number amount issue mode in internal memory with the beginning number of number segment information with finish the number mode and deposit, reduced the internal memory use; And, by loosing number or the beginning number of number section and finishing in the regional information corresponding mapping table or list of numbers that number deposits number section under it in the number information of the task requests after the comparison user submitted to, but not each number in the number information of the task requests that the user is submitted to of the prior art deposits in the tree; Thereby significantly reduced EMS memory occupation, and do not needed when handling number, to safeguard tree, thereby avoided applying for continually and discharging internal memory, also improved treatment effeciency effectively.
Among the embodiment five of the number processing method in the invention described above service of sending grouped short message, the operation that step 2d compares and handles for the tree data structure of number segment information that the user is provided and number section that comprises each department of preserving in advance, as shown in figure 12, this operation can specifically may further comprise the steps: in step a, this broadcasting equipment is found out this number section that begins the number correspondence as the current section with the processing of comparing of the initial number of number section of preserving in the beginning number of this number segment information and the described tree data structure; Then in step b, this broadcasting equipment is the processing of comparing of the termination number of the end number of this number segment information and current section, and whether the end number of judging this number segment information greater than the termination number of current section, is execution in step c then, otherwise execution in step c1; In step c1, with the current section as number section under the number of this number segment information after execution in step 2e; In step c, with the termination number of the beginning number of this number segment information and current section as No. second segment information, and with the current section as number section under described No. second segment information; Then in steps d, the end number that the termination number of current section is added a number that obtains and this number segment information is respectively as the beginning number of new number segment information with finish number, execution in step a then.
The embodiment six of the number processing method in the service of sending grouped short message of the present invention further provides the operation of number segment information in the task requests of user's submission being filtered according to the number in the predefined blacklist, referring to Figure 13, the embodiment four of the number processing method in the number processing method in the service of sending grouped short message of present embodiment seven and the invention described above service of sending grouped short message or five difference are, further comprising the steps of before the step 2d: in step e, broadcasting equipment takes out predefined blacklist number information from database, and be kept in the internal memory, take out a number in this blacklist number information then; Then in step f, broadcasting equipment is with the processing of comparing of the beginning number of the number that takes out and this number segment information, find out number section of the number correspondence of this taking-up, and be that the boundary splits into section two numbers with this number section with the number of this taking-up, described two numbers Duan Jun do not comprise the number of this taking-up; Then in step g, broadcasting equipment is judged whether the number in the described blacklist number information takes out and is finished, is then to carry out step 2d among Figure 11, otherwise takes out next number, then execution in step f.
Among the embodiment six of the number processing method in the invention described above service of sending grouped short message, beginning number by number section in the number information of task requests that the number in the blacklist and user are submitted to and finish the number processing of comparing, and number section in the number information of the task requests of the user being submitted to the number in this blacklist is divided into section two numbers, thereby simplified the handling process of blacklist number, significantly reduce the comparison number of times, and then improved treatment effeciency.
Among the embodiment three to six of the number processing method in the invention described above service of sending grouped short message, described in the step 2c will the number of loosing information number deposit in as a beginning number number section identical in the regional information corresponding mapping table of number section under the number of this number information of loosing and can specifically comprise with finishing number: set up a new list of numbers in the regional information corresponding mapping table of number section under it, and number that will the number of loosing information number and end number deposit in this new list of numbers to start with respectively.Can specifically comprise in the regional information corresponding mapping table of number section under the number that beginning number and the end number with this number segment information described in the step 2e deposits this number segment information in: set up a new list of numbers in the regional information corresponding mapping table of number section under the number of this number segment information, and the beginning number and the end number of this number segment information deposited in this new list of numbers.
As shown in figure 14, be the data structure schematic diagram of the described mapping table in the internal memory that is kept at broadcasting equipment, comprise area sign A1 among the mapping table A, be used to identify regional information; List of numbers A2 and list of numbers A3 are used to preserve the beginning number of each self-corresponding section and finish number.
Figure 15 is the data structure schematic diagram that is kept at the described list of numbers in the internal memory of broadcasting equipment.Among the embodiment three to six of the number processing method in the invention described above service of sending grouped short message, described in the step 2c will the number of loosing information number deposit in the list of numbers of regional information correspondence of number section under the number of this number information of loosing, the data structure of wherein said list of numbers as shown in figure 15, list of numbers B is the tabulation of several numbers compositions.
Figure 16 is the flow chart of the embodiment seven of the number processing method in the service of sending grouped short message of the present invention, number processing method in a kind of service of sending grouped short message, be with the difference of the embodiment four of number processing method in the invention described above service of sending grouped short message: step 1 is specially step 1b, is: described broadcasting equipment obtains the number of number information of loosing that the task requests of the described sending grouped short message that the user submits to provides from described file by described database.And, step 2 specifically may further comprise the steps: in step 2f, the initial number of number section of preserving in the number of number information of loosing that will obtain from described file and the described tree data structure and stop number relatively obtains the regional information of the affiliated number section of the number of this number information of loosing; Then in step 2g, this number that looses number information is kept in the regional information corresponding mapping table of number section under the number of this number information of loosing or in the list of numbers of the regional information correspondence of number section under the number of number information of should loosing.
Among the embodiment seven of the number processing method in the invention described above service of sending grouped short message, described in the step 2g will the number of loosing information number be kept in the regional information corresponding mapping table of number section under the number of this number information of loosing and can specifically comprise: set up a new list of numbers in the regional information corresponding mapping table of number section under the number of this number information of loosing, and number that will the number of loosing information number and end number deposit in this new list of numbers to start with respectively.
Among the embodiment one to seven of the number processing method in the invention described above service of sending grouped short message, the described short message service center that sends to can specifically comprise: described broadcasting equipment takes out number and sends to short message service center according to described regional information according to predefined sending order information and quantity forwarded information from corresponding mapping table or list of numbers.Broadcasting equipment can regulate and control to send to the number quantity and the order of the short message service center of each department effectively according to this sending order information and quantity forwarded information, thereby can regulate and control the load of the short message service center of each department effectively.
Should be noted that at last: above embodiment is only in order to illustrate that technical scheme of the present invention is not intended to limit; Although the present invention is had been described in detail with reference to preferred embodiment; those of ordinary skill in the field are to be understood that; still can make amendment or the part technical characterictic is equal to replacement the specific embodiment of the present invention; and not breaking away from the spirit of technical solution of the present invention, it all should be encompassed in the middle of the technical scheme scope that the present invention asks for protection.

Claims (18)

1. the number treatment system in the service of sending grouped short message is characterized in that, comprising:
The WEB server is connected with the WEB client, is used to receive the task requests of the sending grouped short message that described WEB client sends;
Database is connected with described WEB server, is used to preserve the number information that the task requests of number segment information of each department and described sending grouped short message provides;
Broadcasting equipment, be connected with described database, be used for obtaining number segment information of the each department of the Da Qu information correspondence that number information that the task requests of sending grouped short message provides and this number information comprise from described database, according to number segment information of the each department that obtain from described database, the number information that the task requests of described sending grouped short message is provided deposits in the regional mapping table corresponding in the internal memory and sends to short message service center.
2. number treatment system according to claim 1 is characterized in that described database also is provided with memory module, is used to preserve the file of the number information that the task requests that comprises described sending grouped short message provides.
3. the number processing method in the service of sending grouped short message is characterized in that, comprising:
Broadcasting equipment obtains the number information that the task requests of sending grouped short message provides and deposits in the internal memory from database, according to the Da Qu information that comprises in this number information, extract number segment information of the each department of corresponding Da Qu from database; With the processing of comparing of the described number information and number segment information of the each department of described corresponding Da Qu, send to short message service center after depositing in regional mapping table corresponding in the internal memory or the list of numbers then.
4. method according to claim 3 is characterized in that, described broadcasting equipment extracts number segment information of each department of corresponding Da Qu from database after, comprises that also broadcasting equipment is kept at step in the internal memory with number segment information of described each department, specifically comprises:
Broadcasting equipment deposits number segment information of described each department in internal memory according to the mode of tree data structure, each node of described tree data structure is preserved in the initial number of corresponding number section, and each leaf node is preserved the regional information of of initial number of corresponding number section, the termination number of corresponding number section and corresponding number section.
5. method according to claim 4, it is characterized in that, after described broadcasting equipment deposits number segment information of described each department in internal memory according to the mode of tree data structure, also comprise following operation: whether the figure place that described broadcasting equipment is judged the number that described tree data structure is preserved is less than the figure place of physical number, be then behind the position, end of the end position back of described initial number and described termination number, to add corresponding predefined numeral respectively so that the figure place of the realistic number of figure place of described initial number and described termination number, otherwise continue subsequent operation.
6. according to claim 4 or 5 described methods, it is characterized in that further comprising the steps of described broadcasting equipment obtains the number information that the task requests of sending grouped short message provides and deposits in the internal memory from database before: loose number information and/or number segment information that described database receives the task requests of the described sending grouped short message that the user submits to be provided also are kept in the described database.
7. method according to claim 6, it is characterized in that, described broadcasting equipment obtains the number information that the task requests of sending grouped short message provides and deposits in the internal memory and specifically comprises from database: described broadcasting equipment obtains the beginning number of the number of number information of loosing that the task requests of described sending grouped short message provides or number segment information and finishes number from database, and deposits in the internal memory.
8. method according to claim 7 is characterized in that, and is described with the processing of comparing of the described number information and number segment information of the each department of described corresponding Da Qu, deposits in then in regional mapping table corresponding in the internal memory or the list of numbers specifically to comprise:
Described broadcasting equipment judges whether this number information is the number of diffusing number information, it is then to carry out following operation: the initial number of number section of preserving in number that will the number of loosing information and the described tree data structure and stop number relatively, obtain the regional information of number section under the number of this number information of loosing, and number that will the number of loosing information deposits in as a beginning number number section identical with finishing number in the regional information corresponding mapping table of number section under it, and number that perhaps will the number of loosing information deposits in the list of numbers of regional information correspondence of the affiliated number section of the number of this diffusing number information; Otherwise the beginning number of this number information number of being segment information and end number, carry out following operation: with the initial number comparison of number section of preserving in the beginning number of this number segment information and the described tree data structure, and relatively with the termination number of number section of preserving in the end number of this number segment information and the described tree data structure, obtain the regional information of number section under the number of this number segment information, and with the beginning number of this number segment information with finish in the regional information corresponding mapping table of number section under the number that number deposits this number segment information in.
9. method according to claim 8, it is characterized in that, described with this number segment information the beginning number and described tree data structure in number section of preserving initial number relatively, and with more specific comprising of termination number of number section of preserving in the end number of this number segment information and the described tree data structure:
Step a, this broadcasting equipment find out this number section that begins the number correspondence as the current section with the processing of comparing of the initial number of number section of preserving in the beginning number of this number segment information and the described tree data structure;
Step b, this broadcasting equipment are with the processing of comparing of the termination number of the end number of this number segment information and current section, whether the end number of judging this number segment information is greater than the termination number of current section, be execution in step c then, otherwise the current section is finished after as number section under the number of this number segment information;
Step c, with the termination number of the beginning number of this number segment information and current section as No. second segment information, and with the current section as number section under described No. second segment information;
Steps d, the termination number of current section is added a number that obtains and this number segment information the end number respectively as the beginning number of new number segment information with finish number, execution in step a then.
10. method according to claim 8 is characterized in that, described with this number segment information the beginning number and described tree data structure in the initial number of number section of preserving further comprising the steps of before relatively:
Step e, broadcasting equipment take out predefined blacklist number information from database, and are kept in the internal memory, take out a number in this blacklist number information then;
Step f, broadcasting equipment are with the processing of comparing of the beginning number of the number that takes out and this number segment information, find out number section of the number correspondence of this taking-up, and be that the boundary splits into section two numbers with this number section with the number of this taking-up, described two numbers Duan Jun do not comprise the number of this taking-up;
Step g, broadcasting equipment are judged whether the number in the described blacklist number information takes out and are finished, be then to finish, otherwise take out next number, then execution in step f.
11. method according to claim 8, it is characterized in that, described number that will the number of loosing information deposits in as a beginning number number section identical with finishing number in the regional information corresponding mapping table of number section under it and specifically comprises: set up a new list of numbers in the regional information corresponding mapping table of number section under it, and number that will the number of loosing information number and end number deposit in this new list of numbers to start with respectively.
12. method according to claim 8, it is characterized in that, described with this number segment information the beginning number and finish specifically to comprise in the regional information corresponding mapping table of number section under the number that number deposits this number segment information in: set up a new list of numbers in the regional information corresponding mapping table of number section under it, and with the beginning number of this number segment information with finish number and deposit in this new list of numbers.
13. method according to claim 8, it is characterized in that, the described short message service center that sends to specifically comprises: described broadcasting equipment takes out number and sends to short message service center according to described regional information according to predefined sending order information and quantity forwarded information from corresponding mapping table or list of numbers.
14. according to claim 4 or 5 described methods, it is characterized in that, described broadcasting equipment obtains the number information that the task requests of sending grouped short message provides and deposits in the internal memory from database before, further comprising the steps of: described database receives number information of loosing that the task requests of the described sending grouped short message that the user submits to provides, and preserves hereof in the mode of loosing number.
15. method according to claim 14, it is characterized in that described broadcasting equipment obtains the number information that the task requests of sending grouped short message provides and deposits in the internal memory and specifically comprises from database: described broadcasting equipment obtains the number of number information of loosing that the task requests of the described sending grouped short message that the user submits to provides from described file by described database.
16. method according to claim 15, it is characterized in that, described with the processing of comparing of the described number information and number segment information of the each department of described corresponding Da Qu, deposit in then in regional mapping table corresponding in the internal memory or the list of numbers and specifically comprise: the initial number of number section of preserving in the number of number information of loosing that will obtain from described file and the described tree data structure and termination number are relatively, obtain the regional information of number section under the number of this number information of loosing, and number that will the number of loosing information is kept in the regional information corresponding mapping table of number section under the number of this number information of loosing or the list of numbers of the regional information correspondence of number section that number that should diffusing number information is affiliated in.
17. method according to claim 16, it is characterized in that, described number that will the number of loosing information is kept in the regional information corresponding mapping table of number section under the number of this number information of loosing and specifically comprises: set up a new list of numbers in the regional information corresponding mapping table of number section under it, and number that will the number of loosing information number and end number deposit in this new list of numbers to start with respectively.
18. method according to claim 17, it is characterized in that, the described short message service center that sends to specifically comprises: described broadcasting equipment takes out number and sends to short message service center according to described regional information according to predefined sending order information and quantity forwarded information from corresponding mapping table or list of numbers.
CNB2006101541043A 2006-09-08 2006-09-08 System for processing numbers and processing method in service of sending grouped short message Expired - Fee Related CN100461891C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2006101541043A CN100461891C (en) 2006-09-08 2006-09-08 System for processing numbers and processing method in service of sending grouped short message

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2006101541043A CN100461891C (en) 2006-09-08 2006-09-08 System for processing numbers and processing method in service of sending grouped short message

Publications (2)

Publication Number Publication Date
CN1917667A CN1917667A (en) 2007-02-21
CN100461891C true CN100461891C (en) 2009-02-11

Family

ID=37738528

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2006101541043A Expired - Fee Related CN100461891C (en) 2006-09-08 2006-09-08 System for processing numbers and processing method in service of sending grouped short message

Country Status (1)

Country Link
CN (1) CN100461891C (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101110987B (en) * 2007-07-19 2011-07-13 中兴通讯股份有限公司 System and method for implementing short message group sending
CN101873536B (en) * 2009-04-22 2013-03-20 华为技术有限公司 Group sending message processing method, service distribution platform and related equipment
CN101610486B (en) * 2009-07-14 2012-10-10 中兴通讯股份有限公司 Short message service (SMS) data processing method and system
CN101977361A (en) * 2010-10-13 2011-02-16 深圳市多赢软件技术有限公司 Method for preprocessing messages in batch
CN103560897B (en) * 2013-11-05 2016-07-27 腾讯科技(武汉)有限公司 A kind of overall situation broadcasting method, server, and system
CN109241108A (en) * 2018-08-16 2019-01-18 中国联合网络通信集团有限公司 Method for selecting number and device
CN109511094B (en) * 2018-12-10 2021-04-27 广州市易杰数码科技有限公司 Short message group sending method, device, equipment and storage medium based on repetition elimination algorithm
CN110493736A (en) * 2019-08-29 2019-11-22 凡普数字技术有限公司 Note transmission method, device and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1452416A (en) * 2002-04-15 2003-10-29 华为技术有限公司 Terminal short message point-to-multiple points group sending method
CN1549608A (en) * 2003-05-09 2004-11-24 中兴通讯股份有限公司 Short message pocket transmission equipment and realizing method
KR20050011129A (en) * 2003-07-22 2005-01-29 오수철 Method and System of Mass Transfer of Short Message
CN1592337A (en) * 2003-09-02 2005-03-09 华为技术有限公司 Method and system for realizing short message group transmitting service
KR20050101881A (en) * 2004-04-20 2005-10-25 삼성전자주식회사 Method of sending and re-sending by merging number list to sms message

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1452416A (en) * 2002-04-15 2003-10-29 华为技术有限公司 Terminal short message point-to-multiple points group sending method
CN1549608A (en) * 2003-05-09 2004-11-24 中兴通讯股份有限公司 Short message pocket transmission equipment and realizing method
KR20050011129A (en) * 2003-07-22 2005-01-29 오수철 Method and System of Mass Transfer of Short Message
CN1592337A (en) * 2003-09-02 2005-03-09 华为技术有限公司 Method and system for realizing short message group transmitting service
KR20050101881A (en) * 2004-04-20 2005-10-25 삼성전자주식회사 Method of sending and re-sending by merging number list to sms message

Also Published As

Publication number Publication date
CN1917667A (en) 2007-02-21

Similar Documents

Publication Publication Date Title
CN100461891C (en) System for processing numbers and processing method in service of sending grouped short message
CN100473051C (en) Multicast forwarding route aggregating method
CN101287166B (en) Short message publishing system and method for auxiliary system of electronic meeting
CN107301529A (en) A kind of government affairs demand accepts centring system
CN102655503A (en) Resource allocation using shared resource pools
DE602005003640D1 (en) METHOD FOR TRANSMITTING SMS MESSAGES USING A SMART WAY SELECTION NUMBER
CN101662742B (en) System for supporting multi-protocol integrated short message platform and implementing method
CN106599711A (en) Database access control method and device
US20010056523A1 (en) Method and system for dynamic allocation and management of subscriber identity module memory in a telecommunication system
CN103458131A (en) Agent logging-in and scheduling method and agent center
CN103516579A (en) Service system providing offline message and corresponding service method
CN101977362A (en) Short message group sending method and system
CN101389088A (en) Multimedia message group sending method and group sending request method, multimedia message management platform device
CN1744638B (en) Advertising issueing system and method for issueing advertising
CN105450878B (en) The distribution method and distribution system of resource of attending a banquet code
CN101217690A (en) A system and method for realizing distributed storage of data operation and data information
CN100544465C (en) Realize system, platform and the method for SMS value-added service
CN102448120B (en) Multipath load sharing method and device
CN101841804A (en) Service management system and method
EP2348676B1 (en) Method for accessing magnanimity data of intelligent network service database and system and device thereof
CN105357694A (en) 4G user data message processing method and system
CN105208598A (en) Network access method and apparatus
CN107798452A (en) Customer's representative people's distribution method and device
CN106503958A (en) A kind of smart office system and method based on Internet of Things
CN102891805A (en) Method and device for implementing priority mapping in network equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20090211

Termination date: 20120908