CN108322895A - A kind of message status querying method and the network equipment, gateway - Google Patents

A kind of message status querying method and the network equipment, gateway Download PDF

Info

Publication number
CN108322895A
CN108322895A CN201710029363.1A CN201710029363A CN108322895A CN 108322895 A CN108322895 A CN 108322895A CN 201710029363 A CN201710029363 A CN 201710029363A CN 108322895 A CN108322895 A CN 108322895A
Authority
CN
China
Prior art keywords
short message
gateway
user equipment
state
sms
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.)
Granted
Application number
CN201710029363.1A
Other languages
Chinese (zh)
Other versions
CN108322895B (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.)
China Mobile Communications Group Co Ltd
China Mobile Communications Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile Communications Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Mobile Communications Group Co Ltd, China Mobile Communications Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN201710029363.1A priority Critical patent/CN108322895B/en
Publication of CN108322895A publication Critical patent/CN108322895A/en
Application granted granted Critical
Publication of CN108322895B publication Critical patent/CN108322895B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/12Messaging; Mailboxes; Announcements
    • H04W4/14Short messaging services, e.g. short message services [SMS] or unstructured supplementary service data [USSD]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/21Monitoring or handling of messages
    • H04L51/234Monitoring or handling of messages for tracking messages
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/16Communication-related supplementary services, e.g. call-transfer or call-hold

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer And Data Communications (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Telephonic Communication Services (AREA)
  • Information Transfer Between Computers (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the invention discloses a kind of message status querying method, the method includes:The network equipment sends the first short message, is based on first short message, generates the SMS query request for issuing state for inquiring first short message;First short message is the short message that second user equipment is sent to from the first user equipment;With determining the corresponding service access of first user equipment gateway, by SMS query request with being sent to service access corresponding to first user equipment gateway;The response message for SMS query request that gateway is got with receiving the service access corresponding to first user equipment, first short message is carried in the response message issues state.The embodiment of the invention also discloses a kind of network equipment and gateways.

Description

A kind of message status querying method and the network equipment, gateway
Technical field
The present invention relates to the communication technology more particularly to a kind of message status querying methods and the network equipment, gateway.
Background technology
With on the fast development of mobile Internet and line to (O2O, Online To Offline), peer-to-peer network under line The explosive growth of network (P2P), application program (APP), will be used wider and wider for industry short message is general, while group customer (EC) requirement to the real-time of industry short message, safety and arrival rate is also higher and higher, as bank, electric business use industry short message Come send identifying code, short message password and payment notice etc., at this point, then very high to requirement of real-time.
At present in existing net for the high industry short message of requirement of real-time can not query messages state in time, in this way it is easier to draw Send out customer complaint.For example, certain bank-user during carrying out real-time deal, does not receive identifying code short message in time, complain to silver Row, and then complain to mobile communication carrier, at this point, due to group customer, i.e., certain bank can not real-time query short message issue State can only wait state report to be returned (Cmpp_Deliver) to determine the state that issues of short message, and state report returns May exist compared with long delay, and the default time that current state report returns is 48 hours, this means that EC is possible to Send the transmission state that just can confirm that short message in 48 hours after industry short message, if need to retransmit.This requires very timeliness The problem of for high industry short message (such as identifying code), necessarily leading to poor user experience, being easy to cause customer complaint.And it moves Common carrier industry gateway administrator also can not real-time query message specifically issue state, industry gateway short message A can only be passed through Mould report detail in the block is inquired, but there are 15 minutes time delays to 1 hour.Therefore, there is an urgent need for a kind of message status to look into Inquiry method can not real-time query to solve the problems, such as that existing industry short message issues state.
Invention content
To solve existing technical problem, an embodiment of the present invention provides a kind of message status querying method and networks Equipment, gateway can at least solve the above-mentioned problems in the prior art.
What the technical solution of the embodiment of the present invention was realized in:
First aspect of the embodiment of the present invention provides a kind of message status querying method, the method includes:
The network equipment sends the first short message, is based on first short message, generates for inquiring first short message Issue state SMS query request;First short message is to be sent to second user equipment from the first user equipment Short message;
SMS query request is sent to institute by with determining the corresponding service access of first user equipment gateway With stating the service access corresponding to the first user equipment gateway;
What gateway was got with receiving the service access corresponding to first user equipment is directed to the SMS query The response message of request, first short message is carried in the response message issues state;The state that issues includes At least one of following information:The service access earth mat Central Shanxi Plain for first short message transmission state, described the In the corresponding SMS service center of user ascription area of two user equipmenies for first short message transmission state and The second user equipment is directed to the reception state of first short message.
In said program, the network equipment is to be based on point-to-point (CMPP, China Mobile the Peer to of China Mobile Peer) agreement and receive and send messages;Accordingly, the SMS query request and response message are all based on China Mobile's point pair The information of point agreement.
In said program, the state that issues further includes:It is directed in the user ascription area gateway of the second user equipment The transmission state of first short message.
Second aspect of the embodiment of the present invention provides a kind of message status querying method, the method includes:
First gateway is received asks for inquire the SMS query for issuing state of the first short message, and described first short disappears Breath is the short message that second user equipment is sent to from the first user equipment;
SMS query request is sent to the SMS service center corresponding to the second user equipment, and is led to It crosses the SMS service center and obtains transmission state and the institute for being directed to first short message in the SMS service center State the reception state that second user equipment is directed to first short message;
Itself corresponding transmission state for first short message is obtained, by least one of following first information It is carried in the response message for SMS query request, sends the response message;Wherein, the first information includes: In the SMS service center described first is directed to for the transmission state of first short message, the second user equipment The transmission state of first short message is directed in the reception state of short message and first gateway.
In said program, the method further includes:
Detect first gateway whether be the second user equipment user ascription area gateway;
Accordingly, described that SMS query request is sent to the clothes of the short message corresponding to the second user equipment Business center, including:
When determination is, SMS query request is directly sent to the short message corresponding to the second user equipment Service centre;
Otherwise, the SMS query is asked to be sent to institute by the user ascription area gateway of the second user equipment State the SMS service center corresponding to second user equipment.
In said program, the method further includes:
SMS query request is sent to the user ascription area gateway of the second user equipment, and described in acquisition The transmission state of first short message is directed in user ascription area gateway;
Accordingly, described that at least one of following first information is carried on to the sound asked for the SMS query It answers in information, sends the response message, including:
At least one of following first information is carried in the response message asked for the SMS query, is sent out Send the response message;Wherein, the first information includes:For first short message in the SMS service center Transmission state, the second user equipment are directed in the reception state of first short message, first gateway for described The transmission state of first short message is directed in the transmission state of first short message and the user ascription area gateway.
In said program, first gateway is the service access ground gateway corresponding to the first user equipment, accordingly, institute The information exchange stated between the first gateway and the user ascription area gateway of second user equipment is carried out based on CMPP agreements.
In said program, the letter between first gateway SMS service center corresponding with the second user equipment Breath interaction is carried out based on point-to-point (SMPP, the Short Message Peer to Peer) agreement of short message.
The third aspect of the embodiment of the present invention provides a kind of network equipment, and the network equipment includes:
First transmission unit, for sending the first short message, first short message is to be sent to from the first user equipment The short message of second user equipment;
First information processing unit is generated for being based on first short message for inquiring first short message Issue the SMS query request of state;
Accordingly, first transmission unit is additionally operable to determine the corresponding service access earth mat of first user equipment It closes, by SMS query request with being sent to service access corresponding to first user equipment gateway;
First receiving unit, for the needle that gateway is got with receiving the service access corresponding to first user equipment To the response message of SMS query request, first short message is carried in the response message issues state; The state that issues includes at least one of following information:The service access earth mat Central Shanxi Plain is for first short message Transmission state, the second user equipment the corresponding SMS service center of user ascription area in be directed to first short message Transmission state and the second user equipment be directed to first short message reception state.
In said program, the state that issues further includes:It is directed in the user ascription area gateway of the second user equipment The transmission state of first short message.
Fourth aspect of the embodiment of the present invention provides a kind of first gateway, and first gateway includes:
Second receiving unit, the SMS query request for issuing state for receiving the first short message of inquiry, described the One short message is the short message that second user equipment is sent to from the first user equipment;
Second transmission unit, it is short corresponding to the second user equipment for SMS query request to be sent to Message service center;
Second information process unit, for obtaining needle in the SMS service center by the SMS service center Transmission state and the second user equipment to first short message are directed to the reception state of first short message, and Obtain itself corresponding transmission state for first short message;It is additionally operable to take at least one of following first information Band is in the response message asked for the SMS query;Wherein, the first information includes:In the SMS service center For the transmission state of first short message, the second user equipment for first short message reception state, with And the transmission state of first short message is directed in first gateway;
Accordingly, second transmission unit is additionally operable to send the response message.
In said program, second information process unit is additionally operable to detect whether first gateway is described second The user ascription area gateway of user equipment;
Accordingly, second transmission unit is additionally operable to determination when being, is directly sent to SMS query request SMS service center corresponding to the second user equipment;Otherwise, SMS query request is passed through described second The user ascription area gateway of user equipment is sent to the SMS service center corresponding to the second user equipment.
In said program, second transmission unit is additionally operable to SMS query request being sent to described second The user ascription area gateway of user equipment;Accordingly,
Second information process unit is additionally operable to obtain in the user ascription area gateway for first short message Transmission state;It is additionally operable at least one of following first information being carried on the response asked for the SMS query In information;Wherein, the first information includes:The transmission shape of first short message is directed in the SMS service center State, the second user equipment are directed to short for described first in the reception state of first short message, first gateway The transmission state of first short message is directed in the transmission state of message and the user ascription area gateway.
Message status querying method described in the embodiment of the present invention and the network equipment, gateway, by the network equipment to first The service access of user equipment ground gateway sends and is sent to the first short of second user equipment for inquiring from the first user equipment The SMS query request for issuing state of message realizes that by the service access of first user equipment gateway is inquired The purpose for issuing state of first short message, and then realize the purpose of short message real-time query, therefore, the embodiment of the present invention Solve the problems, such as existing industry short message issue state can not real-time query, the user experience is improved, and meets group customer Demand to real-time, and then lay a good foundation to effectively reduce complaint.
Description of the drawings
Fig. 1 is existing industry short message issuing flow chart;
Fig. 2 is the implementation process schematic diagram of one message status querying method of the embodiment of the present invention;
Fig. 3 is the implementation process schematic diagram of two message status querying method of the embodiment of the present invention;
Fig. 4 is the implementation process schematic diagram of this province of embodiment of the present invention industry short message real-time status inquiry;
Fig. 5 is the implementation process schematic diagram of industry short message real-time status inquiry transprovincially of the embodiment of the present invention;
Fig. 6 is the composed structure schematic diagram of the network equipment of the embodiment of the present invention;
Fig. 7 is the composed structure schematic diagram of gateway of the embodiment of the present invention.
Specific implementation mode
Fig. 1 is existing industry short message issuing flow chart;As shown in Figure 1, existing industry short message issuing flow includes:
Step 1:EC to service access Internet Short Message Gateway (ISMG, Internet Short Message Gateway the submission short message based on CMPP agreements, i.e. CMPP_Submit message) are sent;
Step 2:The service access of EC after ISMG receives the CMPP_Submit message, returned to EC based on CMPP's Submit short message response message, i.e. CMPP_Submit_Resp message;
Step 3:The service access of EC ISMG to receive user ascription area ISMG send the message forwarding based on CMPP disappear Breath, i.e. CMPP_Fwd message;
Step 4:After reception user ascription area ISMG receives the CMPP_Fwd message, to service access ISMG is returned Return message forwarding response message, i.e. CMPP_Fwd_Resp message;
Step 5:User ascription area ISMG is received to reception user ascription area SMS service center (SMSC, Short Message Service Center) send the submission short message data message based on SMPP agreements, i.e. SMPP:submit_sm Message;
Step 6:It receives user ascription area SMSC and receives the SMPP:After submit_sm message, return to user is received Possession ISMG returns to the submission short message data response message based on SMPP agreements, i.e. SMPP:Submit_sm_resp message;
Step 7:It receives user ascription area SMSC and is based on the SMPP:Submit_sm message issues short disappear to user terminal Breath;
Step 8:User terminal returns to short message response to reception user ascription area SMSC;
Step 9:Receive user ascription area SMSC based on the short message response received to receive user ascription area ISMG sends the state report for issuing short message data based on SMPP agreements, i.e. SMPP:Deliver_sm state reports;
Step 10:User ascription area ISMG is received to return based under SMPP agreements to the reception user ascription area SMSC The response message of short-message sending data status report, i.e. SMPP:Deliver_sm_resp message;
Step 11:Receive the SMPP that user ascription area ISMG will be received:Deliver_sm state reports are converted into base In the message forwarding state report of CMPP, i.e. Cmpp_Fwd state reports, and with feeding back to service access ISMG;
Step 12:Service access ISMG by the response message of the message forwarding state report based on CMPP, i.e. CMPP_ Fwd_Resp message is back to and receives user ascription area ISMG;
Step 13:Service access ISMG by the state report of the lower short-message sending based on CMPP, i.e. Cmpp_ Deliver state reports, submit to EC;
Step 14:EC is by the response message for issuing short message condition report based on CMPP, i.e. Cmpp_Deliver_ Resp message with being back to service access ISMG.
Obviously, it can be seen that there are message status blind areas, i.e. EC to obtain immediately at EC by the dotted box portion in Fig. 1 Know therefore the state that issues of short message reduces user experience.Further, very due to the workload for EC complaint handlings Greatly, group of each province industry gateway personnel will put into great effort to handle the complaint of group customer, and business transprovincially is complained Processing time is then longer, such as be directed to group's industry gateway accessing, or be related to forward transprovincially message complain, due to this province without Method inquiry issues state in detail, so needing to go to inquire to other province industry gateways corresponding to issue state.Therefore one is needed Kind can be in the method for real-time query industry SM status, and this method needs while supporting transprovincially to inquire SM status, from And the group customer demand high to requirement of real-time is better met, user experience is promoted, and then effectively reduce complaint.In order to It is enough more fully hereinafter to understand the features of the present invention and technology contents, the realization of the present invention is explained in detail below in conjunction with the accompanying drawings It states, appended attached drawing purposes of discussion only for reference, is not used for limiting the present invention.
Embodiment one
Present embodiments provide a kind of message status querying method;Here, the message status provided in this embodiment is looked into Inquiry method can not only real-time query industry SM status, while also supporting transprovincially to inquire SM status, to preferably Meet the needs of group customer is to real-time, promotes user experience, and then effectively reduce complaint.Specifically, Fig. 2 is that the present invention is real Apply the implementation process schematic diagram of one message status querying method of example;The method is applied to the network equipment, and here, the network is set Standby can be specially the corresponding network equipment of group customer, as shown in Fig. 2, the method includes:
Step 201:The network equipment sends the first short message, and first short message is to be sent to the from the first user equipment The short message of two user equipmenies;
Step 202:Based on first short message, generation disappears for inquiring the short of state that issue of first short message Cease inquiry request;
Step 203:With determining the corresponding service access of first user equipment gateway, the SMS query is asked With being sent to the service access corresponding to first user equipment gateway;
Step 204:What gateway was got with receiving the service access corresponding to first user equipment is directed to described short The response message of information query request, first short message is carried in the response message issues state;It is described to issue State includes at least one of following information:The service access earth mat Central Shanxi Plain is directed to the transmission shape of first short message State, the second user equipment the corresponding SMS service center of user ascription area in be directed to first short message transmission State and the second user equipment are directed to the reception state of first short message.
That is, gateway is got the network equipment with receiving the service access corresponding to first user equipment The response message for SMS query request, the lower hair-like of first short message is carried in the response message State, in this way, convenient for the network equipment state can be issued to first short message based on the response information acquisition. It is described to issue in state the hair for including the service access earth mat Central Shanxi Plain for first short message in one specific embodiment It send in the corresponding SMS service center of user ascription area of state, the second user equipment for first short message Transmission state and the second user equipment are directed to the reception state of first short message.
In one embodiment, the network equipment is received and sent messages based on CMPP agreements;Accordingly, described short Information query asks the information that China Mobile Peer to Peer Protocol is all based on response message.
Here, in practical applications, the service access residing for first user equipment gateway used with described second When user ascription area gateway residing for the equipment of family is identical, described issue in state includes that the service access earth mat Central Shanxi Plain is directed to The transmission state of first short message, the second user equipment the corresponding SMS service center of user ascription area in needle Transmission state and the second user equipment to first short message are directed to the reception state of first short message. And the ground of the service access residing for first user equipment gateway and the user attaching earth mat residing for the second user equipment When pass differs, such as transprovincially, at this point, the state that issues further includes then:The user ascription area gateway of the second user equipment In be directed to first short message transmission state.That is, in practical applications, residing for first user equipment Service access ground user ascription area gateway residing for gateway and second user equipment when differing, the network equipment is not only With needing to ask to be sent to by the SMS query service access corresponding to first user equipment gateway, it is also necessary to logical SMS query request is sent to the user attaching earth mat of the second user equipment by gateway with crossing the service access It closes, and then not only to get the transmission state that the service access earth mat Central Shanxi Plain is directed to first short message, also to obtain To the transmission state for first short message in the user ascription area gateway of the second user equipment, and also to pass through The user ascription area gateway of the second user equipment removes the corresponding short message clothes of the user ascription area of the second user equipment The transmission state in the SMS service center for first short message and the second user are obtained in business center It is directed to the reception state of first short message in equipment, and then goes to obtain first short message convenient for the network equipment Specifically issue state.
In this way, the method described in the embodiment of the present invention, by the network equipment to the service access earth mat of the first user equipment It closes, sends the short message for issuing state for inquiring the first short message for being sent to second user equipment from the first user equipment Inquiry request realizes that by the service access of first user equipment gateway inquires the lower hair-like of first short message The purpose of state, and then realize the purpose of short message real-time query, therefore, the embodiment of the present invention solves existing industry short message and issues State can not real-time query the problem of, the user experience is improved, and meets demand of the group customer to real-time, and then to have Effect is reduced to complain and be laid a good foundation.
Moreover, because the network equipment described in the embodiment of the present invention can not only get the service access of the first user equipment The earth mat Central Shanxi Plain is in the transmission state and the corresponding short message service of the second user equipment of first gateway device The reception shape of first short message is directed to for the transmission state of first short message and the second user equipment in the heart State, additionally it is possible to get the transmission shape that first short message is directed in the user ascription area gateway of the second user equipment State, so so that the embodiment of the present invention can also support transprovincially to inquire the transmission state of short message, further improve user's body It tests.
Embodiment two
Present embodiments provide a kind of message status querying method;Here, the message status provided in this embodiment is looked into Inquiry method can not only real-time query industry SM status, while also supporting transprovincially to inquire SM status, to preferably Meet the needs of group customer is to real-time, promotes user experience, and then effectively reduce complaint.Specifically, Fig. 3 is that the present invention is real Apply the implementation process schematic diagram of two message status querying method of example;The method is applied to the first gateway, as shown in figure 3, described Method includes:
Step 301:First gateway receives the SMS query request for issuing state for inquiring the first short message, described First short message is the short message that second user equipment is sent to from the first user equipment;
In practical applications, first gateway can be specially the service access earth mat corresponding to the first user equipment It closes, can also be specially the corresponding user ascription area gateway of the second user equipment.
Step 302:SMS query request is sent to the short message service corresponding to the second user equipment Center, and the transmission that first short message is directed in the SMS service center is obtained by the SMS service center State and the second user equipment are directed to the reception state of first short message;
Step 303:Itself corresponding transmission state for first short message is obtained, it will be in the following first information It is at least one to be carried in the response message asked for the SMS query, send the response message;Wherein, the first letter Breath includes:Transmission state, the second user equipment in the SMS service center for first short message are directed to The transmission state of first short message is directed in the reception state of first short message and first gateway.
In one embodiment, when first gateway is specially the service access earth mat of first user equipment Close, at this point, first gateway also need to detect first gateway whether be the second user equipment user ascription area Gateway, and then when determination is, SMS query request is directly sent to the second user equipment by first gateway Corresponding SMS service center;Otherwise, first gateway determines the user ascription area gateway of the second user equipment, And the SMS query is asked to be sent to the second user by the user ascription area gateway of the second user equipment SMS service center corresponding to equipment.
Further, in practical applications, when first gateway is not the user ascription area of the second user equipment When gateway, first gateway also needs to the user attaching that SMS query request is sent to the second user equipment Ground gateway, and the transmission state that first short message is directed in the user ascription area gateway is obtained, and then by following first At least one of information is carried in the response message asked for the SMS query, sends the response message;Its In, the first information includes:For the transmission state of first short message, described second in the SMS service center User equipment is directed to the transmission shape that first short message is directed in the reception state of first short message, first gateway The transmission state of first short message is directed in state and the user ascription area gateway.That is, in practical application In, service access residing for first user equipment ground gateway and the user attaching earth mat residing for the second user equipment When pass differs, it is right that the network equipment not only needs SMS query request being sent to first user equipment institute The service access answered ground gateway, it is also necessary to which by the service access SMS query request is sent to described by gateway The user ascription area gateway of second user equipment, and then not only to get the service access earth mat Central Shanxi Plain and be directed to described first The transmission state of short message will also get in the user ascription area gateway of the second user equipment and short disappear for described first The transmission state of breath, and also the second user equipment is gone by the user ascription area gateway of the second user equipment It is obtained in the corresponding SMS service center of user ascription area in the SMS service center for first short message The reception state of first short message is directed in transmission state and the second user equipment, in this way, being convenient for the network Equipment goes to obtain the specific of first short message and issues state.
In one embodiment, first gateway is the service access ground gateway corresponding to the first user equipment, right Ying Di, the information exchange between first gateway and the user ascription area gateway of second user equipment be based on CMPP agreements and It carries out.Further, in another specific embodiment, first gateway short message corresponding with the second user equipment Information exchange between service centre is carried out based on SMPP agreements.
In this way, the method described in the embodiment of the present invention, goes itself to correspond to and is directed to first short message by the first gateway Transmission state, and go to obtain the short message service using the SMS service center corresponding to the second user equipment The reception of first short message is directed in center for the transmission state of first short message and the second user equipment State, in this way, realizing the purpose for issuing state for obtaining the first short message, therefore, the embodiment of the present invention solves existing industry Short message issue state can not real-time query the problem of, the user experience is improved, and meets demand of the group customer to real-time, And then it lays a good foundation to effectively reduce complaint.
Moreover, because the first gateway described in the embodiment of the present invention can not only get the service access of the first user equipment The earth mat Central Shanxi Plain is in the transmission state and the corresponding short message service of the second user equipment of first gateway device The reception shape of first short message is directed to for the transmission state of first short message and the second user equipment in the heart State, additionally it is possible to get the transmission shape that first short message is directed in the user ascription area gateway of the second user equipment State, so so that the embodiment of the present invention can also support transprovincially to inquire the transmission state of short message, further improve user's body It tests.
The method described in the embodiment of the present invention is described in further details below by way of concrete application scene;Specifically, Method described in the present embodiment increases Message Opcode newly by CMPP agreements and SMPP agreements and realizes that the real-time status of industry short message is supervised Control, to solve the problems, such as that existing industry short message issues existing message status blind area;Specifically,
First, CMPP agreements increase the short message data query messages based on CMPP and are based on CMPP between EC and ISMG Short message data query response message, i.e. CMPP_QUERY_SM message CMPP_QUERY_SM_RESP message;
Second, CMPP agreements between ISMG and ISMG increase forward short message data query messages based on CMPP and Forward short message data query response message based on CMPP, i.e. CMPP_FWD_QUERY_SM message and CMPP_FWD_QUERY_ SM_RESP message, to realize the inquiry of SM status transprovincially;
Third, SMPP agreements increase the short message data based on SMPP agreements between industry gateway, i.e. ISMG and SMSC Query messages and short message data query response message based on SMPP agreements, i.e. SMPP_QUERY_SM message and SMPP_ QUERY_SM_RESP message.
In this way, by the way that mobile communication carrier's industry gateway is transformed, to support the real-time status of industry short message rank to look into It askes and transprovincially inquires.Here, in practical applications, gateway preserves the state of message, real-time query is supported with this, moreover, short Message status querying flow uses synchronous query mechanism, and supports that the administration page triggering by information query, industry gateway is looked into It askes.
Fig. 4 is the implementation process schematic diagram of this province of embodiment of the present invention industry short message real-time status inquiry;Such as Fig. 4 institutes Show, this includes the step of industry short message real-time status is inquired inside the province:
Step 1:EC submits CMPP_QUERY_SM message to reception user ascription area ISMG;
Step 2:Receiving user ascription area ISMG submits SMPP_QUERY_SM message to reception user ascription area SMSC;
Step 3:It receives user ascription area SMSC and short message is issued by state and end by SMPP_QUERY_SM_RESP message End reception state, which is back to, receives user ascription area ISMG;
Step 4:Short message will be directed to by CMPP_QUERY_SM_RESP message by receiving user ascription area ISMG in itself Message status (i.e. gateway messages state), and message status (the i.e. short message for receiving user ascription area SMSC and returning that receives Issue state and terminal reception state) return to EC;
Step 5:The state that EC passes through the CMPP_QUERY_SM_RESP message real-time query short messages of return.
Fig. 5 is the implementation process schematic diagram of industry short message real-time status inquiry transprovincially of the embodiment of the present invention;Such as Fig. 5 institutes Show, transprovincially industry short message real-time status inquire the step of include:
Step 1:EC submits CMPP_QUERY_SM message to reception user ascription area ISMG;
Step 2:Service access ISMG submit CMPP_FWD_QUERY_SM message to reception user ascription area ISMG;
Step 3:Receiving user ascription area ISMG submits SMPP_QUERY_SM message to reception user ascription area SMSC;
Step 4:It receives user ascription area SMSC and short message is issued by state and end by SMPP_QUERY_SM_RESP message End reception state, which is back to, receives user ascription area ISMG;
Step 5:Reception user ascription area ISMG will be in itself for short by CMPP_FWD_QUERY_SM_RESP message The message status of letter and the message status for receiving user ascription area SMSC returns (i.e. short message issues state and terminal reception state) With returning to service access ISMG;
Step 6:The service access ground ISMG message shapes that (i.e.) are issued gateway by CMPP_QUERY_SM_RESP message State, also referred to as gateway messages state are (with receiving message status and the service access in user ascription area ISMG for the short message The message status of the short message is directed in ISMG) and receive the message status of user ascription area ISMG return and return to EC;
Step 7:The state that EC passes through the CMPP_QUERY_SM_RESP message real-time query short messages of return.
Here, since the method described in the embodiment of the present invention is the transmission flow based on existing industry short message, by Increase Message Opcode in CMPP agreements and SMPP agreements newly and realize the real-time query process of industry short message state, so, without compared with Big transformation and upgrade, you can fast implement the real time monitoring of industry short message state, the user experience is improved.
Embodiment three
A kind of network equipment is present embodiments provided, as shown in fig. 6, the network equipment includes:
First transmission unit 61, for sending the first short message, first short message is to be sent from the first user equipment To the short message of second user equipment;
First information processing unit 62 is generated for being based on first short message for inquiring first short message Issue state SMS query request;
Accordingly, first transmission unit 61 is additionally operable to determining the corresponding service access of first user equipment Gateway, by SMS query request with being sent to service access corresponding to first user equipment gateway;
First receiving unit 63 is got for receiving the service access corresponding to first user equipment gateway For the response message of SMS query request, the lower hair-like of first short message is carried in the response message State;The state that issues includes at least one of following information:The service access earth mat Central Shanxi Plain short disappears for described first The transmission state of breath, the second user equipment the corresponding SMS service center of user ascription area in for described first short The transmission state of message and the second user equipment are directed to the reception state of first short message.
In one embodiment, the state that issues further includes:Needle in the user ascription area gateway of the second user equipment To the transmission state of first short message.
It need to be noted that be:The description of the above network equipment embodiment, the description with above method embodiment are classes As, there is with embodiment of the method similar advantageous effect, therefore do not repeat.For in inventive network apparatus embodiments not The technical detail of disclosure please refers to the description of the method for the present invention embodiment and understands, to save length, therefore repeats no more.
Example IV
A kind of first gateway is present embodiments provided, as shown in fig. 7, first gateway includes:
Second receiving unit 71, the SMS query request for issuing state for receiving the first short message of inquiry are described First short message is the short message that second user equipment is sent to from the first user equipment;
Second transmission unit 72, for SMS query request to be sent to corresponding to the second user equipment SMS service center;
Second information process unit 73, for being obtained in the SMS service center by the SMS service center Transmission state and the second user equipment for first short message are directed to the reception state of first short message, with And obtain itself corresponding transmission state for first short message;It is additionally operable at least one of following first information It is carried in the response message for SMS query request;Wherein, the first information includes:The SMS service center In for the transmissions state of first short message, the second user equipment be directed to first short message reception state, And the transmission state of first short message is directed in first gateway;
Accordingly, second transmission unit 72 is additionally operable to send the response message.
In one embodiment, second information process unit 73 is additionally operable to detect whether first gateway is described The user ascription area gateway of second user equipment;
Accordingly, second transmission unit 72 is additionally operable to determination when being, directly asks to send by the SMS query To the SMS service center corresponding to the second user equipment;Otherwise, SMS query request is passed through described the The user ascription area gateway of two user equipmenies is sent to the SMS service center corresponding to the second user equipment.
In another embodiment, second transmission unit 72 is additionally operable to SMS query request being sent to institute State the user ascription area gateway of second user equipment;Accordingly,
Second information process unit 73 is additionally operable to obtain in the user ascription area gateway and short disappears for described first The transmission state of breath;It is additionally operable at least one of following first information being carried on the sound asked for the SMS query It answers in information;Wherein, the first information includes:The transmission shape of first short message is directed in the SMS service center State, the second user equipment are directed to short for described first in the reception state of first short message, first gateway The transmission state of first short message is directed in the transmission state of message and the user ascription area gateway.
It need to be noted that be:The description of the above first gateway embodiment item is similar, tool with above method description There is the identical advantageous effect of same embodiment of the method, therefore does not repeat.For undisclosed in the first gateway embodiment of the invention Technical detail, those skilled in the art please refer to the description of the method for the present invention embodiment and understand, to save length, here not It repeats again.
It should be understood by those skilled in the art that, the embodiment of the present invention can be provided as method, system or computer program Product.Therefore, the shape of hardware embodiment, software implementation or embodiment combining software and hardware aspects can be used in the present invention Formula.Moreover, the present invention can be used can use storage in the computer that one or more wherein includes computer usable program code The form for the computer program product implemented on medium (including but not limited to magnetic disk storage and optical memory etc.).
The present invention be with reference to according to the method for the embodiment of the present invention, the flow of equipment (system) and computer program product Figure and/or block diagram describe.It should be understood that can be realized by computer program instructions every first-class in flowchart and/or the block diagram The combination of flow and/or box in journey and/or box and flowchart and/or the block diagram.These computer programs can be provided Instruct the processor of all-purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce A raw machine so that the instruction executed by computer or the processor of other programmable data processing devices is generated for real The device for the function of being specified in present one flow of flow chart or one box of multiple flows and/or block diagram or multiple boxes.
These computer program instructions, which may also be stored in, can guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works so that instruction generation stored in the computer readable memory includes referring to Enable the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one box of block diagram or The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device so that count Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, in computer or The instruction executed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one The step of function of being specified in a box or multiple boxes.
The above is only the embodiment of the embodiment of the present invention, it is noted that for the ordinary skill of the art For personnel, under the premise of not departing from principle of the embodiment of the present invention, can also make several improvements and retouch, these improve and Retouching also should be regarded as the protection domain of the embodiment of the present invention.

Claims (13)

1. a kind of message status querying method, which is characterized in that the method includes:
The network equipment sends the first short message, is based on first short message, generates for inquiring under first short message The SMS query of hair-like state is asked;First short message is to be sent to the short of second user equipment from the first user equipment to disappear Breath;
SMS query request is sent to described the by with determining the corresponding service access of first user equipment gateway Service access corresponding to one user equipment ground gateway;
What gateway was got with receiving the service access corresponding to first user equipment asks for the SMS query Response message, first short message is carried in the response message issues state;The state that issues includes following At least one of information:Transmission state, second use of the service access earth mat Central Shanxi Plain for first short message For the transmission state of first short message and described in the corresponding SMS service center of user ascription area of family equipment Second user equipment is directed to the reception state of first short message.
2. according to the method described in claim 1, it is characterized in that, the network equipment is to be based on the point-to-point CMPP of China Mobile Agreement and receive and send messages;Accordingly, the SMS query request and response message are all based on point-to-point association of China Mobile The information of view.
3. method according to claim 1 or 2, which is characterized in that the state that issues further includes:The second user is set The transmission state of first short message is directed in standby user ascription area gateway.
4. a kind of message status querying method, which is characterized in that the method includes:
First gateway receives the SMS query request for issuing state for inquiring the first short message, and first short message is The short message of second user equipment is sent to from the first user equipment;
SMS query request is sent to the SMS service center corresponding to the second user equipment, and passes through institute It states SMS service center and obtains transmission state and described the in the SMS service center for first short message Two user equipmenies are directed to the reception state of first short message;
Itself corresponding transmission state for first short message is obtained, at least one of following first information is carried In the response message asked for the SMS query, the response message is sent;Wherein, the first information includes:It is described Short disappear for described first for the transmission state of first short message, the second user equipment in SMS service center The transmission state of first short message is directed in the reception state of breath and first gateway.
5. according to the method described in claim 4, it is characterized in that, the method further includes:
Detect first gateway whether be the second user equipment user ascription area gateway;
Accordingly, in the short message service that SMS query request is sent to corresponding to the second user equipment The heart, including:
When determination is, SMS query request is directly sent to the short message service corresponding to the second user equipment Center;
Otherwise, the SMS query is asked to be sent to described the by the user ascription area gateway of the second user equipment SMS service center corresponding to two user equipmenies.
6. according to the method described in claim 5, it is characterized in that, the method further includes:
SMS query request is sent to the user ascription area gateway of the second user equipment, and obtains the user The transmission state of first short message is directed in ownership place gateway;
Accordingly, described that at least one of following first information is carried on to the response letter asked for the SMS query In breath, the response message is sent, including:
At least one of following first information is carried in the response message asked for the SMS query, institute is sent State response message;Wherein, the first information includes:The transmission of first short message is directed in the SMS service center State, the second user equipment, which are directed in the reception state of first short message, first gateway, is directed to described first The transmission state of first short message is directed in the transmission state of short message and the user ascription area gateway.
7. according to the method described in claim 6, it is characterized in that, first gateway is the industry corresponding to the first user equipment Business access ground gateway, accordingly, the information exchange between first gateway and the user ascription area gateway of second user equipment It is carried out based on the point-to-point CMPP agreements of China Mobile.
8. according to the method described in claim 5, it is characterized in that, first gateway is corresponding with the second user equipment Information exchange between SMS service center is carried out based on the point-to-point SMPP agreements of short message.
9. a kind of network equipment, which is characterized in that the network equipment includes:
First transmission unit, for sending the first short message, first short message is to be sent to second from the first user equipment The short message of user equipment;
First information processing unit is generated for being based on first short message for inquiring issuing for first short message The SMS query of state is asked;
Accordingly, first transmission unit is additionally operable to determining the corresponding service access of first user equipment gateway, will SMS query request with being sent to the service access corresponding to first user equipment gateway;
First receiving unit is directed to institute for what with receiving the service access corresponding to first user equipment gateway was got The response message of SMS query request is stated, first short message is carried in the response message issues state;It is described The state of issuing includes at least one of following information:The service access earth mat Central Shanxi Plain is directed to the transmission of first short message State, the second user equipment the corresponding SMS service center of user ascription area in be directed to first short message hair State and the second user equipment is sent to be directed to the reception state of first short message.
10. the network equipment according to claim 9, which is characterized in that the state that issues further includes:The second user The transmission state of first short message is directed in the user ascription area gateway of equipment.
11. a kind of first gateway, which is characterized in that first gateway includes:
Second receiving unit, the SMS query request for issuing state for receiving the first short message of inquiry, described first is short Message is that the short message of second user equipment is sent to from the first user equipment;
Second transmission unit, for SMS query request to be sent to the short message corresponding to the second user equipment Service centre;
Second information process unit is directed to institute for being obtained by the SMS service center in the SMS service center The transmission state and the second user equipment for stating the first short message are directed to the reception state of first short message, and obtain Itself corresponding transmission state for first short message;It is additionally operable at least one of following first information being carried on For in the response message of SMS query request;Wherein, the first information includes:It is directed in the SMS service center The transmission state of first short message, the second user equipment are directed to the reception state of first short message, Yi Jisuo State the transmission state that first short message is directed in the first gateway;
Accordingly, second transmission unit is additionally operable to send the response message.
12. the first gateway according to claim 11, which is characterized in that second information process unit is additionally operable to examine Survey first gateway whether be the second user equipment user ascription area gateway;
Accordingly, second transmission unit is additionally operable to determination when being, is directly sent to SMS query request described SMS service center corresponding to second user equipment;Otherwise, SMS query request is passed through into the second user The user ascription area gateway of equipment is sent to the SMS service center corresponding to the second user equipment.
13. the first gateway according to claim 12, which is characterized in that second transmission unit, being additionally operable to will be described SMS query asks the user ascription area gateway for being sent to the second user equipment;Accordingly,
Second information process unit is additionally operable to obtain the hair that first short message is directed in the user ascription area gateway Send state;It is additionally operable at least one of following first information being carried on the response message asked for the SMS query In;Wherein, the first information includes:For the transmission state of first short message, institute in the SMS service center Second user equipment is stated to be directed in the reception state of first short message, first gateway for first short message The transmission state of first short message is directed in transmission state and the user ascription area gateway.
CN201710029363.1A 2017-01-16 2017-01-16 Message state query method, network device and gateway Active CN108322895B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710029363.1A CN108322895B (en) 2017-01-16 2017-01-16 Message state query method, network device and gateway

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710029363.1A CN108322895B (en) 2017-01-16 2017-01-16 Message state query method, network device and gateway

Publications (2)

Publication Number Publication Date
CN108322895A true CN108322895A (en) 2018-07-24
CN108322895B CN108322895B (en) 2021-08-06

Family

ID=62890848

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710029363.1A Active CN108322895B (en) 2017-01-16 2017-01-16 Message state query method, network device and gateway

Country Status (1)

Country Link
CN (1) CN108322895B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110557728A (en) * 2018-06-01 2019-12-10 中国移动通信有限公司研究院 short message sending method, device and network equipment

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101616382A (en) * 2008-06-27 2009-12-30 中兴通讯股份有限公司 A kind of operational approach of returning short message and system
CN103167441A (en) * 2011-12-15 2013-06-19 中国移动通信集团公司 Short message issuing method, device and system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101616382A (en) * 2008-06-27 2009-12-30 中兴通讯股份有限公司 A kind of operational approach of returning short message and system
CN103167441A (en) * 2011-12-15 2013-06-19 中国移动通信集团公司 Short message issuing method, device and system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
WEAN: "【SMS】移动短信网关返回信息状态代码说明【China Mobile】", 《互联网获取:HTTPS://WWW.CNBLOGS.COM/WEAN/ARCHIVE/2012/12/12/2815422.HTML》 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110557728A (en) * 2018-06-01 2019-12-10 中国移动通信有限公司研究院 short message sending method, device and network equipment

Also Published As

Publication number Publication date
CN108322895B (en) 2021-08-06

Similar Documents

Publication Publication Date Title
Soni et al. A survey on mqtt: a protocol of internet of things (iot)
JP6289642B2 (en) Method and apparatus for document sharing between user groups
CN109067728A (en) Access control method, device, server and the storage medium of application programming interfaces
CN105704036B (en) Message forwarding method, device and system
CN103384181B (en) The transmission method and equipment of data packet
WO2011026340A1 (en) Method and system for displaying network topology view
CN104144098A (en) Information pushing method and system and pushing server equipment
CN104679528B (en) The newer method and apparatus of application program remote
CN108696400A (en) network monitoring method and device
CN105592163B (en) A kind of communication means and system
CN102625287A (en) Method for downloading mobile phone application software
CN106656911A (en) Portal authentication method, access device and management server
KR20140092172A (en) Method of pushing web service and server performing the same
CN105050202A (en) Method of establishing communication session using active connection of mobile terminal to relay server
CN103491156A (en) Method and system for enabling circles and groups to be synchronous based on converged communication
CN109729115A (en) Realize method, apparatus, the proxy server, terminal device of distributed computing
CN108243026A (en) Lan device communication management method, system and gateway device
CN103795581B (en) Address processing method and equipment
CN102999503A (en) Achieving method and system for forwarding to microblog
CN112104679B (en) Method, apparatus, device and medium for processing hypertext transfer protocol request
CN104426956A (en) Terminal status subscription method, apparatus and system
CN104469770B (en) Towards WLAN authentication methods, platform and the system of third-party application
CN108322895A (en) A kind of message status querying method and the network equipment, gateway
CN106464728A (en) Method of handling notification channel disconnection
CN110798495A (en) Method and server for end-to-end message push in cluster architecture mode

Legal Events

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