Disclosure of Invention
The first purpose of the invention is to provide a method and a system for receiving short messages of the same-number service, so that a master terminal and a slave terminal of the same-number service can receive the short messages.
The second purpose of the invention is to provide a method and a system for sending short messages of the same number service, so that the number of a sending terminal in the attributes of the short messages sent by the same number service terminal is displayed as the main number of the same number service.
The third objective of the present invention is to provide a short message application gateway for the same number service, which is used to implement the conversion of the terminal numbers for receiving and sending short messages in the same number service and implement the short message forwarding of the same number service.
In order to achieve the first object of the present invention, a first aspect of the present invention provides a method for receiving a short message of a same number service, including:
inquiring a slave number corresponding to a master number for receiving the short message from a same-number service center;
and respectively pushing the short message to a master terminal corresponding to the master number and a slave terminal corresponding to the slave number.
The invention provides a method for receiving short messages of the same number service, which comprises the steps of inquiring a slave number corresponding to a master number in the same number service from a same number service center, and pushing the short messages to a master terminal corresponding to the master number and a slave terminal corresponding to the slave number respectively, so that the master terminal and the slave terminal of the same number service can receive the short messages, and the short messages in the same number service can be received.
In order to achieve the first object of the present invention, a second aspect of the present invention provides a system for receiving a short message of a same number service, including:
the same number service center is used for storing the corresponding relation between the master number and the slave number of the same number service;
the same-number service short message receiving gateway is connected with the same-number service center and used for inquiring a slave number corresponding to a master number for receiving the short message in the short message attribute from the same-number service center according to the received short message and respectively forwarding the short message to a short message gateway corresponding to the master number and a short message gateway corresponding to the slave number;
the main number short message gateway is connected with the same-number service short message receiving gateway and used for pushing the short message to a main terminal corresponding to the main number forwarded by the same-number service short message receiving gateway;
and the slave number short message gateway is connected with the same number service short message receiving gateway and is used for pushing the short message to a slave terminal corresponding to the slave number forwarded by the same number service short message receiving gateway.
The invention provides a receiving system of a short message of the same number service, which queries a slave number corresponding to a master number in the same number service from a same number service center through a receiving gateway of the same number service short message, respectively forwards the short message to short message gateways corresponding to the master number and the slave number, and pushes the short message to corresponding terminals through the short message gateways, so that the master terminal and the slave terminals of the same number service can both receive the short message, thereby realizing the short message receiving in the same number service and being beneficial to realizing the advantage complementation of a master number network system and a slave number network system.
In order to achieve the second object of the present invention, a third aspect of the present invention provides a method for sending a short message of a same number service, including:
inquiring a main number corresponding to a sending terminal number in the short message attribute from the same-number service center;
and modifying the sending terminal number in the short message attribute into the main number and sending the short message.
The third aspect of the invention provides a method for sending a short message of the same number service, which is characterized in that the main number corresponding to the sending terminal number in the short message attribute is inquired from a same number service center, the sending terminal number is modified into the main number and then the short message is sent, so that the sending terminal number in the short message attribute sent by the same number service terminal is displayed as the main number of the same number service, the short message is sent by the main number in the same number service, and the charging management in the same number service is facilitated.
In order to achieve the second object of the present invention, a fourth aspect of the present invention provides a system for sending a short message of a same number service, including:
the same number service center is used for storing the corresponding relation between the master number and the slave number of the same number service;
the same number service short message sending gateway is connected with the same number service center and used for inquiring a main number corresponding to a sending terminal number in short message attributes from the same number service center, modifying the sending terminal number in the short message attributes into the main number and forwarding the short message;
and the first short message gateway is connected with the same-number service short message sending gateway and used for forwarding the short message from the sending terminal to the same-number service short message sending gateway and pushing the short message forwarded by the same-number service short message sending gateway to the receiving terminal.
The invention provides a system for sending the short message of the same number service, which inquires the main number corresponding to the sending terminal number in the attribute of the short message from the same number service center through the same number service short message sending gateway, modifies the sending terminal number into the main number, returns the main number and sends the main number to the first short message gateway, and the first short message gateway sends the short message, so that the sending terminal number in the attribute of the short message sent by the same number service terminal is displayed as the main number of the same number service, thereby realizing the sending of the short message by the main number in the same number service, facilitating the charging management in the same number service, and being beneficial to realizing the advantage complementation of a main number network system and a slave number network system.
In order to achieve the third object of the present invention, a fifth aspect of the present invention provides a short message application gateway for a same number service, including:
the same number service short message receiving gateway is used for inquiring a slave number corresponding to a master number for receiving the short message in the short message attribute from the same number service center and respectively forwarding the short message to the short message gateways corresponding to the master number and the slave number;
and the same-number service short message sending gateway is used for inquiring the main number corresponding to the sending terminal number in the short message attribute from the same-number service center, modifying the sending terminal number in the short message attribute into the main number corresponding to the slave number, and forwarding the short message to the corresponding short message gateway for sending the short message.
The fifth aspect of the invention provides a same number service short message application gateway, which realizes the pushing of short messages to gateways corresponding to the master number and the slave number of the same number service by inquiring the corresponding relation between the master number and the slave number of the same number service to a same number service center, so that a master terminal and a slave terminal corresponding to the master number and the slave number can receive the short messages, in addition, the number of a terminal for sending the short messages is modified into the master number, so that the sending terminal sends the short messages by using the master number in the same number service, thereby realizing the receiving and sending of the same number service short messages, facilitating the charging management in the same number service, and being beneficial to realizing the advantage complementation of a master number network system and a slave number network system.
The technical solution of the present invention is further described in detail by the accompanying drawings and embodiments.
Detailed Description
The main number of the invention is as follows: when the same number service user is used as a calling user, the number is displayed to a called user; when the same number service user is used as a called user, the calling user calls the number; and at the same time, the telephone number used by the operator for charging. The slave number is another same number service number corresponding to the master number in the same number service. The main terminal is the main terminal corresponding to the main number, and the main number short message gateway is the short message gateway at the network side where the main terminal is located. The slave terminal is the slave terminal corresponding to the slave number, and the slave number short message gateway is the short message gateway at the network side where the slave terminal is located.
The technical scheme of the invention is explained in detail below by taking the same number service combining the fixed telephone network (PSTN) and the Personal Handyphone System (PHS) as an example.
Fig. 1 is a flow chart of an embodiment of a method for receiving a short message of a same number service in the present invention. In the embodiment, the PSTN number is the main number of the invention, the PSTN short message gateway is the main number short message gateway of the invention, and the fixed telephone is the main terminal of the invention; the PHS number is the slave number of the invention, the PHS short message gateway is the slave number short message gateway of the invention, and the personal hand-held telephone is the slave terminal of the invention; the same number service center and the same number service short message receiving gateway are positioned at one side of the PSTN short message gateway. As shown in fig. 1, the present embodiment includes:
step 11, the sending terminal sends a short message to a PSTN number (such as 666666);
step 12, a personal hand-held telephone short message gateway (PHS short message gateway) receives a short message sent by a sending terminal and forwards the short message to a same number service short message receiving gateway;
step 13, the same number service short message receiving gateway inquires a PHS number (for example, 888888) corresponding to a PSTN (for example, 666666) number for receiving the short message from the same number service center;
step 14, the same number service short message receiving gateway forwards the short message to a fixed telephone short message gateway (PSTN short message gateway);
step 15, the PSTN short message gateway pushes the short message to a fixed telephone corresponding to the PSTN number (for example: 666666);
step 16, the same number service short message receiving gateway modifies the receiving terminal number PSTN number (such as 666666) in the short message attribute into a PHS number (such as 888888), and then sends the short message to the PHS short message gateway;
step 17, the PHS short message gateway pushes the short message to the personal hand-held phone corresponding to the PHS number (for example, 888888).
In order to make compatibility between the short message receiving and processing procedures of the same number service and the non-same number service, in this embodiment, step 13 may further include: the same-number service short message receiving gateway judges whether the service attribute of the PSTN number receiving the short message is the same-number service, if so, step 13 is executed, otherwise, the short message is forwarded to a fixed telephone short message gateway (PSTN short message gateway), and the PSTN short message gateway pushes the short message to a fixed telephone corresponding to the PSTN number, thereby ending the short message receiving process.
The sending terminal in step 11 of this embodiment may specifically be a local PHS sending terminal, a foreign network user sending terminal, or other sending terminals.
The embodiment provides a method for receiving a short message of a same number service, which is characterized in that a PHS number corresponding to a PSTN number in the same number service is inquired to a same number service center, and the short message sent by a sending terminal is respectively pushed to a fixed telephone corresponding to the PSTN number and a personal handheld telephone corresponding to the PHS number, so that the fixed telephone and the personal handheld telephone in the same number service can both receive the short message, the advantage complementation of the network coverage advantage of the PSTN and the advantage of the PHS mobile communication is facilitated, and the upgrading network communication service based on the PSTN is realized.
On the basis of the technical scheme of the embodiment, technicians in the field can also use a PHS number as a master number and a PSTN number as a slave number; or the same number service bound by two physical terminal numbers of other different network systems, and the short message receiving mode of the same number service is similar to that of the embodiment and is not described again.
Fig. 2 is a schematic configuration diagram of a short message receiving system for the same number service according to a first embodiment of the present invention. In the embodiment, the PSTN number is the main number of the invention, the PSTN short message gateway is the main number short message gateway of the invention, and the fixed telephone is the main terminal of the invention; the PHS number is the slave number of the invention, the PHS short message gateway is the slave number short message gateway of the invention, and the personal hand-held telephone is the slave terminal of the invention. The same number service short message receiving gateway and the main number short message gateway are positioned at the same network side, namely the same number service short message receiving gateway is positioned at the network side of the main terminal; the same number service short message receiving gateway and the slave number short message gateway are positioned at the same network side, namely the same number service short message receiving gateway is positioned at the network side of the slave terminal. In this embodiment, the same-number service center, the same-number service short message receiving gateway and the main-number short message gateway are located on the same network side, that is: the same number service center and the same number service short message receiving gateway are positioned at one side of the PSTN short message gateway. As shown in fig. 2, the present embodiment includes:
a Subscriber Data System (SDC) 30 for storing the corresponding relationship between the PSTN number (666666 for example) and the PHS number (888888 for example) of the Subscriber Data System;
a same number service short message receiving gateway 40 connected with the same number service center 30 and used for inquiring the PHS number (such as 888888) corresponding to the receiving terminal PSTN number (such as 666666) in the short message attribute sent by the PHS short message gateway 50 from the same number service center 30, forwarding the short message to the PSTN short message gateway 60, modifying the receiving terminal PSTN number (such as 666666) in the short message attribute into a PHS number (such as 888888) and sending the PHS short message gateway 50;
the PHS short message gateway 50 is connected with the same-number service short message receiving gateway 40 and is used for receiving the short message sent by the sending terminal, sending the short message of which the receiving terminal number is a PSTN number (such as 666666) in the short message attribute to the same-number service short message receiving gateway 40, and pushing the short message to a personal handheld phone corresponding to the PHS number (such as 888888) according to the receiving terminal PHS number (such as 888888) in the short message attribute sent by the same-number service short message receiving gateway 40;
the PSTN short message gateway 60 is connected to the same-number service short message receiving gateway 40, and is configured to push the short message to a fixed telephone corresponding to a PSTN number (e.g., 666666) according to a receiving terminal PSTN number (e.g., 666666) in the short message attribute sent by the same-number service short message receiving gateway 40.
The embodiment provides a receiving system of a short message of the same number service, which is different from the prior art that after a PHS short message gateway receives a short message sent by a sending terminal, the embodiment sends the short message to the short message receiving gateway of the same number service instead of directly pushing the short message to a receiving terminal set in the attribute of the short message; the method comprises the steps that a PHS number corresponding to a receiving terminal PSTN number in short message attributes in the same number service is inquired from a same number service center through a same number service short message receiving gateway, short messages are respectively forwarded to a PSTN short message gateway and a PHS short message gateway, and the PSTN short message gateway and the PHS short message gateway respectively push the short messages to a fixed telephone corresponding to the PSTN number and a personal handheld telephone corresponding to the PHS number; therefore, both the fixed telephone and the personal hand-held telephone can receive the short message in the same number service, the network coverage advantage of the PSTN and the advantage of PHS mobile communication can be complemented, and the upgrading network communication service based on the PSTN is realized.
Fig. 3 is a schematic configuration diagram of a short message receiving system for the same number service according to a second embodiment of the present invention. The difference between this embodiment and the first embodiment of the short message receiving system for the same number service of the present invention is that this embodiment further includes a sending terminal 10, a fixed telephone 201, and a personal handheld telephone 202; the same number service short message receiving gateway 40 includes a first receiving module 401, a first query module 402 and a first forwarding module 403. The fixed telephone 201 is the main terminal for receiving the short message sent by the sending interruption 10; the personal handy phone 202 is a slave terminal for receiving a short message transmitted by the transmission interrupt 10.
The sending terminal 10 sends the short message, and the short message is forwarded to the first receiving module 401 of the same number service short message receiving gateway 40 through the PHS short message gateway 50.
The first receiving module 401 is connected to the PHS short message gateway 50 and is configured to receive a short message forwarded by the PHS short message gateway 50.
The first query module 402 is connected to the first receiving module 401 and the same-number service center 30, and is configured to query the same-number service center 30 for a PHS number (e.g., 888888) corresponding to a receiving terminal PSTN number (e.g., 666666) set in the short message attribute from the first receiving module 401.
The first forwarding module 403 is connected to the first query module 402, the PHS short message gateway 50 and the PSTN short message gateway 60, and is configured to forward the short message to the PSTN short message gateway 60 and the PHS short message gateway 50, respectively, according to the master number (PSTN number) and the slave number (PHS number) queried by the first query module 402. The PSTN short message gateway 60 pushes the short message to the main terminal corresponding to the main number, that is: a stationary telephone 201; the PHS short message gateway 50 pushes the short message to the slave terminal corresponding to the slave number, that is: a personal hand-held telephone 202.
In this embodiment, the PHS short message gateway 50 includes a second receiving module 501, a second forwarding module 502 and a first pushing module 503; wherein:
the second receiving module 501 is configured to receive a short message sent by the sending terminal 10;
the second forwarding module 502 is connected with the second receiving module 501 and the same-number service short message receiving gateway 40, and is configured to send the short message received by the second receiving module 501 to the same-number service short message receiving gateway 40;
the first pushing module 503 is connected to the same-number service short message receiving gateway 40, and is configured to send the short message forwarded by the same-number service receiving gateway 40 to the personal handheld phone 202 corresponding to the PHS number.
In this embodiment, the first forwarding module 403 may further specifically include a first forwarding unit 4031 and a second forwarding unit 4032, where:
the first forwarding unit 4031 is connected to the first query module 402 and the PSTN short message gateway 60, and is configured to forward the short message to the PSTN short message gateway 60 according to a query result of the first query module 402;
the second forwarding unit is connected to the first query module 402 and the PHS short message gateway 50, and configured to modify the PSTN number (e.g., 666666) of the receiving terminal in the short message attribute into a PHS number (e.g., 888888) according to the query result of the first query module 402, and forward the modified PHS number to the PHS short message gateway 50.
In this embodiment, the same-number service short message receiving gateway 40 may further specifically include a first determining module 404. The first determining module 404 is connected to the first receiving module 401, the first querying module 402 and the first forwarding module 403, and is configured to determine whether a service attribute of a receiving terminal PSTN number set in a short message attribute received by the first receiving module 401 is a same-number service, if so, send the short message to the first querying module 402, otherwise, send the short message to the first forwarding module 403, and forward the short message to the PSTN short message gateway 60 by the first forwarding module 403.
The PHS short message gateway of the embodiment forwards the short message to the same-number service short message receiving gateway, and the same-number service short message receiving gateway can inquire the corresponding PHS number of the PSTN number to the same-number service center when the service attribute of the receiving terminal PSTN number set in the short message attribute is the same-number service, and respectively forwards the short message to the PSTN short message gateway and the PHS short message gateway, so that the fixed telephone and the personal handheld telephone in the same-number service can both receive the short message, the advantage complementation of the network coverage advantage of the PSTN and the advantage of PHS mobile communication is facilitated, and the upgrading network communication service based on the PSTN is realized.
On the basis of the technical scheme of the embodiment, technicians in the field can also use a PHS number as a main number, a PHS short message gateway as a main number short message gateway, a PHS terminal as a main terminal, a PSTN number as a slave number, a PSTN short message gateway as a slave number short message gateway and a fixed telephone as a slave terminal; the same number service center and the same number service short message receiving gateway are positioned at one side of the PHS short message gateway. At this time, the PSTN short message gateway may specifically include a third receiving module, a third forwarding module and a second pushing module, wherein: the third receiving module is used for receiving the short message sent by the sending terminal; the third forwarding module is used for sending the short message received by the third receiving module to a short message receiving gateway of the same number service; the second pushing module is used for pushing the short message forwarded by the same-number service short message receiving gateway to the fixed telephone corresponding to the PSTN number. Or, on the basis of the technical solution of this embodiment, a person skilled in the art may also use a same-number service bound by two physical terminal numbers of other different network systems, and the structure of the short message receiving system of the same-number service is similar to that of this embodiment and is not described again.
Fig. 4 is a flowchart of an embodiment of a method for sending a short message of a same number service according to the present invention. In this embodiment, the PSTN number is the main number of the present invention, and the PHS short message gateway is the first short message gateway of the present invention; the same number service center and the same number service short message sending gateway are positioned at one side of the PSTN short message gateway. As shown in fig. 4, the present embodiment includes:
step 21, the PHS sending terminal (for example, the PHS number is 888888) sends the short message;
step 22, the PHS short message gateway receives the short message sent by the PHS sending terminal (if the PHS number is 888888), and forwards the short message to the same number service short message sending gateway;
step 23, the same number service short message sending gateway inquires the PSTN number (for example, 666666) corresponding to the sending terminal number (for example, 888888) in the short message attribute from the same number service center;
step 24, the same number service short message sending gateway modifies the sending terminal number (such as 888888) in the short message attribute into PSTN number (such as 666666) and then forwards the PSTN number to the PHS short message gateway;
step 25, the PHS short message gateway sends the short message.
In order to make the short message sending processing flow compatible with the same number service and the non-same number service, in this embodiment, step 23 may further include: the same number service short message receiving gateway judges whether the service attribute of the PHS number of the sending terminal in the short message attribute is the same number service, if yes, step 23 is executed, otherwise, the short message is forwarded to the PHS short message gateway, and the PHS short message gateway pushes the short message to the receiving terminal, and the short message sending process is ended.
In addition, in order to make the sending terminal number displayed to the target receiving terminal by the short message sent by the same-number service terminal in the same-number service be the main number charged by the operator, step 24 may further include: the same number service short message receiving gateway judges whether the number of the sending terminal in the short message attribute is a main number, if so, the short message is forwarded to a PHS short message gateway, and the PHS short message gateway pushes the short message to the receiving terminal to finish the short message sending process; otherwise step 24 is performed.
The embodiment provides a method for sending messages of the same number service, which comprises the steps of inquiring a PSTN number corresponding to a PHS number of a sending terminal in the attribute of the message from a same number service center, modifying the PHS number of the sending terminal in the attribute of the message into the PSTN number, forwarding the message to a PHS message gateway, and sending the message to a target receiving terminal through the PHS message gateway, so that the number of the sending terminal displayed by the message sent by the PHS sending terminal to the target receiving terminal is a main number for charging an operator, the charging management in the same number service is facilitated, the network coverage advantage of the PSTN and the advantage of PHS mobile communication are complemented, and the network communication upgrading service based on the PSTN is realized.
On the basis of the technical scheme of the embodiment, technicians in the field can also set a PHS number as a main number of the invention, a PSTN short message gateway is a first short message gateway of the invention, and a same-number service center and a same-number service short message sending gateway are positioned at one side of the PHS short message gateway. The method for sending the short message of the same number service is similar to that of the embodiment and is not described again.
Fig. 5 is a schematic configuration diagram of a system for sending short messages of the same number service according to a first embodiment of the present invention. In this embodiment, the PSTN number is the main number of the present invention, and the PHS short message gateway is the first short message gateway of the present invention, in this embodiment, the same-number service center and the same-number service short message sending gateway are located in different network tests from the first short message gateway (PHS short message gateway), that is: the same number service center and the same number service short message sending gateway are positioned at one side of the PSTN short message gateway. As shown in fig. 5, the present embodiment includes:
the same number service center 30 is used for storing the corresponding relation between the PSTN number (such as 666666) and the PHS number (such as 888888) of the same number service;
the same-number service short message sending gateway 70 is used for receiving the short message forwarded by the PHS short message gateway 50, inquiring the PSTN number (e.g. 666666) corresponding to the sending terminal PHS number (e.g. 888888) in the short message attribute from the same-number service center 30, modifying the sending terminal PHS number (e.g. 888888) in the short message attribute into the PSTN number (e.g. 666666) and forwarding the short message to the PHS short message gateway 50;
a PHS short message gateway 50 for receiving the short message sent by the PHS sending terminal and forwarding the short message to the same number service short message sending gateway 70; and forwards the short message of the same number service to the short message sending gateway 70 to push the short message to the target receiving terminal.
The embodiment provides a sending system of a short message of the same number service, which is different from the prior art that a PHS short message gateway forwards a short message to a target receiving terminal and forwards the short message to a short message sending gateway of the same number service; inquiring a PSTN number corresponding to a sending terminal PHS number in the short message attribute from a same-number service center through a same-number service short message sending gateway, modifying the sending terminal PHS number in the short message attribute into the PSTN number, then forwarding the short message to a PHS short message gateway, and sending the short message to a target receiving terminal through the PHS short message gateway; the method and the system have the advantages that the number of the sending terminal in the attribute of the short message sent by the same-number service terminal is displayed as the main number of the same-number service, so that the short message is sent by the main number in the same-number service, the charging management in the same-number service is facilitated, the advantage complementation of the network coverage advantage of the PSTN and the advantage of PHS mobile communication is facilitated, and the upgrading network communication service based on the PSTN is realized.
Fig. 6 is a schematic configuration diagram of a system for sending short messages of the same number service according to a second embodiment of the present invention. As shown in fig. 6, the difference between this embodiment and the first embodiment of the same-number service short message sending system of the present invention is that the same-number service short message sending gateway 70 of this embodiment includes a fourth receiving module 701, a second querying module 702, a second modifying module 703 and a second forwarding module 704. In addition, the present embodiment also includes a personal hand held telephone 202. In this embodiment, the personal handheld phone 202 is a sending terminal for sending a short message.
The fourth receiving module 701 is connected to the PHS short message gateway 50, and is configured to receive a short message sent by the personal handheld phone 202 and forwarded by the PHS short message gateway 50.
The second query module 702 is connected to the fourth receiving module 701, and is configured to query the public service center 30 for a PSTN number (e.g., 666666) corresponding to a PHS number (e.g., 888888) of the sending terminal of the short message.
The second modification module 703 is connected to the second query module 702, and is configured to modify the PHS number (e.g., 888888) of the sending terminal in the short message attribute into the PSTN number (e.g., 666666) according to the query result of the second query module 702.
The second forwarding module 704 is connected to the second modification module 703 and the PHS short message gateway 50, and is configured to forward the short message to the PHS short message gateway 50 according to the query result of the second query module 702.
In this embodiment, the same-number service short message receiving gateway may further specifically include a second determining module 705. The second determining module 705 is connected to the second querying module 702 and the second forwarding module 704, and is configured to determine whether a service attribute of a PHS number of a sending terminal set in a short message attribute is a same-number service according to a query result of the second querying module 702, if so, send the short message to the second querying module 702, otherwise, send the short message to the second forwarding module 704, and forward the short message to the PHS short message gateway 50 by the second forwarding module 704.
In this embodiment, the same-number service short message receiving gateway may further specifically include a third determining module 706. The third determining module 706 is connected to the fourth receiving module 701, the second querying module 702, the second modifying module 703 and the second forwarding module 704, and is configured to determine whether a PHS number of the sending terminal set in the short message attribute from the fourth receiving module 701 is a main number for charging by an operator, if so, send the short message to the second forwarding module 704, and forward the short message to the PHS short message gateway 50 by the second forwarding module 704; otherwise, the short message is sent to the second modification module 703.
In the embodiment, by specifically refining the same-number service short message sending gateway, the same-number service short message sending gateway can inquire the corresponding main number of the PHS number to the same-number service center when the service attribute of the sending terminal PHS number set in the short message attribute is the same-number service, modify the sending terminal PHS number set in the short message attribute into the PSTN number and send the modified PSTN number to the PHS short message gateway when the main number is the PSTN number, and send the short message by the PHS short message gateway; the method and the system have the advantages that the number of the sending terminal in the attribute of the short message sent by the same-number service terminal is displayed as the main number of the same-number service, so that the short message is sent by the main number in the same-number service, the charging management in the same-number service is facilitated, the advantage complementation of the network coverage advantage of the PSTN and the advantage of PHS mobile communication is facilitated, and the upgrading network communication service based on the PSTN is realized.
On the basis of the technical scheme of the embodiment, technicians in the field can also use a PHS number as a main number of the invention, and a PSTN short message gateway as a first short message gateway of the invention; the structure of the same number service short message sending system is similar to that of the embodiment, and is not described again.
The fifth aspect of the invention also provides a same-number service application gateway. The embodiment of the same-number service application gateway comprises a same-number service short message receiving gateway and a same-number service short message sending gateway. Wherein:
the same-number service short message receiving gateway is used for inquiring a PHS number (such as 888888) corresponding to a receiving terminal PSTN number (such as 666666) in short message attributes sent by the PHS short message gateway from the same-number service center, forwarding the short message to the PSTN short message gateway, modifying the receiving terminal PSTN number (such as 666666) in the short message attributes into a PHS number (such as 888888) and sending the PHS short message gateway;
the same number service short message sending gateway is used for receiving the short message forwarded by the PHS short message gateway, inquiring the PSTN number (such as 666666) corresponding to the sending terminal PHS number (such as 888888) in the short message attribute from the same number service center, modifying the sending terminal PHS number (such as 888888) in the short message attribute into the PSTN number (such as 666666) and then forwarding the short message to the PHS short message gateway.
For a specific implementation structure of the short message receiving gateway of the same number service in this embodiment, refer to fig. 3 and related text descriptions of the second embodiment of the short message receiving system of the same number service of the present invention; the specific implementation structure of the short message receiving gateway of the same number service in this embodiment can refer to fig. 6 and the related text description of the second embodiment of the short message sending system of the same number service of the present invention; and will not be described in detail.
When receiving the short message, the embodiment can realize that the PHS number corresponding to the PSTN number is inquired from the same-number service center when the service attribute of the receiving terminal PSTN number set in the short message attribute is the same-number service through the same-number service short message receiving gateway, and the short message is respectively forwarded to the PSTN short message gateway and the PHS short message gateway, thereby realizing that the fixed telephone and the personal hand-held telephone can receive the short message in the same-number service; when the embodiment sends the short message, the same-number service short message sending gateway can inquire the main number corresponding to the PHS number to the same-number service center when the service attribute of the sending terminal PHS number set in the short message attribute is the same-number service, modify the sending terminal PHS number set in the short message attribute into the PSTN number and forward the modified sending terminal PHS number to the PHS short message gateway when the main number is the PSTN number, and send the short message by the PHS short message gateway; therefore, the receiving and sending of the short message of the same number service are realized, the charging management in the same number service is convenient, and the complementary advantages of the master number network system and the slave number network system are favorably realized.
In the actual specific same-number communication service network architecture, the physical carriers of the same-number service short message receiving gateway, the same-number service short message sending gateway, the same-number service short message application gateway and other devices can be corresponding servers. The same-number service short message receiving gateway and the same-number service short message sending gateway can be used as an independent short message gateway respectively, can also be integrated in the same-number service short message application gateway, and are respectively used as two functional modules for realizing short message receiving and short message sending in the same-number service short message application gateway respectively. The same-number service short message receiving gateway, the same-number service short message sending gateway or the same-number service short message application gateway are respectively connected with a secondary short message gateway of the current network, a PSTN short message gateway and a PHS short message gateway, so as to realize the receiving and/or sending of the same-number service short message.
Those of ordinary skill in the art will understand that: modules in the embodiment device may be distributed in the embodiment device according to the embodiment description, and may be correspondingly changed in one or more devices different from the embodiment. The modules of the above embodiments may be combined into one module, or further split into multiple sub-modules.
The person skilled in the art can understand that the receiving method of the short message of the same number service can be operated in the receiving system of the short message of the same number service; the sending method of the same number service short message can be operated in the sending system of the same number service short message. The receiving system of the same number service short message and the sending system of the same number service short message are respectively used as two independent systems, and can also be integrated in one system to realize the sending of the same number service short message and the receiving of the same number service short message.
Those of ordinary skill in the art will understand that: the drawings are merely schematic representations of preferred embodiments, and the blocks or flows shown in the drawings are not necessarily required to practice the present invention.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Those of ordinary skill in the art will understand that: all or part of the steps for implementing the method embodiments may be implemented by hardware related to program instructions, and the program may be stored in a computer readable storage medium, and when executed, the program performs the steps including the method embodiments; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.