CN101902699B - Message number-based message processing method and device - Google Patents

Message number-based message processing method and device Download PDF

Info

Publication number
CN101902699B
CN101902699B CN200910107588.XA CN200910107588A CN101902699B CN 101902699 B CN101902699 B CN 101902699B CN 200910107588 A CN200910107588 A CN 200910107588A CN 101902699 B CN101902699 B CN 101902699B
Authority
CN
China
Prior art keywords
mobile station
source
account number
station international
international isdn
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
CN200910107588.XA
Other languages
Chinese (zh)
Other versions
CN101902699A (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.)
Luoyuan Product Quality Inspection Institute
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN200910107588.XA priority Critical patent/CN101902699B/en
Publication of CN101902699A publication Critical patent/CN101902699A/en
Application granted granted Critical
Publication of CN101902699B publication Critical patent/CN101902699B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a message number-based message processing method and a message number-based message processing device. The method comprises the following steps of: setting a number attribute list, a number association attribute list and an account attribute list; acquiring a source account id and a number according to the message sent by a source network element, acquiring a number attribute from the number attribute list according to the number, and judging whether the number state is normal and whether the message needs to be authenticated, filtered and the like according to the number attribute; acquiring a destination account id from the number association attribute list according to the number; and acquiring account attributes from the account attribute list according to the source account id and the destination account id, and judging whether the states of the source account and the destination account are normal according to the account attributes to determine whether to forward the message. The device comprises a message transceiving module, a maintenance and management module, a number attribute processing module, a message routing module and an account attribute processing module. The overhead for reading and processing the data for multiple times step by step is reduced, and the maintainability and the expandability of the device are improved.

Description

