WO2020063725A1 - 一种发送消息的方法、设备及计算机可读存储介质 - Google Patents

一种发送消息的方法、设备及计算机可读存储介质 Download PDF

Info

Publication number
WO2020063725A1
WO2020063725A1 PCT/CN2019/108065 CN2019108065W WO2020063725A1 WO 2020063725 A1 WO2020063725 A1 WO 2020063725A1 CN 2019108065 W CN2019108065 W CN 2019108065W WO 2020063725 A1 WO2020063725 A1 WO 2020063725A1
Authority
WO
WIPO (PCT)
Prior art keywords
message
sent
address
data packet
called terminal
Prior art date
Application number
PCT/CN2019/108065
Other languages
English (en)
French (fr)
Inventor
王国才
徐莹
何克荣
Original Assignee
南京中兴软件有限责任公司
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 南京中兴软件有限责任公司 filed Critical 南京中兴软件有限责任公司
Priority to BR112021006156-8A priority Critical patent/BR112021006156A2/pt
Priority to EP19864906.3A priority patent/EP3860166A4/en
Publication of WO2020063725A1 publication Critical patent/WO2020063725A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M3/00Automatic or semi-automatic exchanges
    • H04M3/42Systems providing special services or facilities to subscribers
    • H04M3/42025Calling or Called party identification service
    • H04M3/42034Calling party identification service
    • H04M3/42059Making use of the calling party identifier
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/10Architectures or entities
    • H04L65/102Gateways
    • H04L65/1033Signalling gateways
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/1066Session management
    • H04L65/1069Session establishment or de-establishment
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/55Push-based network services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/561Adding application-functional data or data for application control, e.g. adding metadata
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/22Parsing or analysis of headers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M3/00Automatic or semi-automatic exchanges
    • H04M3/42Systems providing special services or facilities to subscribers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M3/00Automatic or semi-automatic exchanges
    • H04M3/42Systems providing special services or facilities to subscribers
    • H04M3/42025Calling or Called party identification service
    • H04M3/42085Called party identification service
    • H04M3/42102Making use of the called party identifier
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M3/00Automatic or semi-automatic exchanges
    • H04M3/42Systems providing special services or facilities to subscribers
    • H04M3/50Centralised arrangements for answering calls; Centralised arrangements for recording messages for absent or busy subscribers ; Centralised arrangements for recording messages
    • H04M3/53Centralised arrangements for recording incoming messages, i.e. mailbox systems
    • H04M3/533Voice mail systems
    • H04M3/53333Message receiving aspects
    • H04M3/53341Message reply
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/12Messaging; Mailboxes; Announcements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/50Service provisioning or reconfiguring
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/26Network addressing or numbering for mobility support
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2207/00Type of exchange or network, i.e. telephonic medium, in which the telephonic communication takes place
    • H04M2207/18Type of exchange or network, i.e. telephonic medium, in which the telephonic communication takes place wireless networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M7/00Arrangements for interconnection between switching centres
    • H04M7/006Networks other than PSTN/ISDN providing telephone service, e.g. Voice over Internet Protocol (VoIP), including next generation networks with a packet-switched transport layer
    • H04M7/0075Details of addressing, directories or routing tables
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/12Setup of transport tunnels

