Disclosure of Invention
In view of the above technical problems, the present invention provides a short message routing method and system, a calling short message center and a domain name system, which implement the mutual sending of all-user type short messages in the CS domain, the IMS domain and between domains thereof based on the IMS network DNS query mode.
According to an aspect of the present invention, a short message routing method is provided, including:
under the condition of receiving a calling short message, sending a short message routing request to a domain name system;
receiving a called short message center IP address returned by a domain name system;
and sending the calling short message to the called short message center according to the IP address of the called short message center.
In an embodiment of the present invention, the sending the short message routing request to the domain name system includes:
initiating a service positioning query request to a domain name system, wherein the service positioning query request comprises a user service type and a domain name of a called user, and the service type is a short message service loaded on a transmission control protocol, so that the domain name system queries the domain name and a port of a called short message center corresponding to the called user according to the service positioning query request;
receiving a service positioning query request response message returned by a domain name system, wherein the service positioning query request response message comprises a domain name and a port of a called short message center;
and initiating an IP address query request to a domain name system, wherein the IP address query request comprises a domain name of a called short message center, so that the domain name system translates the domain name of the called short message center into the IP address of the called short message center.
In an embodiment of the present invention, the receiving the IP address of the called short message center returned by the domain name system includes:
and receiving an IP address query request response message returned by the domain name system, wherein the IP address query request response message comprises the IP address of the called short message center.
According to another aspect of the present invention, a short message routing method is provided, including:
receiving a short message routing request sent by a calling short message center, wherein the calling short message center sends the short message routing request to a domain name system under the condition of receiving a calling short message;
and returning the IP address of the called short message center to the calling short message center so that the calling short message center sends the calling short message to the called short message center according to the IP address of the called short message center.
In an embodiment of the present invention, the receiving a short message routing request sent by a calling short message center includes:
receiving a service positioning query request sent by a calling short message center, wherein the service positioning query request comprises a user service type and a called user domain name, and the service type is a short message service loaded on a transmission control protocol;
and inquiring the domain name and the port of the called short message center corresponding to the called party according to the service positioning inquiry request.
In an embodiment of the present invention, the receiving the short message routing request sent by the calling short message center further includes:
receiving an IP address query request sent by a calling short message center, wherein the IP address query request comprises a domain name of a called short message center;
and translating the domain name of the called short message center into the IP address of the called short message center, and then executing the step of returning the IP address of the called short message center to the calling short message center.
According to another aspect of the present invention, there is provided a caller id center, including:
the routing request sending module is used for sending a short message routing request to the domain name system under the condition of receiving the calling short message;
the IP address receiving module is used for receiving the IP address of the called short message center returned by the domain name system;
and the short message forwarding module is used for sending the calling short message to the called short message center according to the IP address of the called short message center.
In an embodiment of the present invention, the short message originating center is configured to perform operations for implementing the short message routing method according to any of the above embodiments.
According to another aspect of the present invention, there is provided a caller id center, including:
the calling short message center memory is used for storing instructions;
and the calling short message center processor is used for executing the instruction so that the calling short message center executes the operation of realizing the short message routing method in any embodiment.
According to another aspect of the present invention, there is provided a domain name system including:
the routing request receiving module is used for receiving a short message routing request sent by a calling short message center, wherein the calling short message center sends the short message routing request to a domain name system under the condition of receiving a calling short message;
and the IP address sending module is used for returning the IP address of the called short message center to the calling short message center so that the calling short message center sends the calling short message to the called short message center according to the IP address of the called short message center.
In an embodiment of the present invention, the domain name system is configured to perform an operation for implementing the short message routing method according to any of the above embodiments.
According to another aspect of the present invention, there is provided a domain name system including:
a domain name system memory for storing instructions;
and the domain name system processor is used for executing the instruction so that the domain name system executes the operation of realizing the short message routing method according to any embodiment.
According to another aspect of the present invention, there is provided a short message routing system, including: a short message calling center as described in any of the above embodiments, and a domain name system as described in any of the above embodiments.
According to another aspect of the present invention, there is provided a computer-readable storage medium storing computer instructions, which when executed by a processor, implement the short message routing method according to any of the above embodiments.
The invention solves the problem that the short message sending of non-IMS users can not be realized under the current mechanism, and realizes the universal short message sending of all-user types among the CS domain, the IMS domain and the domain thereof based on the DNS query mode of the IMS network.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the invention, its application, or uses. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The relative arrangement of the components and steps, the numerical expressions and numerical values set forth in these embodiments do not limit the scope of the present invention unless specifically stated otherwise.
Meanwhile, it should be understood that the sizes of the respective portions shown in the drawings are not drawn in an actual proportional relationship for the convenience of description.
Techniques, methods, and apparatus known to those of ordinary skill in the relevant art may not be discussed in detail but are intended to be part of the specification where appropriate.
In all examples shown and discussed herein, any particular value should be construed as merely illustrative, and not limiting. Thus, other examples of the exemplary embodiments may have different values.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, further discussion thereof is not required in subsequent figures.
The applicant found that: in the short message delivery routing mode shown in fig. 1, a calling party and a called party are IMS users, and after the short message center is queried by ENUM (e.164number URI Mapping)/DNS, the short message is routed to a called I-CSCF (querying Call Session Control Function network element) and an S-CSCF (Serving Call Session Control Function network element) and is connected to a called party by the called IMS.
Specific ENUM/DNS queries may be seen in the example shown in table 1:
TABLE 1
The short message routing has the following problems:
1. the mode is only suitable for short message transmission of users in the IMS domain and is not suitable for short message transmission of non-IMS users.
2. Only one time of sending can be realized, and the control of the called side on the short message cannot be realized.
Therefore, the applicant provides a short message method and mechanism based on DNS query and delivery among short message centers, which realizes the mutual sending of all-user type short messages commonly used in the CS domain, the IMS domain, and between domains thereof, and the following embodiment specifically describes the short message method and mechanism.
Fig. 2 is a schematic diagram of a short message routing system according to an embodiment of the present invention. As shown in fig. 2, the short message routing system may include a callingshort message center 1, a calledshort message center 2, and adomain name system 3, where:
the callingshort message center 1 is used for uniformly adopting DNS inquiry to carry out short message routing after receiving a calling short message.
In an embodiment of the present invention, the Service type is configured in the DNS query mode of the callingShort Message center 1, and the original Service type "SIP + D2T" is modified to "SMS (Short Message Service) + D2T", which means that the Short Message Service is carried on the TCP protocol.
In an embodiment of the present invention, when the originatingshort message center 1 initiates an SRV (service location) query, it carries the user service type ("SMS + D2T") and the provincial domain name containing the protocol "_ SMS. _ tcp".
And thedomain name system 3 and the ENUM are used for configuring the domain name and IP address translation of the attributive short message center of all user types.
And thedomain name system 3 is used for translating the SRV query of the callingshort message center 1 into a called short message center domain name and a called short message center port when the SRV query is judged to be of the protocol type of sm tcp.
Thedomain name system 3 is further configured to translate the domain name of the called short message center to the IP address of the called short message center when receiving an a query (IP address query request) from the callingshort message center 1.
In one embodiment of the invention,domain name system 3 may include ENUM/DNS.
The short message routing system provided by the embodiment of the invention is a short message routing system based on DNS query and transmission among short message centers. The above embodiments of the invention provide for: the short message service is transmitted by two stages of a calling short message center and a called short message center, when the calling short message center forwards a short message to another short message center based on an IMS domain, a DNS is firstly inquired, wherein the service protocol is marked as 'SMS + D2T', and the short message is borne on the TCP. The DNS translates a service protocol and a domain name 'sms.' tcp. province abbreviation 'ims.mnctyy.mccxxx.3 gppnetwork.org' into a corresponding province short message center network element identifier, thereby realizing the transmission of short message requests and response messages among different short message centers.
The embodiment of the invention solves the problem that the short message mutual sending of non-IMS users can not be realized based on the current mechanism, realizes the short message mutual sending of the CS domain, the IMS domain and the universal all-user type between the CS domain and the IMS domain based on the DNS query mode of the IMS network, and further provides an optimized short message routing scheme which is more in line with the requirement of safety control.
Fig. 3 is a schematic diagram of a short message routing method according to an embodiment of the present invention. Preferably, the embodiment can be executed by the short message routing system of the invention. As shown in fig. 3, the method comprises the steps of:
step 31, the calling short message center sends a short message routing request to the domain name system and receives the called short message center IP address returned by the domain name system under the condition of receiving the calling short message. Namely, after receiving the calling short message, the short message center uniformly adopts DNS query to perform short message routing.
TABLE 2
In an embodiment of the present invention, as shown in table 2, instep 31, the step of sending the short message routing request to the domain name system and receiving the IP address of the called short message center returned by the domain name system may include:
in step 311, the callingshort message center 1 sends a NAPTR (name Authority Pointer) query request to thedomain name system 3.
In step 312, thedomain name system 3 returns NAPTR query response to the shortmessage calling center 1.
Step 313, the callingshort message center 1 initiates a service location (SRV) query request to thedomain name system 3, where the service location query request includes a user service type and a called user domain name (for example, a provincial domain name including a Protocol "_ sms. _ TCP"), and the service type is a short message service carried on a TCP (Transmission Control Protocol).
In an embodiment of the present invention, the callingshort message center 1 configures a service type, and modifies the original service type "SIP + D2T" into "SMS + D2T", which means that the short message service is carried on the TCP protocol; when an SRV query is initiated, a provincial domain name containing a protocol _sms _ tcp is carried.
In step 314, thedomain name system 3 queries the domain name and the port of the calledshort message center 2 corresponding to the called user according to the service location query request.
In one embodiment of the invention, ENUM/DNS configures short message center domain names and IP address translations. When receiving SRV inquiry, DNS judges that the protocol type is _sms _ tcp, and translates the SRV inquiry to the domain name and port of the called side short message center.
Step 315, thedomain name system 3 returns a service location query request response message to the callingshort message center 1, wherein the service location query request response message includes the domain name and the port of the calledshort message center 2.
In step 316, the callingshort message center 1 sends an a query request (IP address query request) to thedomain name system 3, where the IP address query request includes the domain name of the calledshort message center 2.
In step 317, thedomain name system 3 translates the domain name of the calledshort message center 2 into the IP address of the calledshort message center 2.
Step 318, thedomain name system 3 returns an IP address query request response message to the callingshort message center 1, where the IP address query request response message includes the IP address of the calledshort message center 2.
And step 32, the callingshort message center 1 sends the calling short message to the calledshort message center 2 according to the IP address of the called short message center.
The short message routing method provided by the embodiment of the invention is a short message routing method based on DNS query transmission among short message centers, a main stream network (IMS) is adopted to receive short message service, and a calling short message center ENUM/DNS query is directly routed to a called short message center.
The above embodiments of the present invention are different from the original modes in that: the above embodiment of the present invention adopts a new service identifier "SMS + D2T" to represent the short message service; in the above embodiment of the present invention, the target network element is directly translated into the called short message center during SRV (service location) query.
The embodiment of the invention breaks through the limitation that the calling and the called are IMS users to forward the short message originally, realizes a universal method for directly transmitting the short message between the short message centers, and is suitable for the short message transmission of all user types.
The embodiment of the invention creates a route for sending short messages for the second time, and provides a second-level guarantee for the safety of the short messages.
The embodiment of the invention improves the short message routing mode on the basis of the existing IMS routing technology, shortens the short message transmission path and improves the service efficiency.
The embodiment of the invention can be widely applied to short message forwarding in the network and between networks, and realizes short message forwarding to the whole network by one-point access. The invention can replace the short message forwarding route based on the MAP (Mobile Application Part) protocol of the number seven signaling network at present, greatly simplifies the short message routing and improves the network efficiency.
Fig. 4 is a schematic diagram of a short message routing method according to another embodiment of the present invention. Preferably, the present embodiment can be executed by the short message calling center of the present invention. As shown in fig. 4, the method comprises the steps of:
step 41, the callingshort message center 1 sends a short message routing request to thedomain name system 3 under the condition of receiving the calling short message.
In an embodiment of the present invention, instep 41, the step of sending the short message routing request to thedomain name system 3 may include:
step 411, the callingshort message center 1 sends a service location query request to thedomain name system 3, where the service location query request includes a user service type and a domain name of a called user, and the service type is a short message service loaded on a transmission control protocol, so that thedomain name system 3 queries the domain name and a port of the calledshort message center 2 corresponding to the called user according to the service location query request.
In step 412, the callingshort message center 1 receives a service location query request response message returned by thedomain name system 3, where the service location query request response message includes the domain name and the port of the calledshort message center 2.
Step 413, the callingshort message center 1 sends an IP address query request to thedomain name system 3, wherein the IP address query request includes the domain name of the calledshort message center 2, so that thedomain name system 3 translates the domain name of the calledshort message center 2 into the IP address of the calledshort message center 2;
and step 42, receiving the IP address of the called short message center returned by thedomain name system 3.
In one embodiment of the present invention, step 42 may comprise: the callingshort message center 1 receives an IP address query request response message returned by thedomain name system 3, wherein the IP address query request response message comprises an IP address of the calledshort message center 2.
And 43, sending the calling short message to the calledshort message center 2 according to the IP address of the called short message center.
Based on the short message routing method provided by the embodiment of the invention, the short message routing method based on DNS query transmission among the short message centers is provided, so that the universal all-user type short messages among the CS domain, the IMS domain and the inter-domain can be mutually sent, and an optimized short message routing scheme meeting the safety control requirement is provided.
The short message service of the embodiment of the invention adopts a two-stage routing mode of a calling short message center and a called short message center.
Fig. 5 is a schematic diagram of an embodiment of a short message calling center according to the present invention. As shown in fig. 5, the callingshort message center 1 in the embodiment of fig. 2 may include a routingrequest sending module 11, an IPaddress receiving module 12, and a shortmessage forwarding module 13, where:
and the routingrequest sending module 11 is configured to send a short message routing request to thedomain name system 3 in the case of receiving the calling short message.
And the IPaddress receiving module 12 is configured to receive the IP address of the called short message center returned by thedomain name system 3.
And the shortmessage forwarding module 13 is used for sending the calling short message to the calledshort message center 2 according to the IP address of the called short message center.
In an embodiment of the present invention, the shortmessage originating center 1 is configured to perform operations for implementing the short message routing method according to any of the embodiments (for example, the embodiment of fig. 4).
Based on the calling short message center provided by the embodiment of the invention, after receiving the calling short message, the DNS inquiry is uniformly adopted for short message routing. The service protocol identifier is set to "SMS + D2T", which means that the short message is carried on the TCP.
The embodiment of the invention breaks through the limitation that the calling and the called are IMS users to forward the short message originally, realizes a universal method for directly transmitting the short message between the short message centers, and is suitable for the short message transmission of all user types.
Fig. 6 is a schematic diagram of a short message calling center according to another embodiment of the present invention. As shown in fig. 6, thecaller id center 1 of the embodiment of fig. 2 may include a callerid center memory 18 and a callerid center processor 19, wherein:
and the caller shortmessage center memory 18 is used for storing instructions.
And a calling shortmessage center processor 19, configured to execute the instruction, so that the callingshort message center 1 performs an operation of implementing the short message routing method according to any of the above embodiments.
The embodiment of the invention creates a route for sending short messages for the second time, and provides a second-level guarantee for the safety of the short messages.
The embodiment of the invention improves the short message routing mode on the basis of the existing IMS routing technology, shortens the short message transmission path and improves the service efficiency.
The embodiment of the invention can be widely applied to short message forwarding in the network and between networks, and realizes short message forwarding to the whole network by one-point access. The invention can replace the short message forwarding route based on the MAP protocol of the signaling network No. seven at present, greatly simplifies the short message route and improves the network efficiency.
Fig. 7 is a schematic diagram of a short message routing method according to another embodiment of the present invention. Preferably, this embodiment can be performed by the domain name system of the present invention. As shown in fig. 7, the method comprises the steps of:
step 71, thedomain name system 3 receives a short message routing request sent by the callingshort message center 1, wherein the callingshort message center 1 sends the short message routing request to thedomain name system 3 under the condition of receiving the calling short message.
In an embodiment of the present invention, instep 71, the step of receiving the short message routing request sent by the originatingshort message center 1 may include:
step 711, receiving a service positioning query request sent by a callingshort message center 1 by adomain name system 3, wherein the service positioning query request includes a user service type and a called user domain name, and the service type is a short message service loaded on a transmission control protocol;
in step 712, thedomain name system 3 queries the domain name and port of the calledshort message center 2 corresponding to the called user according to the service location query request.
In step 713, thedomain name system 3 receives an IP address query request sent by the callingshort message center 1, where the IP address query request includes a domain name of the calledshort message center 2.
In step 714, thedomain name system 3 translates the domain name of the calledshort message center 2 into the IP address of the calledshort message center 2.
Step 72, thedomain name system 3 returns the called short message center IP address to the callingshort message center 1, so that the callingshort message center 1 sends the calling short message to the calledshort message center 2 according to the called short message center IP address.
Based on the short message routing method provided by the embodiment of the invention, the short message routing method based on DNS query transmission among the short message centers is provided, so that the universal all-user type short messages among the CS domain, the IMS domain and the inter-domain can be mutually sent, and an optimized short message routing scheme meeting the safety control requirement is provided.
Fig. 8 is a schematic diagram of an embodiment of a domain name system of the present invention. As shown in fig. 8, thedomain name system 3 of the embodiment of fig. 2 may include a routingrequest receiving module 31 and an IPaddress sending module 32, where:
the routingrequest receiving module 31 is configured to receive a short message routing request sent by the callingshort message center 1, where the callingshort message center 1 sends the short message routing request to thedomain name system 3 when receiving a calling short message.
The IPaddress sending module 32 is configured to return a called short message center IP address to the callingshort message center 1, so that the callingshort message center 1 sends the calling short message to the calledshort message center 2 according to the called short message center IP address.
In an embodiment of the present invention, thedomain name system 3 is configured to perform an operation for implementing the short message routing method according to any of the embodiments (for example, the embodiment of fig. 7) described above.
Based on the domain name system provided by the embodiment of the invention, the domain names of the attributive short message centers of all user types and IP address translation are configured, and the service protocol and the domain name' sms.
The embodiment of the invention breaks through the limitation that the calling and the called are IMS users to forward the short message originally, realizes a universal method for directly transmitting the short message between the short message centers, and is suitable for the short message transmission of all user types.
Fig. 9 is a schematic diagram of another embodiment of the domain name system of the present invention. As shown in fig. 9,domain name system 3 of the fig. 2 embodiment may include a domainname system memory 38 and a domainname system processor 39, wherein:
domainname system memory 38 for storing instructions.
A domainname system processor 39, configured to execute the instructions, so that thedomain name system 3 performs an operation of implementing the short message routing method according to any of the embodiments (for example, the embodiment in fig. 7) described above.
The embodiment of the invention creates a route for sending short messages for the second time, and provides a second-level guarantee for the safety of the short messages.
The embodiment of the invention improves the short message routing mode on the basis of the existing IMS routing technology, shortens the short message transmission path and improves the service efficiency.
The embodiment of the invention can be widely applied to short message forwarding in the network and between networks, and realizes short message forwarding to the whole network by one-point access. The invention can replace the short message forwarding route based on the MAP protocol of the signaling network No. seven at present, greatly simplifies the short message route and improves the network efficiency.
According to another aspect of the present invention, there is provided a computer-readable storage medium storing computer instructions, which when executed by a processor, implement the short message routing method according to any of the above embodiments.
The embodiment of the invention breaks through the limitation that the calling and the called are IMS users to forward the short message originally, realizes a universal method for directly transmitting the short message between the short message centers, and is suitable for the short message transmission of all user types.
The embodiment of the invention creates a route for sending short messages for the second time, and provides a second-level guarantee for the safety of the short messages.
The embodiment of the invention improves the short message routing mode on the basis of the existing IMS routing technology, shortens the short message transmission path and improves the service efficiency.
The embodiment of the invention can be widely applied to short message forwarding in the network and between networks, and realizes short message forwarding to the whole network by one-point access. The invention can replace the short message forwarding route based on the MAP protocol of the signaling network No. seven at present, greatly simplifies the short message route and improves the network efficiency.
The caller texting center and domain name system described above may be implemented as a general purpose processor, a Programmable Logic Controller (PLC), a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components, or any suitable combination thereof, for performing the functions described herein.
Thus far, the present invention has been described in detail. Some details well known in the art have not been described in order to avoid obscuring the concepts of the present invention. It will be fully apparent to those skilled in the art from the foregoing description how to practice the presently disclosed embodiments.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The description of the present invention has been presented for purposes of illustration and description, and is not intended to be exhaustive or limited to the invention in the form disclosed. Many modifications and variations will be apparent to practitioners skilled in this art. The embodiment was chosen and described in order to best explain the principles of the invention and the practical application, and to enable others of ordinary skill in the art to understand the invention for various embodiments with various modifications as are suited to the particular use contemplated.