A kind of method and device based on the message number processing messages
Technical field
The invention belongs to the Message Processing field, be specifically related to a kind of method based on the message number processing messages and device.
Background technology
As shown in Figure 1, the device of existing processing messages is made of i.e. maintenance management module, messaging module and Service Processing Module three main functional modules.Wherein, the maintenance management module is used for finishing the maintenance management of data, and messaging module and Service Processing Module are used for finishing the processing of message.
As shown in Figure 2, the business processing flow of the device of existing processing messages is as follows: after receiving message, obtain source account number and number, in the account number table, obtain the source account by the source account number, from the FH-number transform table, obtain the data of FH-number transform and carry out FH-number transform, according to the number device needs after the conversion to the caller routing table, called routing table, the whole network routing table is carried out query processing, find the purpose account number according to route results, from the account number table, read purpose account and processing messages, calling number authentication table authentication calling number according to message, successful then whether be blacklist in account number black and white lists table look-up account number, whether be the related blacklist of account number in the related black and white lists table look-up of account number account number, whether be blacklist at number black and white lists table look-up number, work as in the related black and white name of number whether the table look-up number is related blacklist, data according to the message screening node table after message inspection is finished arrive message screening platform authentication message, according to the data of authentication directory to management platform wholesale price authentication, data according to the pre-payment directory are deducted fees to the prepaid platform inquiry, if step failure is arranged in flow processing, then message is returned failure and is replied the source network element, Message Processing is finished, output message.
From above-mentioned processing procedure as can be seen: all Message Processing of existing apparatus all are to handle at Service Processing Module, and the table that every one step of processing of Service Processing Module all need arrive correspondence is searched data, data disperse to be placed in many single tables of data, the method processing messages that adopts substep repeatedly to handle during processing, so repeatedly reprocessing number information and account, cause the device expense bigger, maintainability and extensibility are lower.
Summary of the invention
At above-mentioned shortcoming, the object of the present invention is to provide a kind of method based on the message number processing messages and device, problem such as solve effectively in the prior art that expense is big, data can not focus on, maintainability and extensibility are not high.
For achieving the above object, the present invention is achieved through the following technical solutions:
A kind of method based on the message number processing messages comprises the steps:
A, number attribute list, number relating attribute table and account number attribute list are set;
B, the message that sends according to the source network element are obtained source account number id and number, from the number attribute list, obtain the number attribute according to number, and according to number determined property number state whether normally and whether needs carry out processing such as authentication, filtration to described message, if normal or handle successfully, then change step C over to; If undesired or processing gets nowhere, then return the failure response result to the source network element;
C, from number relating attribute table, obtain purpose account number id according to described number, obtain success and then change step D over to; Otherwise, return the failure response result to the source network element;
D, from the account number attribute list, obtain the account number attribute according to the source account number id, the purpose account number id that obtain, whether normal according to account number determined property source account number, purpose account number state, if normal, then transmit described message to the purpose network element; Otherwise, return the failure response result to the source network element.
In the said method, described steps A is specific as follows:
Deposit the number base attribute in the number attribute list, the base attribute of described number comprises number and number conditional code; Preserve number record in number relating attribute table, described number record registration has the corresponding relation of number and account number, comprises number and account number id; Deposit the base attribute of account number in the account number attribute list, the base attribute of described account number comprises account number id and account number conditional code.
Said method, number described in the step B comprises source Mobile Station International ISDN Number, destination Mobile Station International ISDN Number and charge number.
In the said method, described step B is specific as follows:
B1, from the number attribute list, obtain the source Mobile Station International ISDN Number conditional code according to source Mobile Station International ISDN Number, source Mobile Station International ISDN Number conditional code and destination Mobile Station International ISDN Number are carried out matching operation, judge whether the source Mobile Station International ISDN Number state is normal, if normal, then change step B2 over to; Otherwise, return the failure response result to the source network element;
B2, from the number attribute list, obtain the destination Mobile Station International ISDN Number conditional code according to destination Mobile Station International ISDN Number, destination Mobile Station International ISDN Number conditional code and source Mobile Station International ISDN Number are carried out matching operation, judge whether the destination Mobile Station International ISDN Number state is normal, if normal, then change step B3 over to; Otherwise, return the failure response result to the source network element;
B3, from the number attribute list, obtain the charge number conditional code according to charge number, judge according to the charge number conditional code whether the charge number state is normal, if normal, then change step B4 over to, otherwise, the failure response result returned to the source network element;
Source Mobile Station International ISDN Number conditional code, destination Mobile Station International ISDN Number conditional code and charge number conditional code that B4, basis are obtained judge whether that needs carry out processing such as authentication, filtration, if do not need to handle, maybe need to handle and handle successfully, then change step C over to; If need to handle and handle and get nowhere, then return the failure response result to the source network element.
In the said method, the described failure response result of returning to the source network element is the Fail Type of number conditional code correspondence.
In the said method, described step C is specific as follows:
C1, in number relating attribute table, search source Mobile Station International ISDN Number record in the mode of long coupling according to source Mobile Station International ISDN Number, if match number, then change step C2 over to; Otherwise, change step C3 over to;
C2, read number related in the source Mobile Station International ISDN Number record, destination Mobile Station International ISDN Number is compared with related number, the match is successful, then changes step C4 over to; Otherwise, change step C3 over to;
C3, search in number relating attribute table according to destination Mobile Station International ISDN Number, find purpose account number id, then change step C4 over to; Otherwise, return the failure response result to the source network element;
Whether source account number id is identical with purpose account number id for C4, inspection, and difference is then exported purpose account number id; Otherwise, return the failure response result to the source network element.
In the said method, described step C also can comprise as follows:
Step X carries out first routing inquiry in the mode of long coupling according to source Mobile Station International ISDN Number or destination Mobile Station International ISDN Number or charge number (namely routing number) first in number relating attribute table, match data, then changes step Y over to; Otherwise, return the failure response result to the source network element;
Step Y judges whether to finish route according to the data of mating, if finish route, then exports purpose account number id; Otherwise, change step Z over to;
Step Z, according to one of remaining two numbers in source Mobile Station International ISDN Number, destination Mobile Station International ISDN Number and the charge number (being the secondary routing number) matched data in number relating attribute table, the match is successful, then exports purpose account number id; Otherwise, return the failure response result to the source network element.
In the said method, described step D is specific as follows:
D1, from the account number attribute list, obtain source account number conditional code according to source account number id, source account number conditional code and purpose account number id are carried out matching operation, judge whether source account number state is normal, if normal, then change step D2 over to; Otherwise, return the failure response result to the source network element;
D2, from the account number attribute list, obtain purpose account number conditional code according to purpose account number id, purpose account number conditional code and source account number id are carried out matching operation, judge whether purpose account number state is normal, if normal, then forward the message to the purpose network element; Otherwise, return the failure response result to the source network element.
Said method, among described step D1, the D2, the failure response result of returning to the source network element is the Fail Type of account number conditional code correspondence.
A kind of device based on the message number processing messages comprises: the messaging module, be used for the message that the reception sources network element sends, and obtain source account number id and the number of message, and transmit described message to the purpose network element; The maintenance management module is used for maintenance management; Described maintenance management module contains number attribute list, number relating attribute table and account number attribute list;
This device also comprises: number attribute processing module, and the number for obtaining according to the messaging module obtains the number attribute from the number attribute list, and according to number determined property number state, determines whether to carry out processing such as authentication, filtration;
The message routing module, the number for obtaining according to the messaging module obtains purpose account number id from number relating attribute table;
Account number attribute processing module is obtained the account number attribute according to the source account number id that obtains, purpose account number id from the account number attribute list, according to account number determined property source account number, purpose account number state, and determine whether to forward the message to described messaging module.
In the said apparatus, deposit the number base attribute in the described number attribute list, the base attribute of described number comprises number and number conditional code; Preserve number record in the number relating attribute table, described number record registration has the corresponding relation of number and account number, comprises number and account number id; Deposit the base attribute of account number in the described account number attribute list, the base attribute of described account number comprises account number id and account number conditional code.
In the said apparatus, described number comprises source Mobile Station International ISDN Number, destination Mobile Station International ISDN Number and charge number.
The present invention compared with prior art has following beneficial effect:
The present invention has concluded number attribute, account number attribute, relating attribute, revise existing substep and repeatedly handled the method for account, number information and routing iinformation, reduced and installed the expense that substep repeatedly reads data, deal with data, improved maintainability and the extensibility of device.
Description of drawings
Fig. 1 is the module diagram of the device of existing processing messages;
Fig. 2 is the schematic flow sheet of the device processing messages of existing processing messages;
Fig. 3 is the module diagram of apparatus of the present invention;
Fig. 4 is the Message Processing schematic flow sheet of the inventive method;
Fig. 5 is number attribute process chart of the present invention;
Fig. 6 is the flow chart of message route processing method of the present invention;
Fig. 7 is the flow chart of the another kind of processing method of message route of the present invention;
Fig. 8 is account number attribute process chart of the present invention.
Embodiment
In order to understand the present invention better, below in conjunction with the drawings and specific embodiments the present invention is done to describe further.
See also Fig. 3, the present invention is based on the device of message number processing messages, comprising: messaging module 301, maintenance management module 302, number attribute processing module 303, message routing module 304 and account number attribute processing module 305.Wherein,
Messaging module 301 is used for the message that the reception sources network element sends, and obtains source account number id, source Mobile Station International ISDN Number, destination Mobile Station International ISDN Number, the charge number of message, and transmit described message to purpose network element and retransmission failure response result to the source network element;
Maintenance management module 302 is used for maintenance management, contains number attribute list, number relating attribute table and account number attribute list, deposits the number base attribute in the described number attribute list, and the base attribute of number comprises number and number conditional code; Preserve number record in the number relating attribute table, the number record registration has the corresponding relation of number and account number, comprises number and account number id; Deposit the base attribute of account number in the described account number attribute list, the base attribute of account number comprises account number id and account number conditional code;
Number attribute processing module 303, for information such as the source Mobile Station International ISDN Number that obtains according to messaging module 301, destination Mobile Station International ISDN Number, charge numbers, obtain the number attribute from the number attribute list, and according to number determined property source Mobile Station International ISDN Number, destination Mobile Station International ISDN Number, charge number state, determine whether carry out processing such as authentication, filtration, and return the failure response result to described messaging module 301; For example, judge from the number state whether number is black and white lists, related black and white lists, whether sends a message to management platform wholesale price authentication message, whether sends a message to message screening platform authentication message content, whether send a message to the prepaid platform inquiry and deduct fees FH-number transform etc.;
Message routing module 304, source Mobile Station International ISDN Number, destination Mobile Station International ISDN Number, charge number for obtaining according to messaging module 301 obtain purpose account number id from number relating attribute table, and return the failure response result to described messaging module 301; Message routing module 304 can find purpose account number id according to " source Mobile Station International ISDN Number+destination Mobile Station International ISDN Number " route according to the needs of using; Perhaps find purpose account number id according to the secondary route;
Account number attribute processing module 305, from the account number attribute list, obtain the account number attribute according to the source account number id that obtains, purpose account number id, according to account number determined property source account number, purpose account number state, determine whether transmit message, return the failure response result to described messaging module 301.For example, can judge from the account number state whether account number is black and white lists, related black and white lists.
See also Fig. 4, the method that the present invention is based on the message number processing messages comprises the steps:
A, number attribute list, number relating attribute table and account number attribute list are set in maintenance management module 302; Deposit the base attribute of number in the number attribute list, the base attribute of number comprises number and number conditional code; Preserve number record in number relating attribute table, the corresponding relation of number record registration number and account number comprises number and account number id; Deposit the base attribute of account number in the account number attribute list, the base attribute of account number comprises account number id and account number conditional code;
B, messaging module 301 are obtained information such as source account number id, source Mobile Station International ISDN Number, destination Mobile Station International ISDN Number, charge number according to the message that the source network element sends, from the number attribute list, obtain the number attribute according to source Mobile Station International ISDN Number, destination Mobile Station International ISDN Number, charge number, and according to number determined property source Mobile Station International ISDN Number, destination Mobile Station International ISDN Number, charge number state whether normally and whether needs carry out processing such as authentication, filtration to described message, if normal or handle successfully, then change step C over to; If undesired or processing gets nowhere, then return the failure response result to the source network element;
C, message routing module 304 obtain purpose account number id according to source Mobile Station International ISDN Number, destination Mobile Station International ISDN Number, charge number from number relating attribute table, obtain success and then change step D over to; Otherwise, return the failure response result to the source network element;
Whether D, account number attribute processing module 305 obtains the account number attribute according to the source account number id, the purpose account number id that obtain from the account number attribute list, normal according to account number determined property source account number, purpose account number state, if normal, then transmits described message to the purpose network element; Otherwise, return the failure response result to the source network element.
See also Fig. 5, number attribute handling process is specific as follows among the above-mentioned steps B:
B1, from the number attribute list, obtain the source Mobile Station International ISDN Number conditional code according to source Mobile Station International ISDN Number, source Mobile Station International ISDN Number conditional code and destination Mobile Station International ISDN Number are carried out matching operation, judge whether the source Mobile Station International ISDN Number state is normal, if normal, then change step B2 over to; Otherwise, return the failure response result to the source network element; Wherein during matching operation, algorithm is as follows:
At first the source Mobile Station International ISDN Number conditional code is carried out shift operation, and then compare with destination Mobile Station International ISDN Number, judge whether to allow to send message according to comparative result.The conditional code of number is 11 byte longs, and first byte indicates the basic status (8 bit represent different conditions, and wherein the bit7 position is that 1 expression can not send a message to destination Mobile Station International ISDN Number) of number, and back 10 bytes indicate number.Be 0xF01391 such as the number state, 0xF0 represents that there is related blacklist in basic status, the number conditional code is obtained 0x1391 to 8 bit that move to left, application target number and 1391 relatively then, if destination Mobile Station International ISDN Number is 13912345678, then with 1391 the match is successful, expression source Mobile Station International ISDN Number 13512345678 (being assumed to be source Mobile Station International ISDN Number) does not allow to send a message to section No. 1391, and 139112345678 belong to this No. 1391 sections, therefore this device is just refused to transmit message, and returns the failure response result to the source network element; If destination Mobile Station International ISDN Number is 13922345678, then this device can receive this message.Whether number is blacklist and authentication, filtration etc. are judged according to the basic status value of number;
B2, from the number attribute list, obtain the destination Mobile Station International ISDN Number conditional code according to destination Mobile Station International ISDN Number, destination Mobile Station International ISDN Number conditional code and source Mobile Station International ISDN Number are carried out matching operation (the computing situation is the same with step B1), judge whether the destination Mobile Station International ISDN Number state is normal, if normally, then change step B3 over to; Otherwise, return the failure response result to the source network element;
B3, from the number attribute list, obtain the charge number conditional code according to charge number, judge charge number state whether normally (value of taking first byte of number conditional code according to note is judged its basic status) according to the charge number conditional code, if it is normal, then change step B4 over to, otherwise, return the failure response result to the source network element;
Source Mobile Station International ISDN Number conditional code, destination Mobile Station International ISDN Number conditional code and the charge number conditional code that B4, basis are obtained judges whether that needs carry out authentication, filtration etc. and handle (the basic status value according to number is judged), do not handle if do not need, maybe need to handle and handle successfully, then change step C over to; If need to handle and handle and get nowhere, then return the failure response result to the source network element.The failure response result of returning to the source network element among step B1, B2, B3, the B4 is the Fail Type of number conditional code correspondence.
See also Fig. 6, the idiographic flow of message route processing method is as follows among the above-mentioned steps C:
C1, in number relating attribute table, search source Mobile Station International ISDN Number record in the mode of long coupling according to source Mobile Station International ISDN Number, if match number (if source Mobile Station International ISDN Number does not exist, this moment application target number searching purpose account number id) in number relating attribute table, then change step C2 over to; Otherwise, change step C3 over to;
C2, read number related in the source Mobile Station International ISDN Number record, destination Mobile Station International ISDN Number is compared with related number, the match is successful, then changes step C4 over to; Otherwise, change step C3 over to; During coupling, in number relating attribute table, also exist a field to be the account number id field (when maintenance management module 302 increases the number information of this table record association, increasing) of related number home, number such as association is 133, the destination Mobile Station International ISDN Number that message sends is 13312345678, because 13312345678 belong to section No. 133, so an account number id of related number home is as purpose account number id;
C3, search in number relating attribute table according to destination Mobile Station International ISDN Number, find purpose account number id, then change step C4 over to; Otherwise, return the failure response result to the source network element;
Whether source account number id is identical with purpose account number id for C4, inspection, and difference is then exported purpose account number id; Otherwise, return the failure response result to the source network element.This step mainly judges whether it is the circulation route, is same if send the account number of message with the account number that receives message, and device is just refused the transmission of this circulation message so.
See also Fig. 7, the message route also can be used another kind of processing method among the above-mentioned steps C, and idiographic flow is as follows:
Step X carries out first routing inquiry in the mode of long coupling according to source Mobile Station International ISDN Number or destination Mobile Station International ISDN Number or charge number (namely routing number) first in number relating attribute table, match data, then changes step Y over to; Otherwise, return the failure response result to the source network element;
Step Y judges whether to finish route according to the data of mating, if finish route, then exports purpose account number id; Otherwise, change step Z over to;
Step Z, according to one of remaining two numbers in source Mobile Station International ISDN Number, destination Mobile Station International ISDN Number and the charge number (being the secondary routing number) matched data in number relating attribute table, the match is successful, then exports purpose account number id; Otherwise, return the failure response result to the source network element.
See also Fig. 8, account number attribute handling process is specific as follows among the above-mentioned steps D:
D1, from the account number attribute list, obtain source account number conditional code according to source account number id, source account number conditional code and purpose account number id are carried out matching operation, judge whether source account number state is normal, if normal, then change step D2 over to; Otherwise, return the failure response result to the source network element;
D2, from the account number attribute list, obtain purpose account number conditional code according to purpose account number id, purpose account number conditional code and source account number id are carried out matching operation, judge whether purpose account number state is normal, if normal, then forward the message to the purpose network element; Otherwise, return the failure response result to the source network element.Among step D1, the D2, the failure response result of returning to the source network element is the Fail Type of account number conditional code correspondence.
The present invention will be described below by a concrete application example, and in the message repeating process, the process of finishing Message Processing is as follows:
1) national SP1 (service provider) is 10688881 to send a message to MS1 (user) with source Mobile Station International ISDN Number, and this MS1 number is 13312345678, wherein needs the caller authentication in the configuration of SP1 account number, and the authentication number is 1068888; MS1 belongs to MC1 (message desk);
2) messaging module 301 obtains from the message of receiving that source Mobile Station International ISDN Number is 10688881, destination Mobile Station International ISDN Number and charge number be 13312345678, obtain source account number id (being the account number id of SP1) etc. according to the source network element that initiates a message simultaneously, the messaging module sends a message to number attribute processing module 303;
3) number attribute processing module 303 is obtained the number conditional code according to the number that obtains from the number attribute list, judge that according to the number conditional code obtained the normal and message of number state need arrive management platform wholesale price authentication, need the prepaid platform inquiry to deduct fees, messaging module 301 sends the wholesale price authentication request message to management platform then, the wholesale price authentication responses that management platform is returned is successfully, device calls messaging module 301 according to the wholesale price authenticating result and sends the User Status query requests to the state of prepaid platform inquiring user 13312345678, it is normal that prepaid platform is returned User Status, and the output message as a result that number attribute processing module 303 bases are returned is to message route 304 modules;
4) message routing module 304 is the account number id of MC1 and the account number id that exports MC1 according to source Mobile Station International ISDN Number, destination Mobile Station International ISDN Number, the charge number of message gets access to the purpose network element from number relating attribute table account number id;
5) account number attribute processing module 305 is obtained the conditional code of account number SP1 and the conditional code of MC1 from the number attribute list respectively according to the account number id of the SP1 that obtains and the account number id of MC1, normal from the account number conditional code judgement SP1 and the MC1 account number state that obtain, and it is 1068888 that the SP1 account number needs caller authentication, authentication number, the success of caller authentication, device calls messaging module 301 and sends a message to the MC1 network element, the user successfully receives the message that SP1 sends, message content is consistent with the message content that SP1 sends, and MS1 terminal display of calling number is 10688881.
The above only is preferred embodiment of the present invention; in order to limit the present invention, not should be pointed out that for the person of ordinary skill of the art; any modification of doing within every the spirit and principles in the present invention, be equal to and replace or improvement etc., all should be included within protection scope of the present invention.