Definitions

  • the present disclosure relates to communication technologies, and in particular, to a method, device, and computer-readable storage medium for sending messages.
  • Party B In specific communication business scenarios, for example, after Party A communicates with Party B, Party B is expected to automatically reply to Party A with a message edited by Party B in advance.
  • the carrier that implements this function is usually Appears as a Service Provider (SP, Service Provider).
  • SP Service Provider
  • the sender is the SP's access number or the multimedia message center's identification number (MMSCID, Multimedia Message Service Center IDentity). Waiting for the number information, but can not be displayed as Party B's number information; To implement the function of displaying the sender of the message to Party B as Party A's number information, Party A needs to manually edit and send.
  • the owner wants to reply to the customer with a multimedia message that the sender is the owner's mobile phone number.
  • the above function can only be implemented by manual editing.
  • embodiments of the present disclosure provide a method, a device, and a computer-readable storage medium for sending messages.
  • the method for sending a message includes: receiving a calling terminal number and a called terminal number sent by a mobile switching center MSC; obtaining an IP address of a user agent UA of the called terminal, and assigning the IP The address is associated with the number of the calling terminal to obtain association information; the association information is sent to the wireless application protocol gateway WAPGW; after receiving the response in which the WAPGW successfully records the association information, the data of the message to be sent is sent.
  • the source IP address of the packet is set to the IP address of the UA of the called terminal, the number of the sender of the data packet of the message to be sent is set to the number of the called terminal, and the message to be sent after the setting is completed
  • the data packet is sent to the WAPGW.
  • a computer-readable storage medium on which a computer program is stored, wherein when the computer program is executed by a processor, the steps of any one of the foregoing message sending methods are implemented.
  • An embodiment of the present disclosure further provides a method for sending a message.
  • the method includes: receiving and recording association information of an IP address of a user agent UA of a called terminal and a number of a calling terminal, and a source of the association information. Sending a response for successfully recording the association information; receiving a data packet of a message to be sent, the data packet of the message to be sent meets: a source IP address is an IP address of the UA of the called terminal, and data of the message to be sent The number of the sender of the packet is the number of the called terminal; query the number of the calling terminal according to the UA IP address of the called terminal and the associated information, and query the number of the calling terminal The number of the receiver of the data packet of the message to be sent is set; and the data packet of the message to be sent after the setting is completed is sent to the multimedia message service center MMSC.
  • a computer-readable storage medium on which a computer program is stored, wherein when the computer program is executed by a processor, the steps of any one of the foregoing message sending methods are implemented.
  • An embodiment of the present disclosure also provides a device for sending a message.
  • the device includes: a number receiving module for receiving a calling terminal number and a called terminal number sent by a mobile switching center MSC; an association module for obtaining An IP address of a user agent UA of the called terminal, and associating the IP address with the number of the calling terminal to obtain association information; an association information sending module configured to transmit the association information to a wireless application protocol Sent by the gateway WAPGW; a setting module, after receiving the response that the WAPGW successfully records the association information, sets the source IP address of the data packet of the message to be sent as the IP address of the UA of the called terminal, and sets the standby The number of the sender of the data packet sending the message is set to the number of the called terminal; the message sending module is configured to send the data packet of the message to be sent after the setting is completed to the WAPGW.
  • An embodiment of the present disclosure further provides a gateway device, where the gateway device includes:
  • An association information receiving module for receiving and recording association information of the IP address of the user agent UA of the called terminal and the number of the calling terminal; a response module for sending a successful record of the association information to a source of the association information Response; a message receiving module for receiving a data packet of a message to be sent, the data packet of the message to be sent meets: a source IP address is an IP address of the UA of the called terminal, and the data packet of the message to be sent The number of the sender is the number of the called terminal; a query module is used to query the number of the calling terminal according to the UA IP address of the called terminal and the associated information; a number setting module is used to The number of the called calling terminal is set to the number of the receiver of the data packet of the message to be sent; the message sending module sends the data packet of the message to be sent to the multimedia message service center MMSC after the setting is completed.
  • FIG. 1 is a schematic flowchart of a method for sending a message according to an embodiment of the present disclosure
  • FIG. 2 is a schematic diagram of a service flow for sending a message according to an embodiment of the present disclosure
  • FIG. 3 is a schematic flowchart of a method for sending a message according to an embodiment of the present disclosure
  • FIG. 4 is a schematic structural diagram of a message sending device according to an embodiment of the present disclosure.
  • FIG. 5 is a schematic structural diagram of a message sending device according to an embodiment of the present disclosure.
  • FIG. 6 is a schematic structural diagram of a gateway device according to an embodiment of the present disclosure.
  • FIG. 7 is a schematic structural diagram of a message sending device according to an embodiment of the present disclosure.
  • the messages sent in the embodiments of the present disclosure may be information such as multimedia messages, short messages, and VMS voices.
  • the following uses the sending of messages as multimedia messages as an example for detailed description.
  • the method for sending messages in the embodiments of the present disclosure may be selected as a newly added network. It can be an MMS platform, which can be composed of an analog UA module and an analog gateway GPRS support node GGSN module, which are hereinafter referred to as the UA module and the RAD_C module, respectively.
  • FIG. 1 is a schematic flowchart of a method for sending a message according to an embodiment of the present disclosure. As shown in FIG. 1, the method for sending a message includes the following steps:
  • Step 101 Receive the number of the calling terminal and the number of the called terminal sent by the mobile switching center MSC.
  • the service provisioning information will be synchronized to the MSC.
  • the RAD_C module of the MMS platform simulates the function of the GGSN and receives the number of the calling terminal and Call the number of the terminal.
  • the number of the calling terminal is set as the receiver of the MMS, and the number of the called terminal is set as the sender of the MMS.
  • the interface between the RAD_C module and the MSC network element can use the UDP protocol for communication.
  • Step 102 Obtain the IP address of the user agent UA of the called terminal, and associate the IP address with the number of the calling terminal to obtain association information.
  • the correspondence between the IP address of the called terminal UA and the number of the calling terminal is established to obtain the associated information.
  • the IP address of the UA module of the MMS platform is set to the IP address of the called terminal.
  • Step 103 Send the association information to a wireless application protocol gateway WAPGW.
  • the RAD_C module of the MMS platform simulates the function of the GGSN, requests online information from the WAPGW, and associates the obtained UA IP address with the number of the calling terminal through the RADIUS interface set on the RAD_C module. The message is sent to WAPGW.
  • Step 104 After receiving the response that the WAPGW successfully records the association information, set the source IP address of the data packet of the message to be sent to the IP address of the UA of the called terminal, and set the data of the message to be sent.
  • the number of the sender of the packet is set to the number of the called terminal.
  • WAPGW After receiving the RADIUS message containing the corresponding relationship sent by the RAD_C module of the MMS platform, WAPGW records the corresponding relationship and sends an ACCOUNTING_RES response message to the RAD_C module of the MMS platform to notify the successful reception. After receiving the response, the MMS platform will send The edited message is encapsulated into a data packet, and the message here includes the content of the MMS edited by the user in advance; wherein the source IP address of the data packet is set to the IP address of the called terminal UA.
  • the MMS can be selected
  • the module responsible for sending MMS messages on the platform that is, the IP address of the UA module of the MMS platform is set to the IP address of the called terminal UA, which is consistent with the IP address of the UA contained in the ACCOUNTING_REQ (START) message in step 103;
  • the number of the sender of the data packet is set to the number of the called terminal.
  • Step 105 Send the data packet of the message to be sent after the setting is completed to the WAPGW.
  • the UA module of the MMS platform sends the data packets to be sent to the WAPGW.
  • the MMS platform can choose to be deployed on the same IP bearer network as the WAPGW, and is connected to the WAPGW chain-building network by encapsulating the GRE tunnel through a common route.
  • the UA module interface can use a standard HTTP request.
  • the request source address is the IP address of the MMS message sent, and it is set to the IP address of the called terminal UA.
  • the destination address and port of the data packet request are set to the multimedia message service center MMSC.
  • the address and port of the M1 port; fill in the calling number in the X-UP-CALLING-LINE-ID field of the HTTP packet header, this part of the function is implemented by WAPGW; in one embodiment, when the WAPGW receives the data packet, it will respond to the corresponding record before Relationship information, querying the calling number corresponding to the IP address of the called terminal UA, and inserting the calling number into the X-UP-CALLING-LINE-ID field as the receiver of the multimedia message, and setting the completed data packet
  • the multimedia message service center MMSC where the calling terminal is located is sent by the MMSC to the calling terminal.
  • the WAPGW after receiving the message to be sent from the Multimedia Message Service Center MMSC successfully submitted by the WAPGW, the WAPGW is notified to delete the IP address of the UA of the called terminal and the calling party. Correspondence information of the terminal number.
  • the MMSC after the MMSC successfully receives the data packet of the message to be sent, it will reply to the MMS platform to successfully submit a response via WAPGW.
  • the RAD_C module of the MMS platform After receiving the response, the RAD_C module of the MMS platform sends a RADIUS message to the WAPGW to notify the WAPGW user to go offline In order to release the correspondence between the IP address and the number previously recorded by WAPGW; when WAPGW receives the RADIUS offline message, delete the correspondence and make a successful response to the MMS platform.
  • the above business process of sending a message can be implemented with reference to FIG. 2.
  • the business process includes the following steps: S201: The RAD_C module of the MMS platform simulates the function of the GGSN, and before the UA module sends the MMS, it receives the push from the MSC.
  • the calling and called number information is clearly defined as the receiver and sender of MMS and MMS, and the correspondence between the two needs to be maintained.
  • the correspondence between the IP address of the UA module and the number of the calling terminal is sent to the WAPGW through the RADIUS interface using the ACCOUNTING_REQ (START) message, where the IP address of the UA module is set to the IP address of the called terminal UA;
  • S203 After the MMS platform receives the RADIUS message, the UA module sends the MMS message to the WAPGW.
  • the IP address of the UA module must be consistent with the IP of the called terminal UA indicated in the previous ACCOUNTING_REQ (START) message, and the sender of the MMS message is set to the called number of the phone call;
  • the embodiments of the present disclosure only use the MMS service application scenario as an example.
  • the WAPGW involved in the wireless application protocol gateway may also be replaced with another type of gateway, such as WEBGW
  • WEBGW Wired Equivalent Privacy
  • the embodiments of the present disclosure only describe the execution subject of the method for sending a message as an independent new network element.
  • the module implementing the method may also be integrated into the WAPGW, but compared
  • the method of adding a network element greatly changes the equipment on the network. Therefore, in an embodiment, the method of adding a network element is adopted to implement corresponding functions.
  • the number of the called terminal is obtained, that is, the number of the sender is obtained, and then the called party is displayed on the receiver.
  • the purpose of the terminal number is not only applicable to scenarios such as e-commerce promotion such as MMS responses, but also to scenarios such as enterprise units, physical stores, or individuals, and can be used as the current SP business of large enterprises and institutions The addition. It is especially suitable for small businesses or individuals who cannot afford the SP construction costs.
  • FIG. 3 is a schematic flowchart of a method for sending a message according to an embodiment of the present disclosure. As shown in FIG. 3, the method for sending a message includes the following steps:
  • Step 301 Receive and record the association information between the IP address of the user agent UA of the called terminal and the number of the calling terminal, and send a response to the source of the association information to successfully record the association information.
  • the method of sending a message here is applied to the side of the gateway of the WAPGW.
  • the WAPGW receives the IP address of the user agent UA of the called terminal and the calling terminal's After the related information of the number, record the corresponding relationship, and make a successful receiving response to the RAD_C module of the MMS platform.
  • Step 302 Receive a data packet of a message to be sent, where the data packet of the message to be sent satisfies: the source IP address is the IP address of the UA of the called terminal, and the number of the sender of the data packet of the message to be sent is The number of the called terminal.
  • Step 303 Query the number of the calling terminal according to the UA IP address of the called terminal and the associated information, and set the queried number of the calling terminal as the reception of the data packet of the message to be sent.
  • Party number Query the number of the calling terminal according to the UA IP address of the called terminal and the associated information, and set the queried number of the calling terminal as the reception of the data packet of the message to be sent.
  • the WAPGW queries the number of the calling terminal corresponding to the IP address, and the WAPGW then inserts the HTTP header X-UP-CALLING-LINE-ID field in the received MMS data packet into the calling terminal's Number, which is the calling terminal number that characterizes the recipient of the MMS.
  • Step 304 Send the data packet of the message to be sent after the setting is completed to the multimedia message service center MMSC to which the calling terminal belongs.
  • the WAPGW After filling in the HTTP header field of the data packet, the WAPGW forwards the data packet to the MMSC to which the calling terminal belongs, and sends the MMS message to the calling terminal through the MMSC.
  • the association information between the IP address of the UA of the called terminal and the number of the calling terminal is deleted.
  • the WAPGW after receiving the offline notification sent by the MMS platform, deletes the previously recorded associated information and responds successfully to the MMS platform after completion.
  • FIG. 4 is a schematic structural diagram of a message sending device according to an embodiment of the present disclosure.
  • the message sending device includes a number receiving module 401 for receiving a calling terminal sent by a mobile switching center MSC. The number and the number of the called terminal; an association module 402, configured to obtain the IP address of the user agent UA of the called terminal, and associate the IP address with the number of the calling terminal to obtain association information; association An information sending module 403 is configured to send the association information to a wireless application protocol gateway WAPGW; a setting module 404 receives the response of the WAPGW to successfully record the association information, and sends a source IP address of a data packet of the message to be sent Set as the IP address of the UA of the called terminal, and set the number of the sender of the data packet of the message to be sent as the number of the called terminal; the message sending module 405 is configured to set the The data packet of the sending message is sent to the WAPGW.
  • modules in the device for sending messages shown in FIG. 4 can be understood by referring to the related description of the foregoing method for sending messages.
  • the functions of the modules in the device for sending messages shown in FIG. 4 may be implemented by a program running on a processor, or may be implemented by a specific logic circuit.
  • FIG. 5 is a schematic diagram of an optional device structure corresponding to the virtual device described in FIG. 4 in an actual application.
  • the device includes: RAD_C module 501: simulate GGSN, request user online information from WAPGW, obtain correspondence between IP assigned to user and user mobile phone number MSISDN for sending MMS; UA module 502: edit MMS and send.
  • User online and offline interface 503 The message adopts the standard RADIUS protocol, you can refer to the ACCOUNTING message of the RADIUS protocol;
  • UA interface 504 the standard HTTP request; the original address of the request is the IP address to send MMS messages; the destination address and port of the request are M1 M1 The address and port of the port; fill the calling number in the X-UP-CALLING-LINE-ID field of the HTTP header; the calling and called number interface 505: the interface between the RAD_C module 501 and the MSC network element, using the UDP protocol.
  • FIG. 6 is a schematic structural diagram of a gateway device according to an embodiment of the present disclosure. As shown in FIG. 6, the gateway device includes:
  • the association information receiving module 601 is configured to receive and record the association information between the IP address of the user agent UA of the called terminal and the number of the calling terminal; and the response module 602 is configured to send a successful record to the source of the association information.
  • a response of associated information a message receiving module 603, configured to receive a data packet of a message to be sent, where the data packet of the message to be sent satisfies: the source IP address is the IP address of the UA of the called terminal, and the message to be sent
  • the number of the sender of the data packet is the number of the called terminal;
  • the query module 604 is configured to query the number of the calling terminal according to the UA IP address of the called terminal and the associated information; number setting Module 605, configured to set the number of the calling terminal that is queried to the number of the recipient of the data packet of the message to be sent; message sending module 606, configured to set the data packet of the message to be sent to the It is described that the multimedia message service center MMSC to which the calling terminal belongs send
  • modules in the gateway device shown in FIG. 6 can be understood by referring to the foregoing description of the method for sending messages on the gateway side.
  • the functions of the modules in the gateway device shown in FIG. 6 may be implemented by a program running on a processor, or may be implemented by a specific logic circuit.
  • FIG. 7 is a schematic structural diagram of a message sending device according to an embodiment of the present disclosure.
  • the message sending device 700 shown in FIG. 7 is provided on the terminal and includes: at least one processor 701, a memory 702, a user interface 703, At least one network interface 704.
  • the various components in the device 700 that sends the message are coupled together via a bus system 705.
  • the bus system 705 is configured to implement connection and communication between these components.
  • the bus system 705 includes a power bus, a control bus, and a status signal bus in addition to the data bus. However, for the sake of clarity, various buses are marked as the bus system 705 in FIG. 7.
  • the user interface 703 may include a display, a keyboard, a mouse, a trackball, a click wheel, keys, buttons, a touch panel, or a touch screen.
  • the memory 702 in the embodiment of the present disclosure is configured to store various types of data to support the operation of the device 700 that sends a message. Examples of these data include: any computer program used to operate on the device 700 sending the message, such as the operating system 7021 and the application program 7022; wherein the operating system 7021 contains various system programs, such as a framework layer, a core library layer, a driver Layers, etc., are used to implement various basic services and handle hardware-based tasks.
  • the application program 7022 may include various application programs for implementing various application services. A program for implementing the method of the embodiment of the present disclosure may be included in the application program 7022.
  • the method disclosed in the foregoing embodiments of the present disclosure may be applied to the processor 701, or implemented by the processor 701.
  • the processor 701 may be an integrated circuit chip and has a signal processing capability. In the implementation process, each step of the above method may be completed by using hardware integrated logic circuits or instructions in the form of software in the processor 701.
  • the above-mentioned processor 701 may be a general-purpose processor, a digital signal processor, or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, and the like.
  • the processor 701 may implement or execute various methods, steps, and logic block diagrams disclosed in the embodiments of the present disclosure.
  • a general-purpose processor may be a microprocessor or any conventional processor.
  • the steps of the method disclosed in combination with the embodiments of the present disclosure may be directly implemented by a hardware decoding processor, or may be performed by a combination of hardware and software modules in the decoding processor.
  • the software module may be located in a storage medium.
  • the storage medium is located in the memory 702.
  • the processor 701 reads the information in the memory 702 and completes the steps of the foregoing method in combination with its hardware.
  • the memory 702 may be a volatile memory or a non-volatile memory, and may also include both volatile and non-volatile memories.
  • the non-volatile memory may be a read-only memory (ROM, Read Only Memory), a programmable read-only memory (PROM, Programmable Read-Only Memory), and a programmable read-only memory (EPROM, Erasable Programmable Read- Only Memory), Electrically Reviewable Programmable Read-Only Memory (EEPROM, Electrically Programmable Read-Only Memory), Magnetic Random Access Memory (FRAM, ferromagnetic random access memory), Flash Memory (Flash Memory), Magnetic Surface Memory , Compact disc, or read-only compact disc (CD-ROM, Compact Disc-Read-Only Memory); the magnetic surface memory can be a disk memory or a tape memory.
  • the volatile memory may be random access memory (RAM, Random Access Memory), which is used as an external cache.
  • RAM random access memory
  • RAM Random Access Memory
  • many forms of RAM are available, such as Static Random Access Memory (SRAM, Static Random Access Memory), Synchronous Static Random Access Memory (SSRAM, Static Random Access, Memory), Dynamic Random Access DRAM (Dynamic Random Access Memory), Synchronous Dynamic Random Access Memory (SDRAM), Double Data Rate Synchronous Dynamic Random Access Memory (DDRSDRAM, Double Data Rate Synchronous Dynamic Random Access Memory), enhanced Type Synchronous Dynamic Random Access Memory (ESDRAM, Enhanced Random Dynamic Access Memory), Synchronous Link Dynamic Random Access Memory (SLDRAM, SyncLink Dynamic Random Access Memory), Direct Memory Bus Random Access Memory (DRRAM, Direct Rambus Random Access Memory) ).
  • the memory 702 described in embodiments of the present disclosure is intended to include, but is not limited to, these and any other suitable types of memory.
  • the present disclosure also provides a computer-readable storage medium.
  • the computer-readable storage medium may include: a memory 702 for storing a computer program, The above computer program may be executed by the processor 701 of the device 700 that sends the message to complete the steps described in the foregoing method.
  • the computer-readable storage medium may be a memory such as FRAM, ROM, PROM, EPROM, EEPROM, Flash Memory, magnetic surface memory, optical disk, or CD-ROM.
  • the number of the calling terminal and the number of the called terminal sent by the mobile switching center MSC are received; the IP address of the user agent UA of the called terminal is obtained, and the IP address and the The calling terminal number is associated; the associated correspondence information is sent to the wireless application protocol gateway WAPGW; after receiving the response in which the WAPGW successfully records the correspondence information, the source IP of the data packet of the message to be sent is received
  • the address is set to the IP address of the UA of the called terminal, the number of the sender of the data packet of the message to be sent is set to the number of the called terminal, and the data packet of the message to be sent is set to
  • the sending by the WAPGW realizes the functions of automatically sending a message and displaying the number of the called terminal on the sender.
  • the association information of the IP address of the user agent UA of the called terminal and the number of the calling terminal is received and recorded, and a successful reception response is sent to the source of the association information;
  • the data packet of the message to be sent, the data packet of the message to be sent satisfies: the source IP address is the IP address of the UA of the called terminal, and the number of the sender of the data packet of the message to be sent is the called terminal.
  • the number of the calling terminal according to the UA IP address of the called terminal and the associated information, and setting the number of the called calling terminal to the reception of the data packet of the message to be sent Send the data packet of the message to be sent to the multimedia message service center MMSC after the setting is completed.
  • the automatic sending of the message on the gateway device and the function of displaying the number of the called terminal on the sender are recorded.
  • the associated information matches the number of the calling and called terminals, thereby realizing the function of displaying the called terminal number.

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Multimedia (AREA)
  • Databases & Information Systems (AREA)
  • Computer Security & Cryptography (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Library & Information Science (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephonic Communication Services (AREA)

Abstract

本公开公开了一种发送消息的方法、设备及计算机可读存储介质,所述方法包括:接收移动交换中心MSC发送的主叫终端的号码和被叫终端的号码;获取所述被叫终端的用户代理UA的IP地址,并将所述IP地址与所述主叫终端的号码进行关联,得到关联信息;将所述关联信息向无线应用协议网关WAPGW发送;接收到所述WAPGW成功记录所述关联信息的响应后,将待发送消息的数据包的源IP地址设置为所述被叫终端的UA的IP地址,将所述待发送消息的数据包的发送方的号码设置为所述被叫终端的号码;将设置完成后的待发送消息的数据包向所述WAPGW发送。

Description

一种发送消息的方法、设备及计算机可读存储介质
本公开要求享有2018年09月30日提交的名称为“一种发送消息的方法、设备及计算机可读存储介质”的中国专利申请CN201811160187.6通过引用并入本文中。
技术领域
本公开涉及通信技术,尤其涉及一种发送消息的方法、设备及计算机可读存储介质。
背景技术
在特定的通信业务场景下,例如,甲方与乙方进行通信之后,期望乙方自动回复甲方一条由乙方预先编辑好的消息,然而在目前的组网条件下,实现这种功能的载体通常是作为服务提供商(SP,Service Provider)出现的,如此,甲方收到的消息回复中,发件人是SP的接入号或者是彩信中心的身份标示号码(MMSCID,Multimedia Message Service Center IDentity)等号码信息,而不能显示为乙方的号码信息;若要实现将回复给乙方消息的发件人显示为甲方的号码信息这一功能时,则需要甲方手动编辑并发送。例如,客户给店主通话之后,店主希望回复给客户一条发送方是店主手机号码的彩信,上述功能目前只能通过手动编辑的方式来实现。另外,不仅在彩信业务领域,在VMS语音、短信等应用场景下,目前也还未有相应的方案和设备能同时实现:挂机后自动编辑并发送消息给主叫方以及显示被叫方的号码的功能。
发明内容
为解决上述技术问题,本公开实施例提供了一种发送消息的方法、设备及计算机可读存储介质。
本公开实施例提供的发送消息的方法包括:接收移动交换中心MSC发送的主叫终端的号码和被叫终端的号码;获取所述被叫终端的用户代理UA的IP地址,并将所述IP地址与所述主叫终端的号码进行关联,得到关联信息;将所述关联信息向无线应用协议网关WAPGW发送;接收到所述WAPGW成功记录所述关联信息的响应后,将待发送消息的数据包的源IP地址设置为所述被叫终端的UA的IP地址,将所述待发送消息的数据包 的发送方的号码设置为所述被叫终端的号码;将设置完成后的待发送消息的数据包向所述WAPGW发送。
本公开实施例中,提供了一种计算机可读存储介质,其上存储有计算机程序,其中,该计算机程序被处理器执行时实现上述任一项发送消息方法的步骤。
本公开实施例还提供了一种发送消息的方法,所述方法包括:接收并记录被叫终端的用户代理UA的IP地址与主叫终端的号码的关联信息,对所述关联信息的来源方发送成功记录所述关联信息的响应;接收待发送消息的数据包,所述待发送消息的数据包满足:源IP地址为所述被叫终端的UA的IP地址,所述待发送消息的数据包的发送方的号码为所述被叫终端的号码;根据所述被叫终端的UA的IP地址以及所述关联信息查询所述主叫终端的号码,并将查询到的主叫终端的号码设置为所述待发送消息的数据包的接收方的号码;将设置完成后的待发送消息的数据包向多媒体消息业务中心MMSC发送。
本公开实施例中,提供了一种计算机可读存储介质,其上存储有计算机程序,其中,该计算机程序被处理器执行时实现上述任一项发送消息方法的步骤。
本公开实施例还提供了一种发送消息的设备,所述设备包括:号码接收模块,用于接收移动交换中心MSC发送的主叫终端的号码和被叫终端的号码;关联模块,用于获取所述被叫终端的用户代理UA的IP地址,并将所述IP地址与所述主叫终端的号码进行关联,得到关联信息;关联信息发送模块,用于将所述关联信息向无线应用协议网关WAPGW发送;设置模块,接收到所述WAPGW成功记录所述关联信息的响应后,将待发送消息的数据包的源IP地址设置为所述被叫终端的UA的IP地址,将所述待发送消息的数据包的发送方的号码设置为所述被叫终端的号码;消息发送模块,用于将设置完成后的待发送消息的数据包向所述WAPGW发送。
本公开实施例还提供了一种网关设备,所述网关设备包括:
关联信息接收模块,用于接收并记录被叫终端的用户代理UA的IP地址与主叫终端的号码的关联信息;响应模块,用于对所述关联信息的来源方发送成功记录所述关联信息的响应;消息接收模块,用于接收待发送消息的数据包,所述待发送消息的数据包满足:源IP地址为所述被叫终端的UA的IP地址,所述待发送消息的数据包的发送方的号码为所述被叫终端的号码;查询模块,用于根据所述被叫终端的UA的IP地址以及所述关联信息查询所述主叫终端的号码;号码设置模块,用于将查询到的主叫终端的号码设置为所述待发送消息的数据包的接收方的号码;消息发送模块,将设置完成后的待发送消息的数据包向多媒体消息业务中心MMSC发送。
附图说明
附图以示例而非限制的方式大体示出了本文中所讨论的各个实施例;
图1为本公开实施例的一种发送消息的方法的流程示意图;
图2为本公开实施例的一种发送消息的业务流程示意图;
图3为本公开实施例的一种发送消息的方法的流程示意图;
图4为本公开实施例的一种发送消息的设备的结构示意图;
图5为本公开实施例的一种发送消息的设备的结构示意图;
图6为本公开实施例的一种网关设备的结构示意图;
图7为本公开实施例的一种发送消息的设备的结构示意图。
具体实施方式
为了能够更加详尽地了解本公开实施例的特点与技术内容,下面结合附图对本公开实施例的实现进行详细阐述,所附附图仅供参考说明之用,并非用来限定本公开实施例。
本公开实施例中发送的消息可以为彩信、短信、VMS语音等信息,以下以发送消息为彩信为例,进行详细说明;本公开实施例中发送消息的方法的执行主体可选择为新增网元,具体可以为彩信平台,可由模拟UA模块和模拟网关GPRS支持节点GGSN模块两部分组成,以下分别称为UA模块和RAD_C模块。
图1为本公开实施例的一种发送消息的方法的流程示意图,如图1所示,所述发送消息的方法包括以下步骤:
步骤101:接收移动交换中心MSC发送的主叫终端的号码和被叫终端的号码。
当被叫终端开通了彩信业务后,业务开通信息会同步到MSC上,当被叫终端呼叫完成挂机后,彩信平台的RAD_C模块模拟GGSN的功能,接收从MSC推送的主叫终端的号码和被叫终端的号码。将主叫终端的号码设定为彩信的接收方,将被叫终端的号码设定为彩信的发送方。其中,RAD_C模块与MSC网元的接口可以采用UDP协议进行通信。
步骤102:获取所述被叫终端的用户代理UA的IP地址,并将所述IP地址与所述主叫终端的号码进行关联,得到关联信息。
建立被叫终端UA的IP地址与主叫终端的号码的对应关系,得到关联信息。在一实施方式中,彩信平台的UA模块的IP地址设置为被叫终端的IP地址。
步骤103:将所述关联信息向无线应用协议网关WAPGW发送。
彩信平台的RAD_C模块模拟GGSN的功能,向WAPGW请求上线信息,将获取的UA的IP地址与主叫终端的号码进行关联后的对应关系通过在RAD_C模块上设置的RADIUS接口,采用ACCOUNTING_REQ(START)消息的形式发送给WAPGW。
步骤104:接收到所述WAPGW成功记录所述关联信息的响应后,将待发送消息的数据包的源IP地址设置为所述被叫终端的UA的IP地址,将所述待发送消息的数据包的发送方的号码设置为所述被叫终端的号码。
WAPGW在收到彩信平台的RAD_C模块发送的包含对应关系的RADIUS消息后,记录下对应关系,并向彩信平台的RAD_C模块回复ACCOUNTING_RES响应消息用以通知接收成功,彩信平台在收到响应后,将经过编辑后的消息封装成数据包,这里的消息包括用户预先编辑好的彩信内容;其中,数据包的源IP地址设为被叫终端UA的IP地址,在一实施方式中,可以选择将彩信平台负责发送彩信消息的模块,即彩信平台的UA模块的IP地址设置为被叫终端UA的IP地址,即与步骤103中ACCOUNTING_REQ(START)消息里面包含的UA的IP地址保持一致;另外,将数据包的发送方的号码设置为被叫终端的号码。
步骤105:将设置完成后的待发送消息的数据包向所述WAPGW发送。
通过彩信平台的UA模块将待发送消息的数据包向WAPGW发送,这里彩信平台可以选择部署在与WAPGW同一IP承载网上,通过通用路由封装GRE隧道的方式与WAPGW建链网络链接。这里,UA模块接口可采用标准HTTP请求,请求源地址为发送彩信消息的IP地址,将其设置为被叫终端UA的IP地址;数据包请求目的地址与端口分别设置为多媒体消息业务中心MMSC的M1口的地址与端口;HTTP包头X-UP-CALLING-LINE-ID字段填写主叫号码,这部分功能由WAPGW实现;在一实施方式中,当WAPGW收到数据包后会根据之前记录的对应关系信息,查询到被叫终端UA的IP地址对应的主叫号码,并将主叫号码植入X-UP-CALLING-LINE-ID字段,以作为彩信的接收方,并将设置完成的数据包发送到主叫终端所在的多媒体消息业务中心MMSC,并由MMSC将消息的数据包向主叫终端发送。
本公开实施例中,接收到所述WAPGW发送的来自多媒体消息业务中心MMSC的所述待发送消息成功提交响应后,通知所述WAPGW删除所述被叫终端的UA的IP地址与 所述主叫终端的号码的对应关系信息。在一实施方式中,当MMSC成功接收待发送消息的数据包后,会经WAPGW回复给彩信平台成功提交响应,收到响应后,彩信平台的RAD_C模块再向WAPGW发送RADIUS消息通知WAPGW用户下线,以解除WAPGW之前记录的IP地址与号码的对应关系;当WAPGW收到RADIUS下线消息后,删除对应关系,并对彩信平台作出成功响应。
以上发送消息的业务流程可参照图2进行实现,如图2所示,所述业务流程包括以下步骤:S201:彩信平台的RAD_C模块模拟GGSN的功能,在UA模块发送彩信之前,接收MSC推送的主、被叫号码信息,明确为需要提供彩信及彩信的接收方和发送方,并维护两者的对应关系。然后将UA模块的IP地址与主叫终端的号码的对应关系通过RADIUS接口采用ACCOUNTING_REQ(START)消息发送给WAPGW,这里UA模块的IP地址设置为被叫终端UA的IP地址;S202:WAPGW记录彩信平台的UA模块IP地址与主叫终端的号码的对应关系后,回ACCOUNTING_RES响应消息,通知彩信平台的RAD_C模块接收成功;S203:彩信平台收到RADIUS消息后,再由UA模块发送彩信到WAPGW。UA模块的IP地址必须与之前ACCOUNTING_REQ(START)消息中标明的被叫终端UA的IP保持一致,彩信消息的发送方设置为电话呼叫的被叫号码;S204:WAPGW接收到彩信发送请求后,根据UA模块的IP地址查询到主叫终端的号码,将主叫终端的号码植入到HTTP请求头中,将彩信请求发送到主叫终端归属的MMSC;S205:MMSC接收成功后,回复彩信提交响应;S206:WAPGW收到响应后,回复彩信提交响应给彩信平台;S207:彩信平台发送彩信成功后,发送RADIUS消息,通知WAPGW用户下线,解除UA模块IP地址与主叫终端的号码的对应关系;S208:WAPGW收到RADIUS下线消息后,删除对应关系,并对平台作出成功响应。
须说明的是,在一些情况中,彩信业务流程大致为:
用户终端UA---GGSN---WAPGW---MMSC---WAPGW---UA
或SP---MMSG---MMSC---WAPGW---UA。
采用本公开实施例提供的彩信平台后,彩信的业务流程变更为:
彩信平台---WAPGW---MMSC---WAPGW---UA。
本领域技术人员应当理解,本公开实施例仅以彩信业务应用场景举例,当应用场景变更为短信或VMS语音等业务时,涉及的无线应用协议网关WAPGW也可以被替换为其他类型网关,例如WEBGW,相应的实现方案与上述方案类似。
本领域技术人员应当理解,本公开实施例仅以发送消息的方法的执行主体为独立的 新增网元进行说明,实际应用中,也可将实现方法的模块集成于WAPGW中,但相对于采用新增网元的方式对在网设备改动较大,因此,在一实施方式中采用新增网元的方式来实现相应的功能。
本公开实施例中,通过接收移动交换中心MSC发送的主叫终端的号码和被叫终端的号码,实现了被叫终端的号码获取,即发送方号码的获取,进而达到在接收方显示被叫终端的号码的目的。本公开实施例的发送消息的方法,不止可应用于诸如彩信回复等电子商务推广这类场景,还可以应用于企业单位、实体店或个人等场景,可作为目前大型企事业单位自有SP业务的补充。尤其适用于无力负担SP搭建成本的小型企业或个人。
图3为本公开实施例的一种发送消息的方法的流程示意图,如图3所示,所述发送消息的方法包括以下步骤:
步骤301:接收并记录被叫终端的用户代理UA的IP地址与主叫终端的号码的关联信息,对所述关联信息的来源方发送成功记录所述关联信息的响应。
这里发送消息的方法应用于WAPGW网关侧,对应于前述彩信平台的发送消息的方法进行理解,WAPGW在收到彩信平台的RAD_C模块发送的被叫终端的用户代理UA的IP地址与主叫终端的号码的关联信息后,记录下对应关系,对彩信平台的RAD_C模块作出成功接收响应。
步骤302:接收待发送消息的数据包,所述待发送消息的数据包满足:源IP地址为所述被叫终端的UA的IP地址,所述待发送消息的数据包的发送方的号码为所述被叫终端的号码。
从彩信平台的UA模块接收彩信,这里彩信的源地址为被叫终端的UA的IP地址。
步骤303:根据所述被叫终端的UA的IP地址以及所述关联信息查询所述主叫终端的号码,并将查询到的主叫终端的号码设置为所述待发送消息的数据包的接收方的号码;
根据步骤301中记录的关联信息,WAPGW查询到IP地址对应的主叫终端的号码,WAPGW再将接收到的彩信数据包中HTTP包头X-UP-CALLING-LINE-ID字段植入主叫终端的号码,以表征彩信的接收方为主叫终端号码。
步骤304:将设置完成后的待发送消息的数据包向所述主叫终端所属的多媒体消息业务中心MMSC发送。
填写好数据包的HTTP包头字段后,WAPGW将数据包转发至主叫终端所属的 MMSC,通过MMSC将彩信下发到主叫终端上。
本公开实施例中,接收到用户下线通知时,删除所述被叫终端的UA的IP地址与主叫终端的号码的关联信息。在一实施方式中,WAPGW在接收到彩信平台发送的下线通知后,会将之前记录的关联信息删除,完成之后对彩信平台作出成功响应。
图4为本公开实施例的一种发送消息的设备的结构示意图,如图4所示,所述发送消息的设备包括:号码接收模块401,用于接收移动交换中心MSC发送的主叫终端的号码和被叫终端的号码;关联模块402,用于获取所述被叫终端的用户代理UA的IP地址,并将所述IP地址与所述主叫终端的号码进行关联,得到关联信息;关联信息发送模块403,用于将所述关联信息向无线应用协议网关WAPGW发送;设置模块404,接收到所述WAPGW成功记录所述关联信息的响应后,将待发送消息的数据包的源IP地址设置为所述被叫终端的UA的IP地址,将所述待发送消息的数据包的发送方的号码设置为所述被叫终端的号码;消息发送模块405,用于将设置完成后的待发送消息的数据包向所述WAPGW发送。
本领域技术人员应当理解,图4所示的发送消息的设备中的各模块的实现功能可参照前述发送消息的方法的相关描述而理解。图4所示的发送消息的设备中的各模块的功能可通过运行于处理器上的程序而实现,也可通过具体的逻辑电路而实现。
图5为实际应用中对应图4所描述的虚拟设备的一种可选的设备结构示意图。如图5所示,所述设备包括:RAD_C模块501:模拟GGSN,向WAPGW请求用户上线信息,获取分配给用户的IP与用户手机号码MSISDN的对应关系,用于发送彩信;UA模块502:编辑彩信并发送。用户上下线接口503:消息采用标准的RADIUS协议,可参考RADIUS协议的ACCOUNTING消息;UA接口504:标准的HTTP请求;请求原地址为发送MMS消息的IP地址;请求目标地址与端口为彩信中心M1口的地址与端口;HTTP包头X-UP-CALLING-LINE-ID字段填写主叫号码;主被叫号码接口505:RAD_C模块501与MSC网元的接口,采用UDP协议。
以上模块及接口的具体功能的实现参照前述发送消息方法中步骤101至步骤105中的内容进行理解。
图6为本公开实施例的一种网关设备的结构示意图,如图6所示,所述网关设备包括:
关联信息接收模块601,用于接收并记录被叫终端的用户代理UA的IP地址与主叫终端的号码的关联信息;响应模块602,用于对所述关联信息的来源方发送成功记录所 述关联信息的响应;消息接收模块603,用于接收待发送消息的数据包,所述待发送消息的数据包满足:源IP地址为所述被叫终端的UA的IP地址,所述待发送消息的数据包的发送方的号码为所述被叫终端的号码;查询模块604,用于根据所述被叫终端的UA的IP地址以及所述关联信息查询所述主叫终端的号码;号码设置模块605,用于将查询到的主叫终端的号码设置为所述待发送消息的数据包的接收方的号码;消息发送模块606,用于将设置完成后的待发送消息的数据包向所述主叫终端所属的多媒体消息业务中心MMSC发送。
本领域技术人员应当理解,图6所示的网关设备中的各模块的实现功能可参照前述网关侧的发送消息的方法的相关描述而理解。图6所示的网关设备中的各模块的功能可通过运行于处理器上的程序而实现,也可通过具体的逻辑电路而实现。
图7是本公开实施例的一种发送消息的设备的结构示意图,图7所示的发送消息的设备700设置在所述终端上,包括:至少一个处理器701、存储器702、用户接口703、至少一个网络接口704。发送消息的设备700中的各个组件通过总线系统705耦合在一起。可理解,总线系统705用于实现这些组件之间的连接通信。总线系统705除包括数据总线之外,还包括电源总线、控制总线和状态信号总线。但是为了清楚说明起见,在图7中将各种总线都标为总线系统705。
其中,用户接口703可以包括显示器、键盘、鼠标、轨迹球、点击轮、按键、按钮、触感板或者触摸屏等。
本公开实施例中的存储器702用于存储各种类型的数据以支持发送消息的设备700的操作。这些数据的示例包括:用于在发送消息的设备700上操作的任何计算机程序,如操作系统7021和应用程序7022;其中,操作系统7021包含各种系统程序,例如框架层、核心库层、驱动层等,用于实现各种基础业务以及处理基于硬件的任务。应用程序7022可以包含各种应用程序,用于实现各种应用业务。实现本公开实施例方法的程序可以包含在应用程序7022中。
上述本公开实施例揭示的方法可以应用于处理器701中,或者由处理器701实现。处理器701可能是一种集成电路芯片,具有信号的处理能力。在实现过程中,上述方法的各步骤可以通过处理器701中的硬件的集成逻辑电路或者软件形式的指令完成。上述的处理器701可以是通用处理器、数字信号处理器,或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。处理器701可以实现或者执行本公开实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者任何常规的处理器等。 结合本公开实施例所公开的方法的步骤,可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。软件模块可以位于存储介质中,该存储介质位于存储器702,处理器701读取存储器702中的信息,结合其硬件完成前述方法的步骤。
可以理解,存储器702可以是易失性存储器或非易失性存储器,也可包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(ROM,Read Only Memory)、可编程只读存储器(PROM,Programmable Read-Only Memory)、可评论显示可编程只读存储器(EPROM,Erasable Programmable Read-Only Memory)、电可评论显示可编程只读存储器(EEPROM,Electrically Erasable Programmable Read-Only Memory)、磁性随机存取存储器(FRAM,ferromagnetic random access memory)、快闪存储器(Flash Memory)、磁表面存储器、光盘、或只读光盘(CD-ROM,Compact Disc Read-Only Memory);磁表面存储器可以是磁盘存储器或磁带存储器。易失性存储器可以是随机存取存储器(RAM,Random Access Memory),其用作外部高速缓存。通过示例性但不是限制性说明,许多形式的RAM可用,例如静态随机存取存储器(SRAM,Static Random Access Memory)、同步静态随机存取存储器(SSRAM,Synchronous Static Random Access Memory)、动态随机存取存储器(DRAM,Dynamic Random Access Memory)、同步动态随机存取存储器(SDRAM,Synchronous Dynamic Random Access Memory)、双倍数据速率同步动态随机存取存储器(DDRSDRAM,Double Data Rate Synchronous Dynamic Random Access Memory)、增强型同步动态随机存取存储器(ESDRAM,Enhanced Synchronous Dynamic Random Access Memory)、同步连接动态随机存取存储器(SLDRAM,SyncLink Dynamic Random Access Memory)、直接内存总线随机存取存储器(DRRAM,Direct Rambus Random Access Memory)。本公开实施例描述的存储器702旨在包括但不限于这些和任意其它适合类型的存储器。
基于本公开各实施例提供的发送消息的方法,本公开还提供一种计算机可读存储介质,参照图7所示,所述计算机可读存储介质可以包括:用于存储计算机程序的存储器702,上述计算机程序可由发送消息的设备700的处理器701执行,以完成前述方法所述步骤。计算机可读存储介质可以是FRAM、ROM、PROM、EPROM、EEPROM、Flash Memory、磁表面存储器、光盘、或CD-ROM等存储器。
需要说明的是:本公开实施例所记载的技术方案之间,在不冲突的情况下,可以任意组合。
本公开实施例的技术方案中,接收移动交换中心MSC发送的主叫终端的号码和被叫终端的号码;获取所述被叫终端的用户代理UA的IP地址,并将所述IP地址与所述主叫终端的号码进行关联;将关联后的对应关系信息向无线应用协议网关WAPGW发送;接收到所述WAPGW成功记录所述对应关系信息的响应后,将待发送消息的数据包的源IP地址设置为所述被叫终端的UA的IP地址,将所述待发送消息的数据包的发送方的号码设置为所述被叫终端的号码;将设置完成后的待发送消息的数据包向所述WAPGW发送,这样实现了自动发送消息以及在发送方显示被叫终端的号码的功能。另,在本公开实施例的技术方案中,接收并记录被叫终端的用户代理UA的IP地址与主叫终端的号码的关联信息,对所述关联信息的来源方发送成功接收响应;接收待发送消息的数据包,所述待发送消息的数据包满足:源IP地址为所述被叫终端的UA的IP地址,所述待发送消息的数据包的发送方的号码为所述被叫终端的号码;根据所述被叫终端的UA的IP地址以及所述关联信息查询所述主叫终端的号码,并将查询到的主叫终端的号码设置为所述待发送消息的数据包的接收方的号码;将设置完成后的待发送消息的数据包向多媒体消息业务中心MMSC发送,这样在网关设备上实现了对消息的自动发送以及在发送方显示被叫终端的号码的功能,通过记录的关联信息将主、被叫终端进行号码匹配,进而实现被叫终端号码显示的功能。
以上仅为本公开的优选实施例,并非因此限制本公开的专利范围,凡是利用本公开说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本公开的专利保护范围内。

Claims (10)

  1. 一种发送消息的方法,其中,所述方法包括:
    接收移动交换中心MSC发送的主叫终端的号码和被叫终端的号码;
    获取所述被叫终端的用户代理UA的IP地址,并将所述IP地址与所述主叫终端的号码进行关联,得到关联信息;
    将所述关联信息向无线应用协议网关WAPGW发送;
    接收到所述WAPGW成功记录所述关联信息的响应后,将待发送消息的数据包的源IP地址设置为所述被叫终端的UA的IP地址,将所述待发送消息的数据包的发送方的号码设置为所述被叫终端的号码;
    将设置完成后的待发送消息的数据包向所述WAPGW发送。
  2. 根据权利要求1所述发送消息的方法,其中,所述方法还包括:
    接收到所述WAPGW发送的来自多媒体消息业务中心MMSC的所述待发送消息的数据包成功提交响应后,通知所述WAPGW删除所述被叫终端的UA的IP地址与所述主叫终端的号码的对应关系信息。
  3. 一种发送消息的方法,其中,所述方法包括:
    接收并记录被叫终端的用户代理UA的IP地址与主叫终端的号码的关联信息,对所述关联信息的来源方发送成功记录所述关联信息的响应;
    接收待发送消息的数据包,所述待发送消息的数据包满足:源IP地址为所述被叫终端的UA的IP地址,所述待发送消息的数据包的发送方的号码为所述被叫终端的号码;
    根据所述被叫终端的UA的IP地址以及所述关联信息查询所述主叫终端的号码,并将查询到的主叫终端的号码设置为所述待发送消息的数据包的接收方的号码;
    将设置完成后的待发送消息的数据包向所述主叫终端所属的多媒体消息业务中心MMSC发送。
  4. 根据权利要求3所述的发送消息的方法,其中,所述方法还包括:
    接收到用户下线通知时,删除所述被叫终端的UA的IP地址与主叫终端的号码的关联信息。
  5. 一种发送消息的设备,其中,所述设备包括:
    号码接收模块,用于接收移动交换中心MSC发送的主叫终端的号码和被叫终端的号 码;
    关联模块,用于获取所述被叫终端的用户代理UA的IP地址,并将所述IP地址与所述主叫终端的号码进行关联,得到关联信息;
    关联信息发送模块,用于将所述关联信息向无线应用协议网关WAPGW发送;
    设置模块,接收到所述WAPGW成功记录所述关联信息的响应后,将待发送消息的数据包的源IP地址设置为所述被叫终端的UA的IP地址,将所述待发送消息的数据包的发送方的号码设置为所述被叫终端的号码;
    消息发送模块,用于将设置完成后的待发送消息的数据包向所述WAPGW发送。
  6. 根据权利要求5所述的发送消息的设备,其中,所述设备还包括:
    通知模块,用于接收到所述WAPGW发送的来自多媒体消息业务中心MMSC的所述待发送消息的数据包成功提交响应后,通知所述WAPGW删除所述被叫终端的UA的IP地址与所述主叫终端的号码的对应关系信息。
  7. 一种网关设备,其中,所述网关设备包括:
    关联信息接收模块,用于接收并记录被叫终端的用户代理UA的IP地址与主叫终端的号码的关联信息;
    响应模块,用于对所述关联信息的来源方发送成功记录所述关联信息的响应;
    消息接收模块,用于接收待发送消息的数据包,所述待发送消息的数据包满足:源IP地址为所述被叫终端的UA的IP地址,所述待发送消息的数据包的发送方的号码为所述被叫终端的号码;
    查询模块,用于根据所述被叫终端的UA的IP地址以及所述关联信息查询所述主叫终端的号码;
    号码设置模块,用于将查询到的主叫终端的号码设置为所述待发送消息的数据包的接收方的号码;
    消息发送模块,用于将设置完成后的待发送消息的数据包向所述主叫终端所属的多媒体消息业务中心MMSC发送。
  8. 根据权利要求7所述的网关设备,其中,所述网关设备还包括:
    删除模块,用于接收到用户下线通知时,删除所述被叫终端的UA的IP地址与主叫终端的号码的关联信息。
  9. 一种计算机可读存储介质,其上存储有计算机程序,其中,该计算机程序被处理器执行时实现权利要求1或2所述的发送消息方法的步骤。
  10. 一种计算机可读存储介质,其上存储有计算机程序,其中,该计算机程序被处理器执行时实现权利要求3或4所述的发送消息方法的步骤。
PCT/CN2019/108065 2018-09-30 2019-09-26 一种发送消息的方法、设备及计算机可读存储介质 WO2020063725A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
BR112021006156-8A BR112021006156A2 (pt) 2018-09-30 2019-09-26 método e dispositivo de envio de mensagens e meio de armazenamento legível por computador
EP19864906.3A EP3860166A4 (en) 2018-09-30 2019-09-26 METHOD AND DEVICE FOR SENDING MESSAGE AND COMPUTER READABLE STORAGE MEDIUM

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201811160187.6A CN110972084B (zh) 2018-09-30 2018-09-30 一种发送消息的方法、设备及计算机可读存储介质
CN201811160187.6 2018-09-30

Publications (1)

Publication Number Publication Date
WO2020063725A1 true WO2020063725A1 (zh) 2020-04-02

Family

ID=69949551

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/108065 WO2020063725A1 (zh) 2018-09-30 2019-09-26 一种发送消息的方法、设备及计算机可读存储介质

Country Status (4)

Country Link
EP (1) EP3860166A4 (zh)
CN (1) CN110972084B (zh)
BR (1) BR112021006156A2 (zh)
WO (1) WO2020063725A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114554427B (zh) * 2020-11-24 2023-10-17 中国移动通信集团有限公司 一种5g消息处理方法、装置、设备及计算机存储介质

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1829262A (zh) * 2006-04-04 2006-09-06 侯万春 实现虚拟总机的移动分机作主叫时显示总机号码的装置和方法
US20080037534A1 (en) * 2004-08-31 2008-02-14 Kunihiro Shina Push-Type Telecommunications Accompanied by a Telephone Call
CN101651936A (zh) * 2009-09-08 2010-02-17 中兴通讯股份有限公司 基于智能网的自动回复方法及系统
CN101873554A (zh) * 2010-06-07 2010-10-27 中兴通讯股份有限公司 基于彩铃业务的短信发布系统及方法
CN104284370A (zh) * 2014-10-27 2015-01-14 中国联合网络通信集团有限公司 一种软交换系统向用户代理传递信息的方法及相应的系统

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1505417B (zh) * 2002-12-03 2010-06-16 皇家飞利浦电子股份有限公司 能高效传递多媒体信息的无线网络系统
CN100429914C (zh) * 2003-09-08 2008-10-29 周良勇 无需主叫端发送短信的固话短信发送方法
CN100466670C (zh) * 2004-11-24 2009-03-04 华为技术有限公司 一种在通信网络中实现免打扰业务的方法
CN1997065A (zh) * 2005-12-31 2007-07-11 北京三星通信技术研究有限公司 在VoIP网络中传递主叫定制信息的方法和装置
CN101087445B (zh) * 2007-07-19 2010-06-16 中兴通讯股份有限公司 一种根据被叫号码触发短消息发送的方法和终端设备
KR100776031B1 (ko) * 2007-08-10 2007-11-15 (주)무한비트 통화중에 메시지를 전송하는 방법 및 이를 위한 시스템
CN101345792A (zh) * 2008-08-28 2009-01-14 中兴通讯股份有限公司 一种自动发送短信的方法
ES2350541B1 (es) * 2008-11-28 2011-11-16 Ericsson Inc. Método, aparato y sistema para enviar un mensaje multimedia cuando un abonado llamado no responde a la llamada.
CN101917688A (zh) * 2010-08-16 2010-12-15 候万春 支持被叫向主叫发送挂机短信的手机、系统和方法
CN103200537B (zh) * 2012-01-04 2016-09-07 中国移动通信集团公司 对多媒体消息业务进行号码转换的方法、系统和服务器

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080037534A1 (en) * 2004-08-31 2008-02-14 Kunihiro Shina Push-Type Telecommunications Accompanied by a Telephone Call
CN1829262A (zh) * 2006-04-04 2006-09-06 侯万春 实现虚拟总机的移动分机作主叫时显示总机号码的装置和方法
CN101651936A (zh) * 2009-09-08 2010-02-17 中兴通讯股份有限公司 基于智能网的自动回复方法及系统
CN101873554A (zh) * 2010-06-07 2010-10-27 中兴通讯股份有限公司 基于彩铃业务的短信发布系统及方法
CN104284370A (zh) * 2014-10-27 2015-01-14 中国联合网络通信集团有限公司 一种软交换系统向用户代理传递信息的方法及相应的系统

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP3860166A4

Also Published As

Publication number Publication date
CN110972084B (zh) 2022-01-25
EP3860166A1 (en) 2021-08-04
BR112021006156A2 (pt) 2021-06-29
CN110972084A (zh) 2020-04-07
EP3860166A4 (en) 2022-06-08

Similar Documents

Publication Publication Date Title
TWI757280B (zh) 物件分配方法及裝置
WO2017008629A1 (zh) 工作状态的提示方法及装置
ES2403188T3 (es) Recuperación de mensajes instantáneos fuera de línea
CN102273238B (zh) 创建订户装置的全局唯一标识符
US9742926B2 (en) Unified services platform using a telephone number as a common subscriber identifier
WO2020119219A1 (zh) 消息发送方法和装置
US11463418B2 (en) Systems and methods of enforcing communications semantics on a private network
US9955003B2 (en) Computing device and system for rendering contact information that is retrieved from a network service
US9094370B2 (en) Remote access to information on a mobile terminal from a web browser extension
CN102100095B (zh) 用于订户数据库的方法和设备
WO2017140215A1 (zh) 提示方法及装置
JP2016501486A (ja) 商品受取情報処理方法、装置、プログラム及び記録媒体
EP2974159B1 (en) Method, device and system for voice communication
KR100738040B1 (ko) 개방형 모바일 비즈니스 지원 시스템의 api 제공 방법
TW200425691A (en) Time-to-disconnect enforcement when communicating with wireless devices that have transient network addresses
WO2020063725A1 (zh) 一种发送消息的方法、设备及计算机可读存储介质
WO2016150333A1 (zh) 实现语音信箱系统与融合通信系统互通的方法和系统
WO2019091323A1 (zh) 批量呼叫方法及装置
WO2023221404A1 (zh) 间接通信消息传递方法、系统及网关设备
US20220043919A1 (en) Computer method for entry of plural input modalities onto a secure disclosure blockchain
EP2731366A1 (en) Short message sending method, short message service center and gateway
US8805346B1 (en) Caller information retrieval system for unavailable calls
WO2022193771A1 (zh) 基于位置的服务数据处理方法及装置
WO2016131257A1 (zh) 信息保存、获取、处理方法及装置
WO2023103427A1 (zh) 终端主叫短信服务化实现方法和系统、短信服务中心设备

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19864906

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

REG Reference to national code

Ref country code: BR

Ref legal event code: B01A

Ref document number: 112021006156

Country of ref document: BR

ENP Entry into the national phase

Ref document number: 2019864906

Country of ref document: EP

Effective date: 20210430

ENP Entry into the national phase

Ref document number: 112021006156

Country of ref document: BR

Kind code of ref document: A2

Effective date: 20210330