Claims (9)

1. the method based on the message number processing messages is characterized in that, comprises the steps:
A, number attribute list, number relating attribute table and account number attribute list are set;
B, the message that sends according to the source network element are obtained source account number id and number, from the number attribute list, obtain the number attribute according to number, and according to number determined property number state whether normally and whether needs carry out authentication, filtration treatment to described message, if normal or handle successfully, then change step C over to; If undesired or processing gets nowhere, then return the failure response result to the source network element;
C, from number relating attribute table, obtain purpose account number id according to described number, obtain success and then change step D over to; Otherwise, return the failure response result to the source network element;
D, from the account number attribute list, obtain the account number attribute according to the source account number id, the purpose account number id that obtain, whether normal according to account number determined property source account number, purpose account number state, if normal, then transmit described message to the purpose network element; Otherwise, return the failure response result to the source network element
Described step B is specific as follows:
B1, from the number attribute list, obtain the source Mobile Station International ISDN Number conditional code according to source Mobile Station International ISDN Number, source Mobile Station International ISDN Number conditional code and destination Mobile Station International ISDN Number are carried out matching operation, judge whether the source Mobile Station International ISDN Number state is normal, if normal, then change step B2 over to; Otherwise, return the failure response result to the source network element;
B2, from the number attribute list, obtain the destination Mobile Station International ISDN Number conditional code according to destination Mobile Station International ISDN Number, destination Mobile Station International ISDN Number conditional code and source Mobile Station International ISDN Number are carried out matching operation, judge whether the destination Mobile Station International ISDN Number state is normal, if normal, then change step B3 over to; Otherwise, return the failure response result to the source network element;
B3, from the number attribute list, obtain the charge number conditional code according to charge number, judge according to the charge number conditional code whether the charge number state is normal, if normal, then change step B4 over to, otherwise, the failure response result returned to the source network element;
Source Mobile Station International ISDN Number conditional code, destination Mobile Station International ISDN Number conditional code and charge number conditional code that B4, basis are obtained judge whether that needs carry out authentication, filtration treatment, if do not need to handle, maybe need to handle and handle successfully, then change step C over to; If need to handle and handle and get nowhere, then return the failure response result to the source network element.
2. the method based on the message number processing messages according to claim 1 is characterized in that, described steps A is specific as follows: deposit the number base attribute in the number attribute list, the base attribute of described number comprises number and number conditional code; Preserve number record in number relating attribute table, described number record registration has the corresponding relation of number and account number, comprises number and account number id; Deposit the base attribute of account number in the account number attribute list, the base attribute of described account number comprises account number id and account number conditional code.
3. the method based on the message number processing messages according to claim 2 is characterized in that, number described in the step B comprises source Mobile Station International ISDN Number, destination Mobile Station International ISDN Number and charge number.
4. the method based on the message number processing messages according to claim 3 is characterized in that, described step C is specific as follows:
C1, in number relating attribute table, search source Mobile Station International ISDN Number record in the mode of long coupling according to source Mobile Station International ISDN Number, if match number, then change step C2 over to; Otherwise, change step C3 over to;
C2, read number related in the source Mobile Station International ISDN Number record, destination Mobile Station International ISDN Number is compared with related number, the match is successful, then changes step C4 over to; Otherwise, change step C3 over to;
C3, search in number relating attribute table according to destination Mobile Station International ISDN Number, find purpose account number id, then change step C4 over to; Otherwise, return the failure response result to the source network element;
Whether source account number id is identical with purpose account number id for C4, inspection, and difference is then exported purpose account number id; Otherwise, return the failure response result to the source network element.
5. the method based on the message number processing messages according to claim 1 is characterized in that, described step C is specific as follows:
Step X carries out first routing inquiry in the mode of long coupling according to source Mobile Station International ISDN Number or destination Mobile Station International ISDN Number or charge number in number relating attribute table, match data, then changes step Y over to; Otherwise, return the failure response result to the source network element;
Step Y judges whether to finish route according to the data of mating, if finish route, then exports purpose account number id; Otherwise, change step Z over to;
Step Z, according to the matched data in number relating attribute table of one of remaining two numbers in source Mobile Station International ISDN Number, destination Mobile Station International ISDN Number and the charge number, the match is successful, then exports purpose account number id; Otherwise, return the failure response result to the source network element.
6. according to claim 4 or 5 described methods based on the message number processing messages, it is characterized in that described step D is specific as follows:
D1, from the account number attribute list, obtain source account number conditional code according to source account number id, source account number conditional code and purpose account number id are carried out matching operation, judge whether source account number state is normal, if normal, then change step D2 over to; Otherwise, return the failure response result to the source network element;
D2, from the account number attribute list, obtain purpose account number conditional code according to purpose account number id, purpose account number conditional code and source account number id are carried out matching operation, judge whether purpose account number state is normal, if normal, then forward the message to the purpose network element; Otherwise, return the failure response result to the source network element.
7. device based on the message number processing messages comprises: the messaging module, be used for the message that the reception sources network element sends, and obtain source account number id and the number of message, and transmit described message to the purpose network element; The maintenance management module is used for maintenance management; It is characterized in that described maintenance management module contains number attribute list, number relating attribute table and account number attribute list;
This device also comprises: number attribute processing module, and the number for obtaining according to the messaging module obtains the number attribute from the number attribute list, and according to number determined property number state, determines whether to carry out authentication, filtration treatment;
The message routing module, the number for obtaining according to the messaging module obtains purpose account number id from number relating attribute table;
Account number attribute processing module is obtained the account number attribute according to the source account number id that obtains, purpose account number id from the account number attribute list, according to account number determined property source account number, purpose account number state, and determine whether to forward the message to described messaging module
Described number attribute processing module also is used for obtaining the source Mobile Station International ISDN Number conditional code according to source Mobile Station International ISDN Number from the number attribute list, and source Mobile Station International ISDN Number conditional code and destination Mobile Station International ISDN Number are carried out matching operation, judges whether the source Mobile Station International ISDN Number state is normal, if normal, then changes step B2 over to; Otherwise, return the failure response result to the source network element;
B2, from the number attribute list, obtain the destination Mobile Station International ISDN Number conditional code according to destination Mobile Station International ISDN Number, destination Mobile Station International ISDN Number conditional code and source Mobile Station International ISDN Number are carried out matching operation, judge whether the destination Mobile Station International ISDN Number state is normal, if normal, then change step B3 over to; Otherwise, return the failure response result to the source network element;
B3, from the number attribute list, obtain the charge number conditional code according to charge number, judge according to the charge number conditional code whether the charge number state is normal, if normal, then change step B4 over to, otherwise, the failure response result returned to the source network element;
Source Mobile Station International ISDN Number conditional code, destination Mobile Station International ISDN Number conditional code and charge number conditional code that B4, basis are obtained judge whether that needs carry out authentication, filtration treatment, if do not need to handle, maybe need to handle and handle successfully, then change step C over to; If need to handle and handle and get nowhere, then return the failure response result to the source network element.
8. the device based on the message number processing messages according to claim 7 is characterized in that, deposits the number base attribute in the described number attribute list, and the base attribute of described number comprises number and number conditional code; Preserve number record in the number relating attribute table, described number record registration has the corresponding relation of number and account number, comprises number and account number id; Deposit the base attribute of account number in the described account number attribute list, the base attribute of described account number comprises account number id and account number conditional code.
9. according to claim 7 or 8 described devices based on the message number processing messages, it is characterized in that described number comprises source Mobile Station International ISDN Number, destination Mobile Station International ISDN Number and charge number.
CN200910107588.XA 2009-05-31 2009-05-31 Message number-based message processing method and device Expired - Fee Related CN101902699B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200910107588.XA CN101902699B (en) 2009-05-31 2009-05-31 Message number-based message processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200910107588.XA CN101902699B (en) 2009-05-31 2009-05-31 Message number-based message processing method and device

Publications (2)

Publication Number Publication Date
CN101902699A CN101902699A (en) 2010-12-01
CN101902699B true CN101902699B (en) 2013-08-21

Family

ID=43227825

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200910107588.XA Expired - Fee Related CN101902699B (en) 2009-05-31 2009-05-31 Message number-based message processing method and device

Country Status (1)

Country Link
CN (1) CN101902699B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104144112A (en) * 2013-05-11 2014-11-12 王正伟 Message compatibility processing method
CN104144106B (en) * 2013-09-26 2015-11-25 腾讯科技(深圳)有限公司 A kind of message forwarding method, Apparatus and system
US10289642B2 (en) * 2016-06-06 2019-05-14 Baidu Usa Llc Method and system for matching images with content using whitelists and blacklists in response to a search query

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101335642A (en) * 2008-07-10 2008-12-31 中国移动通信集团山西有限公司 Service operation management method

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101335642A (en) * 2008-07-10 2008-12-31 中国移动通信集团山西有限公司 Service operation management method

Also Published As

Publication number Publication date
CN101902699A (en) 2010-12-01

Similar Documents

Publication Publication Date Title
CN102137389B (en) Multi-card mobile terminal and method for transferring data of SIM card
CN1711784B (en) System and method for sending SMS and text messages
US20070066280A1 (en) Connection management system, method and program
CN108429739B (en) Method, system and terminal equipment for identifying honeypots
CN102316416A (en) Access method for terminal and wireless communication network
CN101184014A (en) Auxiliary bridging equipment/circuit, telephone support and bridging operation method
CN105959934A (en) Repeated network access identification method and system
CN101902699B (en) Message number-based message processing method and device
JP7225410B2 (en) Method and apparatus for establishing optical cable connection
CN102082812B (en) Method, device and system for supporting file transfer between domain systems
Patel et al. A technique for multi-network access to multimedia messages
CN102421073B (en) Method and device for processing short message
CN106102027B (en) Short message batch based on MapReduce submits method
CN103888923A (en) Call proceeding method, system and device applied to virtual private mobile network
CN101790254A (en) Mobile phone terminal and system for supporting group communication and method thereof
US20050259666A1 (en) Method for distributing and collecting address information
CN1245822C (en) Connection information management system for connecting information used in communication between IC card management
CN103188331A (en) Information providing and obtaining method, device, system, server and terminals
CN101969620B (en) Method for charging industry short messages and short message gateway for implementing same
CN1128552C (en) Communications addressing network and terminal therefor
CN109460388A (en) Electronic card generation method, device and storage medium
CN109348074B (en) Communication sharing system, method, device, computer device and storage medium
CN109548185B (en) Group user number portability communication method and gateway mobile switching center
CN103067850B (en) Mobile communication service cost inquiry method and device and system
CN103297556A (en) Addressing processing method and system and network interface device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C41 Transfer of patent application or patent right or utility model
TR01 Transfer of patent right

Effective date of registration: 20161206

Address after: 350600 Luoyuan, Fuzhou Province, nine central building, floor, floor, No. 2,

Patentee after: LUOYUAN COUNTY PRODUCTIVITY PROMOTION CENTER

Address before: 518057 Nanshan District, Guangdong high tech Industrial Park, science and Technology Industrial Park, ZTE building, block A, layer 6, layer

Patentee before: ZTE Corp.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20201020

Address after: 6 / F, No.1, Dongwai Road, Fengshan Town, Luoyuan County, Fuzhou City, Fujian Province

Patentee after: Luoyuan product quality inspection institute

Address before: 350600 Luoyuan, Fuzhou Province, nine central building, floor, floor, No. 2,

Patentee before: LUOYUAN COUNTY PRODUCTIVITY PROMOTION CENTER

CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20130821