CN1964571B - Mobile terminal, message processing system and processing method - Google Patents
Mobile terminal, message processing system and processing method Download PDFInfo
- Publication number
- CN1964571B CN1964571B CN2006101452196A CN200610145219A CN1964571B CN 1964571 B CN1964571 B CN 1964571B CN 2006101452196 A CN2006101452196 A CN 2006101452196A CN 200610145219 A CN200610145219 A CN 200610145219A CN 1964571 B CN1964571 B CN 1964571B
- Authority
- CN
- China
- Prior art keywords
- information
- message
- location information
- mobile terminal
- geographical location
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Images
Landscapes
- Mobile Radio Communication Systems (AREA)
Abstract
本发明提供的一种消息处理方法,包括:网络侧接收发送方移动终端发送的消息,获取发送方移动终端当前接入小区的小区标识信息;根据预先存储的映射关系信息获取与小区标识信息对应的地理位置信息,并将该地理位置信息写入消息中;将写入地理位置信息的消息转发给接收方移动终端。本发明还提供了移动终端、具有位置信息提供功能的拜访移动交换设备或者具有位置信息提供功能的拜访服务GPRS支持设备,以及由该具有位置信息提供功能的拜访移动交换设备或者具有位置信息提供功能的拜访服务GPRS支持设备构成的消息发送系统。采用本发明,接收方移动终端用户可以方便地获知消息发送方移动终端用户当前的地理位置信息,方便了移动终端用户。
A message processing method provided by the present invention includes: the network side receives the message sent by the mobile terminal of the sender, obtains the cell identification information of the cell currently accessed by the mobile terminal of the sender; obtains the information corresponding to the cell identification information according to the pre-stored mapping relationship information and write the geographic location information into the message; and forward the message written in the geographic location information to the recipient mobile terminal. The present invention also provides a mobile terminal, a visited mobile switching device with the function of providing location information or a visiting service GPRS support device with the function of providing location information, and the visited mobile switching device with the function of providing location information or with the function of providing location information The visiting service GPRS supports the messaging system composed of equipment. By adopting the invention, the mobile terminal user on the receiving side can conveniently know the current geographic location information of the mobile terminal user on the message sending side, which is convenient for the mobile terminal user.
Description
技术领域technical field
本发明涉及无线通信网络的信息处理技术,尤其是移动终端、消息处理系统及处理方法。The invention relates to an information processing technology of a wireless communication network, especially a mobile terminal, a message processing system and a processing method.
背景技术Background technique
短消息业务(Short Message Service,SMS)作为一项极具吸引力的增值业务,由于其具有快捷、方便、经济、内容表现形式丰富等特色,目前已经成为移动终端用户普遍使用的通信方式。SMS属于一种存储转发的非实时消息业务,现有技术通过以下流程来发送短消息:发送方移动终端通过SMS-SUBMIT消息向短消息服务中心(Short Message Service Center,SMSC)发送短消息;SMSC接收到短消息后,通过SMS-SUBMIT-REPORT消息向发送方移动终端发送接收到短消息的通知信息,同时,通过SMS-DELIVER信令将该短消息发送给接收方移动终端;接收方移动终端接收到短消息后,通过SMS-DELIVER-REPORT消息向SMSC返回已接收短消息的通知信息;SMSC通过SMS-STATUS-REPORT消息向发送方移动终端返回短消息已成功发送给接收方移动终端的通知信息。Short Message Service (Short Message Service, SMS), as an attractive value-added service, has become a communication method commonly used by mobile terminal users due to its fast, convenient, economical, rich content and other characteristics. SMS belongs to a store-and-forward non-real-time message service, and the prior art sends short messages through the following process: the mobile terminal of the sender sends a short message to a Short Message Service Center (Short Message Service Center, SMSC) through an SMS-SUBMIT message; After receiving the short message, send the notification information of receiving the short message to the mobile terminal of the sending party through the SMS-SUBMIT-REPORT message, and at the same time, send the short message to the mobile terminal of the receiving party through SMS-DELIVER signaling; the mobile terminal of the receiving party After receiving the short message, return the notification information of the received short message to the SMSC through the SMS-DELIVER-REPORT message; the SMSC returns the notification to the sender's mobile terminal through the SMS-STATUS-REPORT message that the short message has been successfully sent to the receiver's mobile terminal information.
由于工作、生活等各方面的需要,移动终端用户所处的地理位置会频繁的发生变化,在多数情况下,移动终端用户希望能够获知对方所处的地理位置,若移动终端用户想要通过短消息通信方式获知对方当前所处的地理位置,就需要在发送给对方移动终端的短消息中,增加询问对方当前地理位置的相关内容,例如:“您目前在什么位置?”,这就需要浪费发送方移动终端用户一定的时间与精力来输入相关内容,给发送方移动终端用户带来极大不便;同样,接收方移动终端用户为了告知对方相应的地址位置信息,也需要浪费一定的时间与精力来输入相关答复内容,因此,也给接收方移动终端用户带来极大不便。Due to the needs of work, life and other aspects, the geographical location of mobile terminal users will change frequently. In most cases, mobile terminal users hope to know the geographical location of the other party. If the message communication method knows the current geographical location of the other party, it is necessary to add relevant content inquiring about the current geographical location of the other party in the short message sent to the mobile terminal of the other party, for example: "Where are you currently?", which requires waste The mobile terminal user of the sending party spends a certain amount of time and energy to input relevant content, which brings great inconvenience to the mobile terminal user of the sending party; similarly, the mobile terminal user of the receiving party also needs to waste a certain amount of time and effort in order to inform the other party of the corresponding address and location information. Therefore, it also brings great inconvenience to the receiver mobile terminal user.
发明内容Contents of the invention
本发明实施例提供的技术方案可解决现有技术中短消息用户询问对方地理位置信息不便的问题。The technical solution provided by the embodiment of the present invention can solve the problem in the prior art that it is inconvenient for a short message user to inquire about the geographic location information of the other party.
根据本发明的一个方面,一种消息处理方法,包括:According to one aspect of the present invention, a message processing method includes:
网络侧接收发送方移动终端发送的消息,获取该发送方移动终端当前接入小区的小区标识信息;The network side receives the message sent by the mobile terminal of the sender, and obtains the cell identification information of the cell currently accessed by the mobile terminal of the sender;
根据预先存储的映射关系信息获取与所述小区标识信息对应的地理位置信息,并将该地理位置信息写入所述消息中;Obtaining geographic location information corresponding to the cell identity information according to pre-stored mapping relationship information, and writing the geographic location information into the message;
将写入所述地理位置信息的消息转发给接收方移动终端。Forwarding the message written in the geographic location information to the receiver's mobile terminal.
上述方法中,在网络侧接收发送方移动终端发送的消息之前,还包括:发送方移动终端获取用于标识是否提供所述地理位置信息的状态标识信息,将所述状态标识信息写入所述消息中,并将携带了所述状态标识信息的消息发送给网络侧;相应地,所述获取该发送方移动终端当前接入小区的小区标识信息进一步包括:网络侧根据所述状态标识信息判断是否获取小区标识信息,如是,则获取小区标识信息并根据小区标识信息获取对应的地理位置信息。如果网络侧根据所述状态标识信息判断出不需要获取小区标识信息,则通过短消息服务中心将所述消息转发给接收方移动终端。In the above method, before the network side receives the message sent by the mobile terminal of the sender, it also includes: the mobile terminal of the sender obtains status identification information used to identify whether to provide the geographic location information, and writes the status identification information into the In the message, the message carrying the state identification information is sent to the network side; correspondingly, the obtaining the cell identification information of the cell currently accessed by the sending mobile terminal further includes: the network side judges according to the state identification information Whether to obtain cell identification information, if yes, obtain cell identification information and obtain corresponding geographic location information according to the cell identification information. If the network side judges that it is not necessary to obtain the cell identification information according to the status identification information, the message is forwarded to the receiving mobile terminal through the short message service center.
另外,发送方移动终端获取状态标识信息具体为:发送方移动终端从发送方归属位置寄存器中获取预先设置的状态标识信息。发送方拜访位置寄存器进行涉及所述发送方归属位置寄存器的位置更新时,将所述发送方归属位置寄存器中存储的所述状态标识信息插入发送方拜访位置寄存器;相应地,发送方移动终端获取状态标识信息具体为:发送方移动终端从发送方拜访位置寄存器中获取预先设置的状态标识信息。所述方法还包括:发送方移动终端修改发送方归属位置寄存器保存的状态标识信息。所述发送方归属位置寄存器中存储的所述状态标识信息被修改时,所述发送方归属位置寄存器更新存储在所述发送方拜访位置寄存器中的所述状态标识信息。相应的,网络侧接收发送方移动终端发送的消息,获取该发送方移动终端当前接入小区的小区标识信息进一步为:网络侧接收所述消息,从该消息中获取所述发送方移动终端的号码信息,查询发送方拜访位置寄存器中存储的与所述发送方移动终端的号码信息对应的状态标识信息,并根据所述状态标识信息判断是否提供所述地理位置信息,是,则获取所述小区标识信息,并向位置信息提供装置发送获取与所述小区标识信息对应的地理位置信息的获取请求信息,然后执行所述根据预先存储的映射关系信息获取与所述小区标识信息对应的地理位置信息,并将该地理位置信息写入所述消息中的操作;否则,通过短消息服务中心将所述消息转发给接收方移动终端。In addition, the acquiring of the state identification information by the sender's mobile terminal specifically includes: the sender's mobile terminal acquires preset state identification information from the sender's home location register. When the sender's VLR performs a location update involving the sender's HLR, inserting the status identification information stored in the sender's HLR into the sender's VLR; correspondingly, the sender's mobile terminal acquires Specifically, the state identification information is: the sender mobile terminal obtains the preset state identification information from the sender visitor location register. The method further includes: the sender's mobile terminal modifies the state identification information stored in the sender's home location register. When the state identification information stored in the sender's home location register is modified, the sender's home location register updates the state identification information stored in the sender's visitor location register. Correspondingly, the network side receives the message sent by the mobile terminal of the sender, and obtaining the cell identification information of the cell currently accessed by the mobile terminal of the sender further includes: the network side receives the message, and obtains the mobile terminal of the sender from the message Number information, query the state identification information corresponding to the number information of the sender’s mobile terminal stored in the sender’s visitor location register, and judge whether to provide the geographical location information according to the state identification information, if yes, obtain the Cell identification information, and send acquisition request information to the location information providing device to obtain the geographical location information corresponding to the cell identification information, and then perform the step of obtaining the geographic location corresponding to the cell identification information according to the pre-stored mapping relationship information information, and write the geographic location information into the message; otherwise, forward the message to the receiver's mobile terminal through the short message service center.
若所述发送方拜访位置寄存器中不存在与所述发送方移动终端的号码信息对应的状态标识信息,则从所述发送方归属位置寄存器中获取所述状态标识信息。If the state identification information corresponding to the number information of the sender's mobile terminal does not exist in the sender's visitor location register, the state identification information is acquired from the sender's home location register.
上述方法中,所述根据预先存储的映射关系信息获取与所述小区标识信息对应的地理位置信息,并将该地理位置信息写入所述消息中进一步为:网络侧查询预先存储的映射关系信息,从该映射关系信息中获取与所述小区标识信息对应的地理位置信息,将所述地理位置信息写入所述消息中,并将写入所述地理位置信息的消息发送给所述短消息服务中心。In the above method, the step of obtaining geographic location information corresponding to the cell identification information according to the pre-stored mapping relationship information, and writing the geographic location information into the message is further as follows: the network side queries the pre-stored mapping relationship information , obtaining geographic location information corresponding to the cell identification information from the mapping relationship information, writing the geographic location information into the message, and sending the message written into the geographic location information to the short message Service Center.
将所述地理位置信息写入所述消息中进一步为:将所述地理位置信息以信息元素的形式写入所述消息中用户数据头部,并设置该用户数据头部的标识为所述用户数据含有头部。Writing the geographic location information into the message further includes: writing the geographic location information into the user data header in the message in the form of an information element, and setting the identifier of the user data header as the user Data contains headers.
所述消息为短消息,或者用以标识接收到短消息的发送报告(SMS-DELIVER-REPORT)消息。The message is a short message, or a delivery report (SMS-DELIVER-REPORT) message used to identify the receipt of the short message.
将写入所述地理位置信息的短消息转发给接收方移动终端进一步为:所述短消息服务中心将写入所述地理位置信息的短消息转发给接收方移动终端。相应的,所述方法还包括:所述接收方移动终端接收到携带所述地理位置信息的所述消息后,显示所述地理位置信息。Forwarding the short message written in the geographic location information to the receiver mobile terminal further includes: the short message service center forwarding the short message written in the geographic location information to the receiver mobile terminal. Correspondingly, the method further includes: after the receiving mobile terminal receives the message carrying the geographic location information, displaying the geographic location information.
将写入所述地理位置信息的消息转发给接收方移动终端进一步为:所述短消息服务中心根据所述发送报告消息创建状态报告(SMS-STATUS-REPORT)消息,并将所述发送报告消息中携带的地理位置信息写入所述状态报告消息中,然后将携带该地理位置信息的状态报告消息发送给接收方移动终端。相应的,所述方法还包括:所述接收方移动终端接收到携带所述地理位置信息的所述状态报告消息后,显示所述地理位置信息。Forwarding the message written in the geographic location information to the recipient mobile terminal is further: the short message service center creates a status report (SMS-STATUS-REPORT) message according to the sending report message, and sends the sending report message The geographic location information carried in the message is written into the status report message, and then the status report message carrying the geographic location information is sent to the receiving mobile terminal. Correspondingly, the method further includes: after the receiving mobile terminal receives the status report message carrying the geographic location information, displaying the geographic location information.
根据本发明的另一方面,一种移动终端,包括:According to another aspect of the present invention, a mobile terminal includes:
客户端模块,用于创建消息,以及显示接收到的消息;Client module for creating messages and displaying received messages;
标识信息存储模块,用于存储标识是否提供所述移动终端当前地理位置信息的状态标识信息;An identification information storage module, configured to store status identification information indicating whether to provide the current geographic location information of the mobile terminal;
业务处理模块,分别与所述客户端模块及所述标识信息存储模块连接,用于接收所述客户端模块创建的消息,从所述标识信息存储模块中获取所述状态标识信息,将该状态标识信息写入所述客户端模块创建的消息并发送该写入状态标识信息的消息,以及接收短消息服务中心发送的消息,将该消息发送给客户端模块显示。The business processing module is connected to the client module and the identification information storage module respectively, and is used to receive the message created by the client module, acquire the status identification information from the identification information storage module, and store the status Write the identification information into the message created by the client module and send the message of writing status identification information, and receive the message sent by the short message service center, and send the message to the client module for display.
本发明提供的另一种移动终端,包括:Another mobile terminal provided by the present invention includes:
客户端模块,用于创建消息,以及显示接收到的消息;Client module for creating messages and displaying received messages;
信息设置模块,与所述客户端模块连接,用于根据客户端模块发送的指示,设置、更新归属位置寄存器中存储的用于标识是否提供所述移动终端当前地理位置信息的状态标识信息;An information setting module, connected to the client module, is used to set and update the state identification information stored in the home location register for identifying whether to provide the current geographic location information of the mobile terminal according to the instruction sent by the client module;
通信业务模块,与所述客户端模块连接,用于接收与发送所述客户端模块创建的消息,以及接收短消息服务中心发送的消息,将该消息发送给客户端模块显示。The communication service module is connected with the client module, and is used for receiving and sending the message created by the client module, receiving the message sent by the short message service center, and sending the message to the client module for display.
根据本发明的再一方面,一种具有位置信息提供功能的移动交换设备,包括:According to yet another aspect of the present invention, a mobile switching device with a location information providing function includes:
移动交换中心,用于接收发送方移动终端发送的消息,根据所述消息发送用于获取与所述移动终端的当前接入小区的小区标识信息对应的地理位置信息的获取请求信息;The mobile switching center is configured to receive a message sent by the mobile terminal of the sender, and send, according to the message, acquisition request information for acquiring geographical location information corresponding to the cell identification information of the cell currently accessed by the mobile terminal;
位置信息提供装置,与所述移动交换中心连接,用于存储小区标识信息与地理位置信息之间的映射关系信息,接收所述移动交换中心发送的获取请求信息,并根据该映射关系信息获取与所述移动交换中心发送的小区标识信息对应的地理位置信息并发送给所述移动交换中心;The location information providing device is connected with the mobile switching center, and is used for storing the mapping relationship information between the cell identification information and the geographic location information, receiving the acquisition request information sent by the mobile switching center, and obtaining the information related to the mapping relationship according to the mapping relationship information. The geographical position information corresponding to the cell identification information sent by the mobile switching center is sent to the mobile switching center;
所述移动交换中心接收所述地理位置信息并将该地理位置信息写入所述消息中,然后将写入所述地理位置信息的消息发送给短消息服务中心,以及将短消息服务中心发送的消息发送给所述发送方移动终端。The mobile switching center receives the geographic location information and writes the geographic location information into the message, then sends the message written into the geographic location information to the short message service center, and sends the message sent by the short message service center The message is sent to the sender mobile terminal.
上述具有位置信息提供功能的移动交换设备中,所述位置信息提供装置包括:In the above-mentioned mobile switching device with a location information providing function, the location information providing device includes:
位置信息存储模块,用于存储小区标识信息与地理位置信息之间的映射关系信息;A location information storage module, configured to store mapping relationship information between cell identification information and geographic location information;
位置信息获取模块,与所述位置信息存储模块连接,用于根据映射关系信息获取与所述小区标识信息对应的地理位置信息并发送给所述移动交换中心。The location information obtaining module is connected with the location information storage module, and is used to obtain the geographic location information corresponding to the cell identification information according to the mapping relationship information and send it to the mobile switching center.
根据本发明的又一方面,提供第一种消息处理系统,包括短消息服务中心,还包括具有位置信息提供功能的移动交换设备,该具有位置信息提供功能的移动交换设备包括:According to yet another aspect of the present invention, a first message processing system is provided, including a short message service center, and a mobile switching device with a location information providing function, and the mobile switching device with a location information providing function includes:
移动交换中心,用于接收发送方移动终端发送的消息,发送获取与所述移动终端的当前接入小区的小区标识信息对应的地理位置信息的获取请求信息;The mobile switching center is configured to receive a message sent by the mobile terminal of the sender, and send acquisition request information for obtaining geographical location information corresponding to the cell identification information of the cell currently accessed by the mobile terminal;
位置信息提供装置,与所述移动交换中心连接,用于存储小区标识信息与地理位置信息之间的映射关系信息,接收所述移动交换中心发送的获取请求信息,并根据该映射关系信息获取与所述移动交换中心发送的小区标识信息对应的地理位置信息并发送给所述移动交换中心;The location information providing device is connected with the mobile switching center, and is used for storing the mapping relationship information between the cell identification information and the geographic location information, receiving the acquisition request information sent by the mobile switching center, and obtaining the information related to the mapping relationship according to the mapping relationship information. The geographical position information corresponding to the cell identification information sent by the mobile switching center is sent to the mobile switching center;
所述移动交换中心接收所述地理位置信息并将该地理位置信息写入所述消息中,然后将写入所述地理位置信息的消息发送给短消息服务中心,以及将短消息服务中心发送的消息发送给所述发送方移动终端。The mobile switching center receives the geographic location information and writes the geographic location information into the message, then sends the message written into the geographic location information to the short message service center, and sends the message sent by the short message service center The message is sent to the sender mobile terminal.
上述第一种系统中,所述位置信息提供装置包括:In the above-mentioned first system, the location information providing device includes:
位置信息存储模块,用于存储小区标识信息与地理位置信息之间的映射关系信息;A location information storage module, configured to store mapping relationship information between cell identification information and geographic location information;
位置信息获取模块,与所述位置信息存储模块连接,用于根据映射关系信息获取与所述移动交换中心发送的小区标识信息对应的地理位置信息并发送给所述移动交换中心。The location information obtaining module is connected with the location information storage module, and is used to obtain the geographical location information corresponding to the cell identification information sent by the mobile switching center according to the mapping relationship information and send it to the mobile switching center.
上述第一种系统中,还包括:In the above-mentioned first system, it also includes:
发送方归属位置寄存器,用于存储标识是否提供发送方移动终端当前地理位置信息的状态标识信息。The home location register of the sender is used to store status identification information indicating whether to provide the current geographic location information of the sender's mobile terminal.
上述第一种系统中,还包括:In the above-mentioned first system, it also includes:
发送方拜访位置寄存器,分别与所述移动交换中心及所述发送方归属位置寄存器连接,用于存储标识是否提供发送方移动终端当前地理位置信息的状态标识信息。The sender's visitor location register is connected to the mobile switching center and the sender's home location register respectively, and is used to store status identification information indicating whether to provide the current geographic location information of the sender's mobile terminal.
根据本发明的再一方面,一种具有位置信息提供功能的服务GPRS支持设备,包括:According to still another aspect of the present invention, a kind of service GPRS support equipment with location information providing function, comprises:
服务GPRS支持节点,用于接收发送方移动终端发送的消息,发送获取与所述移动终端的当前接入小区的小区标识信息对应的地理位置信息的获取请求信息;The serving GPRS support node is configured to receive a message sent by the mobile terminal of the sender, and send acquisition request information for obtaining geographical location information corresponding to the cell identification information of the cell currently accessed by the mobile terminal;
位置信息提供装置,与所述服务GPRS支持节点连接,用于存储小区标识信息与地理位置信息之间的映射关系信息,接收所述移动交换中心发送的获取请求信息,并根据该映射关系信息获取与服务GPRS支持节点发送的小区标识信息对应的地理位置信息并发送给服务GPRS支持节点;The location information providing device is connected with the serving GPRS support node, and is used for storing mapping relationship information between cell identification information and geographic location information, receiving the acquisition request information sent by the mobile switching center, and obtaining information according to the mapping relationship information. The geographic location information corresponding to the cell identification information sent by the serving GPRS support node and sent to the serving GPRS support node;
所述服务GPRS支持节点接收所述地理位置信息并将该地理位置信息写入所述消息中,然后将写入所述地理位置信息的消息发送给短消息服务中心,以及将短消息服务中心发送的消息发送给所述发送方移动终端。The serving GPRS support node receives the geographic location information and writes the geographic location information into the message, then sends the message written into the geographic location information to the short message service center, and sends the short message service center The message is sent to the sender mobile terminal.
上述具有位置信息提供功能的服务GPRS支持设备中,所述位置信息提供装置包括:In the above-mentioned service GPRS supporting equipment with a location information providing function, the location information providing means includes:
位置信息存储模块,用于存储小区标识信息与地理位置信息之间的映射关系信息;A location information storage module, configured to store mapping relationship information between cell identification information and geographic location information;
位置信息获取模块,与所述位置信息存储模块连接,用于根据映射关系信息获取与所述小区标识信息对应的地理位置信息并发送给服务GPRS支持节点。The location information obtaining module is connected with the location information storage module, and is used to obtain the geographic location information corresponding to the cell identification information according to the mapping relationship information and send it to the serving GPRS support node.
根据本发明的又一方面,提供第二种消息处理系统,包括短消息服务中心,还包括具有位置信息提供功能的服务GPRS支持设备,该具有位置信息提供功能的服务GPRS支持设备包括:According to yet another aspect of the present invention, a second message processing system is provided, including a short message service center, and also includes a service GPRS support device with a location information providing function, and the service GPRS support device with a location information provision function includes:
服务GPRS支持节点,用于接收发送方移动终端发送的消息,发送获取与所述移动终端的当前接入小区的小区标识信息对应的地理位置信息的获取请求信息;The serving GPRS support node is configured to receive a message sent by the mobile terminal of the sender, and send acquisition request information for obtaining geographical location information corresponding to the cell identification information of the cell currently accessed by the mobile terminal;
位置信息提供装置,与所述服务GPRS支持节点连接,用于存储小区标识信息与地理位置信息之间的映射关系信息,接收所述移动交换中心发送的获取请求信息,并根据该映射关系信息获取与服务GPRS支持节点发送的小区标识信息对应的地理位置信息并发送给服务GPRS支持节点;The location information providing device is connected with the serving GPRS support node, and is used for storing mapping relationship information between cell identification information and geographic location information, receiving the acquisition request information sent by the mobile switching center, and obtaining information according to the mapping relationship information. The geographic location information corresponding to the cell identification information sent by the serving GPRS support node and sent to the serving GPRS support node;
所述服务GPRS支持节点接收所述地理位置信息并将该地理位置信息写入所述消息中,然后将写入所述地理位置信息的消息发送给短消息服务中心,以及将短消息服务中心发送的消息发送给所述发送方移动终端。The serving GPRS support node receives the geographic location information and writes the geographic location information into the message, then sends the message written into the geographic location information to the short message service center, and sends the short message service center The message is sent to the sender mobile terminal.
上述第二种系统中,所述位置信息提供装置包括:In the above-mentioned second system, the location information providing device includes:
位置信息存储模块,用于存储小区标识信息与地理位置信息之间的映射关系信息;A location information storage module, configured to store mapping relationship information between cell identification information and geographic location information;
位置信息获取模块,分别与所述位置信息存储模块及所述服务GPRS支持节点连接,用于根据映射关系信息获取与所述小区标识信息对应的地理位置信息,并发送给所述服务GPRS支持节点。The location information acquisition module is respectively connected with the location information storage module and the serving GPRS support node, and is used to obtain the geographic location information corresponding to the cell identification information according to the mapping relationship information, and send it to the serving GPRS support node .
上述第二种系统中,还包括:In the above-mentioned second system, it also includes:
发送方归属位置寄存器,用于存储标识是否提供发送方移动终端当前地理位置信息的状态标识信息。The home location register of the sender is used to store status identification information indicating whether to provide the current geographic location information of the sender's mobile terminal.
上述第二种系统中,还包括:In the above-mentioned second system, it also includes:
发送方拜访位置寄存器,分别与所述服务GPRS支持节点及所述发送方归属位置寄存器连接,用于存储标识是否提供发送方移动终端当前地理位置信息的状态标识信息。The sender's visitor location register is connected to the serving GPRS support node and the sender's home location register respectively, and is used to store status identification information indicating whether to provide the current geographic location information of the sender's mobile terminal.
根据本发明的一个或多个方面,具有以下有益的技术效果:According to one or more aspects of the present invention, it has the following beneficial technical effects:
预先建立小区标识与该小区的地理位置之间的映射关系信息并存储在位置信息提供装置中,当移动交换设备或者服务GPRS支持设备接收到移动终端发送的消息:短消息或者发送报告消息后,获取发送该消息的发送方移动终端当前接入小区的小区标识信息,由位置信息提供装置获取与该小区标识信息相应的地理位置信息,并将该地理位置信息写入消息中,然后将写入地理位置信息的消息发送给接收方移动终端,使得接收方移动终端用户接收到消息后,可以方便地获知发送该消息的对方移动终端用户当前的地理位置信息,方便了移动终端用户。The mapping relationship information between the cell identifier and the geographic location of the cell is pre-established and stored in the location information providing device. After the mobile switching device or the serving GPRS support device receives the message sent by the mobile terminal: a short message or a report message, Obtain the cell identification information of the cell currently accessed by the mobile terminal of the sender that sends the message, obtain the geographical location information corresponding to the cell identification information by the location information providing device, write the geographic location information into the message, and then write the location information into the message. The message of geographic location information is sent to the receiver's mobile terminal, so that the receiver's mobile terminal user can easily know the current geographic location information of the other party's mobile terminal user who sent the message after receiving the message, which is convenient for the mobile terminal user.
下面通过附图和实施例,对本发明的技术方案做进一步的详细描述。The technical solutions of the present invention will be described in further detail below with reference to the accompanying drawings and embodiments.
附图说明Description of drawings
图1为本发明的移动终端实施例一的结构示意图。FIG. 1 is a schematic structural diagram of Embodiment 1 of a mobile terminal of the present invention.
图2为本发明的移动终端实施例二的结构示意图。FIG. 2 is a schematic structural diagram of
图3为本发明的具有位置信息提供功能的移动交换设备实施例一的结构示意图。FIG. 3 is a schematic structural diagram of Embodiment 1 of a mobile switching device with a location information providing function according to the present invention.
图4为本发明的具有位置信息提供功能的移动交换设备实施例二的结构示意图。FIG. 4 is a schematic structural diagram of
图5为本发明消息处理系统实施例一的结构示意图。FIG. 5 is a schematic structural diagram of Embodiment 1 of the message processing system of the present invention.
图6为本发明消息处理系统实施例二的结构示意图。FIG. 6 is a schematic structural diagram of
图7为本发明消息处理系统实施例三的结构示意图。FIG. 7 is a schematic structural diagram of
图8为本发明消息处理系统实施例四的结构示意图。FIG. 8 is a schematic structural diagram of Embodiment 4 of the message processing system of the present invention.
图9为本发明消息处理系统实施例五的结构示意图。FIG. 9 is a schematic structural diagram of
图10为本发明的具有位置信息提供功能的服务GPRS支持设备实施例一的结构示意图。FIG. 10 is a schematic structural diagram of Embodiment 1 of a serving GPRS supporting device with a location information providing function according to the present invention.
图11为本发明的具有位置信息提供功能的服务GPRS支持设备实施例二的结构示意图。FIG. 11 is a schematic structural diagram of
图12为本发明消息处理系统实施例六的结构示意图。FIG. 12 is a schematic structural diagram of
图13为本发明消息处理系统实施例七的结构示意图。FIG. 13 is a schematic structural diagram of Embodiment 7 of the message processing system of the present invention.
图14为本发明消息处理系统实施例八的结构示意图。FIG. 14 is a schematic structural diagram of Embodiment 8 of the message processing system of the present invention.
图15为本发明消息处理系统实施例九的结构示意图。FIG. 15 is a schematic structural diagram of
图16为本发明消息处理方法具体实施方式的主要流程图。Fig. 16 is a main flow chart of a specific embodiment of the message processing method of the present invention.
图17为本发明消息处理方法实施例一的流程图。FIG. 17 is a flow chart of Embodiment 1 of the message processing method of the present invention.
图18为本发明消息处理方法实施例二的流程图。FIG. 18 is a flow chart of
图19为本发明消息处理系统实施例十的结构示意图。FIG. 19 is a schematic structural diagram of Embodiment 10 of the message processing system of the present invention.
图20为本发明消息处理方法实施例三的流程图。FIG. 20 is a flow chart of
具体实施方式Detailed ways
本发明实施例中提供一种解决接收方移动终端用户无法获知消息发送方移动终端用户当前地理位置信息的方法,在现有的消息发送系统中增设位置信息提供装置,设置用于标识各小区的CGI与该小区的地理位置信息之间的映射关系信息并存储在位置信息提供装置中,当MSC或SGSN接收到移动终端发送的消息后,获取该移动终端当前接入小区的CGI信息,从位置信息提供装置中获取与该CGI信息相应的地理位置信息,即发送方移动终端当前的地理位置信息,并将该地理位置信息写入消息中,然后将写入地理位置信息的消息发送给SMSC,由SMSC将该消息发送给接收方移动终端。本发明下述各实施例中的消息,可以是短消息,也可以是用于说明接收到消息的发送报告消息或状态报告消息。In the embodiment of the present invention, a method is provided to solve the problem that the mobile terminal user of the receiving party cannot know the current geographical location information of the mobile terminal user of the message sending party. A location information providing device is added to the existing message sending system, and a location for identifying each cell is set. The mapping relationship information between the CGI and the geographical location information of the cell is stored in the location information providing device. After receiving the message sent by the mobile terminal, the MSC or SGSN obtains the CGI information of the cell currently accessed by the mobile terminal, and obtains the information from the location The information providing device obtains the geographic location information corresponding to the CGI information, that is, the current geographic location information of the sender's mobile terminal, and writes the geographic location information into the message, and then sends the message written into the geographic location information to the SMSC, The SMSC sends the message to the receiver's mobile terminal. The message in the following embodiments of the present invention may be a short message, or a sending report message or a status report message for explaining that a message is received.
图1所示为本发明的移动终端实施例一的结构示意图,该移动终端包括依次连接的客户端模块11、业务处理模块12、标识信息存储模块13,还可以包括分别与客户端模块11及业务处理模块12连接的消息存储模块14。其中,客户端模块11主要用于提供人机交互界面,接受用户输入的信息并根据该信息创建消息,以及显示业务处理模块12接收到的消息;消息存储模块14的功能与现有技术中的基本相同,主要用于存储业务处理模块12接收到的消息;标识信息存储模块13用于存储用户设定的用于标识是否提供该移动终端当前地理位置的状态标识信息;业务处理模块12用于进行通信业务的处理,接收客户端模块11创建的消息,从标识信息存储模块13中获取预先存储的状态标识信息,并将该状态标识信息写入客户端模块11发送的消息中,然后将写入状态标识信息的消息发送给相应的MSC或者SGSN,以及将MSC或者SGSN发送的消息发送给客户端模块11以显示,还可以将该消息存储在消息存储模块14中。Fig. 1 shows the structure schematic diagram of the mobile terminal embodiment 1 of the present invention, and this mobile terminal comprises client module 11, service processing module 12, identification
图2所示为本发明的移动终端实施例二的结构示意图,该移动终端包括相互连接的客户端模块11和信息设置模块15,以及与客户端模块11连接的通信业务模块16,还可以包括分别与客户端模块11及通信业务模块16连接的消息存储模块14。其中,信息设置模块15用于根据客户端模块11发送的指示,向该移动终端的HLR中设置用于标识是否提供该移动终端当前地理位置的状态标识信息,以及修改、更新该状态标识信息;通信业务模块16用于进行通信业务的处理,接收客户端模块11创建的消息,并将该消息发送给相应的MSC或者SGSN,以及将MSC或者SGSN发送的消息发送给客户端模块11以显示,还可以将该消息存储在消息存储模块14中。Fig. 2 shows the structural representation of the second embodiment of the mobile terminal of the present invention, the mobile terminal includes a client module 11 and an
图3所示为本发明的具有位置信息提供功能的移动交换设备实施例一的结构示意图,该移动交换设备包括相互连接的MSC21与位置信息提供装置22。其中,MSC21用于获取消息发送方移动终端当前接入小区的CGI信息,接收该发送方移动终端发送的消息,向位置信息提供装置22发送获取与该发送方移动终端当前接入小区的CGI信息相应的地理位置信息的获取请求信息,以及将位置信息提供装置22返回的地理位置信息写入消息中,然后将写入地理位置信息的消息发送给SMSC;位置信息提供装置22用于存储CGI信息与地理位置信息之间的映射关系信息,以及从映射关系信息中查询与MSC21发送的获取请求信息中的CGI信息相应的地理位置信息并返回给MSC21。其中,位置信息提供装置22可以与MSC21设置为同一个网络实体,也可以为两个独立的网络实体。如下表1所示为本发明的位置信息提供装置22存储的映射关系信息的内容实例:FIG. 3 is a schematic structural diagram of Embodiment 1 of a mobile switching device with a location information providing function according to the present invention. The mobile switching device includes an MSC21 and a location
表1Table 1
图4所示为本发明的具有位置信息提供功能的移动交换设备实施例二的结构示意图,该实施例中,位置信息提供装置22包括位置信息存储模块222以及分别与该位置信息存储模块222及MSC21连接的位置信息获取模块221。其中,位置信息存储模块222用于存储CGI信息与地理位置信息之间的映射关系信息;位置信息获取模块221,用于接收MSC21发送的获取请求信息,根据该获取请求信息查询位置信息存储模块222中存储的映射关系信息,从中获取与获取请求信息中携带的CGI信息对应的地理位置信息并发送给MSC21。FIG. 4 is a schematic structural diagram of
图5所示为本发明消息处理系统实施例一的结构示意图,该消息处理系统包括依次通信连接的发送方移动交换设备2与SMSC3,其中,移动交换设备2采用了图3所示的移动交换设备,其中的MSC21与SMSC3连接;SMSC3用于将MSC21发送的写入地理位置信息的消息发送给接收方移动终端。Fig. 5 is a schematic structural diagram of Embodiment 1 of the message processing system of the present invention. The message processing system includes the sender's
另外,移动交换设备也可以采用图4所示的移动交换设备,图6所示为由图4所示的移动交换设备构成的本发明消息处理系统实施例二的结构示意图。In addition, the mobile switching device may also use the mobile switching device shown in FIG. 4 . FIG. 6 is a schematic structural diagram of
图7所示为本发明消息处理系统实施例三的结构示意图,该实施例中,发送方移动终端1与接收方移动终端4均采用图1所示的移动终端,发送方移动终端1中的业务处理模块12与MSC21通信连接,接收方移动终端4中的业务处理模块12与SMSC3通信连接。FIG. 7 is a schematic structural diagram of
图8所示为本发明消息处理系统实施例四的结构示意图,该实施例中,还设有发送方HLR5,用于存储其归属移动终端用户的签约信息、静态数据信息以及用于标识是否提供该移动终端用户当前地理位置的状态标识信息;发送方移动终端6与接收方移动终端7均采用图2所示的移动终端,移动终端6中的通信业务模块16与MSC21通信连接,移动终端6中的信息设置模块15与发送方HLR5通信连接,用于根据移动终端用户通过客户端模块11发送的指示,设置、更新移动终端6存储在发送方HLR5中的状态标识信息,接收方移动终端7中的通信业务模块16与SMSC3通信连接。Figure 8 is a schematic structural diagram of Embodiment 4 of the message processing system of the present invention. In this embodiment, the sender HLR5 is also provided for storing the subscription information and static data information of the mobile terminal user attributable to it, and for identifying whether to provide The status identification information of this mobile terminal user's current geographical location; Sending party
图9所示为本发明消息处理系统实施例五的结构示意图,该实施例中,MSC21还连接发送方VLR8,该VLR8同时与发送方HLR5连接,用于存储与更新发送方HLR5中存储的移动终端用户的签约信息与状态标识信息。当移动终端用户漫游到新的MSC服务区并附着网络时,VLR8可向HLR5发起位置更新,将移动终端用户的签约信息与状态标识信息插入到VLR8中。Fig. 9 shows the structural representation of
上述实施例中,图5-图9所示的消息处理系统适用于CS域(CircuitSwitch Domain)承载的短消息发送业务SM MO(Short Message MobileOriginated)。In the above embodiment, the message processing system shown in Fig. 5-Fig. 9 is applicable to the short message sending service SM MO (Short Message Mobile Originated) carried by the CS domain (Circuit Switch Domain).
图10所示为本发明的具有位置信息提供功能的服务GPRS支持设备实施例一的结构示意图,该具有位置信息提供功能的服务GPRS支持设备包括相互连接的SGSN91与位置信息提供装置22。其中,SGSN91用于移动终端与各种数据网络之间完成移动分组数据的发送和接收,以及为服务区内的移动终端用户提供双向的分组路由,该功能与现有技术中的相同,此外,SGSN91还用于获取消息发送方移动终端当前接入小区的CGI信息,接收该发送方移动终端发送的消息,向位置信息提供装置22发送获取与该CGI信息相应的地理位置信息的指示信息,以及将位置信息提供装置22返回的地理位置信息写入消息中,然后将写入地理位置信息的消息发送给SMSC;位置信息提供装置22与图3所示的实施例中的相同。位置信息提供装置22可以与SGSN91设置为同一个网络实体,也可以为两个独立的网络实体。FIG. 10 is a schematic structural diagram of Embodiment 1 of a service GPRS supporting device with a location information providing function of the present invention. The serving GPRS supporting device with a location information providing function includes a SGSN91 and a location
图11所示为本发明的具有位置信息提供功能的服务GPRS支持设备实施例二的结构示意图,该实施例中,位置信息提供装置22与图4所示的相同,其位置信息获取模块221与SGSN91连接。Figure 11 is a schematic structural diagram of the second embodiment of the service GPRS support device with location information providing function of the present invention, in this embodiment, the location
图12所示为本发明短消息处理系统实施例六的结构示意图,该短消息处理系统包括依次通信连接的处理方服务GPRS支持设备9与SMSC3,其中,发送方服务GPRS支持设备9采用了图11所示的具有位置信息提供功能的服务GPRS支持设备,其中的SGSN91与SMSC3连接;SMSC3用于将SGSN91发送的写入地理位置信息的消息发送给接收方移动终端。另外,发送方服务GPRS支持设备也可以采用图10所示的移动交换设备。Fig. 12 shows the structure schematic diagram of embodiment six of the short message processing system of the present invention, and this short message processing system comprises the processing side service
图13所示为本发明消息处理系统实施例七的结构示意图,该实施例中,发送方移动终端1与接收方移动终端4均采用图1所示的移动终端,发送方移动终端1中的业务处理模块12与SGSN91通信连接,接收方移动终端4中的业务处理模块12与SMSC3通信连接。FIG. 13 is a schematic structural diagram of Embodiment 7 of the message processing system of the present invention. In this embodiment, the mobile terminal 1 of the sender and the mobile terminal 4 of the receiver both use the mobile terminal shown in FIG. 1 , and the mobile terminal 1 of the sender The service processing module 12 is connected to the SGSN91 in communication, and the service processing module 12 in the receiver's mobile terminal 4 is connected to the SMSC3 in communication.
图14所示为本发明消息处理系统实施例八的结构示意图,该实施例中,还设有发送方HLR5,用于存储其归属移动终端用户的签约信息、静态数据信息以及用于标识是否提供该移动终端用户当前地理位置的状态标识信息;发送方移动终端6与接收方移动终端7均采用图2所示的移动终端,移动终端6中的业务处理模块12与SGSN91通信连接,移动终端6中的信息设置模块15与发送方HLR5通信连接,用于根据移动终端用户通过客户端模块11发送的指示,设置、更新移动终端6存储在在发送方HLR5中的状态标识信息,接收方移动终端7中的通信业务模块16与SMSC3通信连接。Figure 14 is a schematic structural diagram of Embodiment 8 of the message processing system of the present invention. In this embodiment, the sender HLR5 is also provided to store the subscription information and static data information of the mobile terminal user it belongs to, and to identify whether to provide The status identification information of the mobile terminal user's current geographic location; the
图15所示为本发明短消息处理系统实施例九的结构示意图,该实施例中,SGSN91还连接发送方VLR8,该VLR8同时与发送方HLR5连接,用于存储与更新发送方HLR5中存储的移动终端用户的签约信息与状态标识信息。当移动终端用户漫游到新的SGSN服务区并附着网络时,VLR8可向HLR5发起位置更新,将移动终端用户的签约信息与状态标识信息插入到VLR8中。Fig. 15 shows the structural representation of
上述实施例中,图12-图15所示的消息处理系统适用于PS域(PacketSwitch Domain)承载的短消息发送业务SM MT(Short Message MobileTerminated)。In the above-mentioned embodiment, the message processing system shown in FIG. 12-FIG. 15 is applicable to the short message sending service SM MT (Short Message Mobile Terminated) carried by the PS domain (PacketSwitch Domain).
图16所示为本发明消息处理方法具体实施方式的主要流程图,其包括以下步骤:Figure 16 shows the main flow chart of the specific implementation of the message processing method of the present invention, which includes the following steps:
步骤1,接收发送方移动终端发送的消息,由该发送方移动终端发送该消息以前发送的相关交互信息获取该发送方移动终端当前接入小区的CGI信息。Step 1: Receive the message sent by the mobile terminal of the sender, and obtain the CGI information of the cell currently accessed by the mobile terminal of the sender from the relevant interaction information sent before the mobile terminal of the sender sends the message.
步骤2,查询预先存储的表示CGI与地理位置之间对应关系的映射关系信息,从中获取与发送方移动终端当前接入小区的CGI信息对应的地理位置信息,并将该地理位置信息写入发送方移动终端发送的消息中。
步骤3,根据消息中携带的接收方移动终端的地址信息,将写入地理位置信息的消息发送给接收方移动终端。
预先建立表示CGI与地理位置之间对应关系的映射关系信息并存储在位置信息提供装置中。之后,便可通过本发明提供的消息发送系统与发送方法来发送消息。其中的消息可以是短消息,也可以是短消息接收方移动终端用户返回给SMSC的、用于说明接收到短消息的发送报告消息,或者SMSC返回给接收方移动终端的状态报告消息。The mapping relationship information representing the corresponding relationship between the CGI and the geographic location is pre-established and stored in the location information providing device. After that, the message can be sent through the message sending system and sending method provided by the present invention. The message therein can be a short message, or a sending report message returned by the mobile terminal user of the short message recipient to the SMSC for explaining receipt of the short message, or a status report message returned by the SMSC to the mobile terminal of the recipient.
用户向发送方移动终端6中的客户端模块11输入用于指示是否显示其当前地理位置信息的状态标识信息,由信息设置模块15将该状态标识信息设置在发送方HLR5中。当发送方VLR8进行涉及该发送方HLR5的位置更新时,将HLR5中存储的发送方移动终端6用户的签约信息及状态标识信息插入到该VLR8中。发送方移动终端6用户可以随时通过信息设置模块15修改其存储在HLR5中的状态标识信息,当HLR5中存储的状态标识信息被更新时,发送方HLR5向VLR8发送通知,更新存储在VLR8中的状态标识信息。图17为本发明消息处理方法实施例一的流程图,该实施例可通过图9(CS域)或者图15(PS域)所示的消息处理系统实现,其包括以下步骤:The user inputs status identification information for indicating whether to display its current geographic location information to the client module 11 in the sender's
步骤1701,发送方移动终端6中的客户端模块11根据用户的指示创建短消息,并将创建的短消息发送给通信业务模块16;
步骤1702,通信业务模块16向具有位置信息提供功能的发送方移动交换设备2中的MSC21或者具有位置信息提供功能的服务GPRS支持设备9中的SGSN91发送短消息,该短消息中携带有该发送方移动终端6的号码信息,例如:13000000000,与接收方移动终端的号码信息,例如:13011111111。
步骤1703,MSC21或者SGSN91接收到短消息后,获取该短消息中携带的发送方移动终端6的号码信息13000000000,从VLR8中获取发送方移动终端6的号码信息13000000000的状态标识信息,若该发送方VLR8中未存储号码信息13000000000的状态标识信息,则该发送方VLR8可向发送方HLR5获取号码信息13000000000的状态标识信息。Step 1703, after MSC21 or SGSN91 receives the short message, obtain the number information 13000000000 of the sender's
步骤1704,MSC21或者SGSN91获取到号码信息13000000000的状态标识信息后,根据预先设定的参数判断是否提供发送方移动终端6的地理位置信息,是,执行步骤1705;否则,执行步骤1709。
步骤1705,MSC21或者SGSN91从发送方移动终端6发送该短消息以前发送的相关交互信息(例如:服务请求消息或寻呼响应消息等)中获取该发送方移动终端6当前接入小区的CGI信息,例如:0111-0022,然后向位置信息提供装置22中的位置信息获取模块221发送获取与CGI信息0111-0022对应的地理位置信息的获取请求信息。Step 1705, MSC21 or SGSN91 obtains the CGI information of the cell currently accessed by the sender
步骤1706,位置信息获取模块221查询位置信息存储模块222存储的映射关系信息,从该信息中获取与CGI信息0111-0022对应的地理位置信息,例如为:A市B区,并将该地理位置信息返回给MSC21或者SGSN91。
步骤1707,MSC21或者SGSN91将地理位置信息A市B区写入短消息中,然后将写入地理位置信息A市B区的短消息发送给SMSC3。
根据3GPP TS 23.040 V3.9.0协议,对短消息中TP-UD字段Header域中携带的信息元素的定义如下表2所示。According to the 3GPP TS 23.040 V3.9.0 protocol, the definition of the information elements carried in the Header field of the TP-UD field in the short message is shown in Table 2 below.
表2Table 2
上表2中,TP-UD字段Header域中携带的信息元素包括信息元素标识、信息元素数据以及该信息元素数据的大小,其中,信息元素标识用于标识某一信息元素,信息元素数据为该信息元素具体的数据内容,信息元素数据的大小为信息元素数据区的大小,其单位为八位位组,即随后的数据区大小为多少个八位位组。由上表2可以看出,信息元素标识中02、21-6F、A0-BF及E0-FF均为保留值,即在现有短消息实现中没有应用,因此,可以选用02、21-6F、A0-BF或E0-FF中任一个作为地理位置信息的信息元素标识,将地理位置信息插入在相应的数据区中,并设置相应的信息元素标识,表明相应的数据区含有地理位置信息。上述状态标识信息也可以采用类似的方法写入短消息中。若使用与短消息内容不同的编码方式表示地理位置信息时,可以将用于存储地理位置信息的信息元素数据区分为两部分,可以向第一部分分配一个八位位组,来存储地理位置信息的编码方式,向第二部分分配多个八位位组,来存储地理位置信息的具体内容,以便于接收方移动终端采用相应的编码方式解码地理位置信息编码串,获取地理位置信息。In Table 2 above, the information elements carried in the Header field of the TP-UD field include the information element identifier, the information element data and the size of the information element data, wherein the information element identifier is used to identify a certain information element, and the information element data is the The specific data content of the information element, the size of the information element data is the size of the data area of the information element, and its unit is octet, that is, how many octets are the size of the subsequent data area. It can be seen from the above table 2 that 02, 21-6F, A0-BF and E0-FF in the information element identifier are all reserved values, that is, they are not used in the existing short message implementation, so 02, 21-6F can be selected Any one of , A0-BF or E0-FF is used as the information element identifier of the geographic location information, the geographic location information is inserted into the corresponding data area, and the corresponding information element identifier is set to indicate that the corresponding data area contains the geographic location information. The above status identification information can also be written into the short message in a similar way. If the geographic location information is expressed in a coding method different from that of the short message content, the information element data used to store the geographic location information can be divided into two parts, and an octet can be assigned to the first part to store the geographic location information. The encoding method is to allocate multiple octets to the second part to store the specific content of the geographical location information, so that the mobile terminal of the receiving party uses a corresponding encoding method to decode the geographical location information code string and obtain the geographical location information.
步骤1708,SMSC3根据短消息中携带的接收方移动终端的号码信息13011111111,将写入地理位置信息A市B区的短消息发送给接收方移动终端,然后执行步骤1711。
步骤1709,MSC21或者SGSN91将接收到的短消息发送给SMSC3。Step 1709, MSC21 or SGSN91 sends the received short message to SMSC3.
步骤1710,SMSC3根据短消息中携带的接收方移动终端的号码信息13011111111,将短消息发送给接收方移动终端。Step 1710, SMSC3 sends the short message to the mobile terminal of the recipient according to the number information 13011111111 of the mobile terminal of the recipient carried in the short message.
步骤1711,结束。
接收方移动终端接收到短消息与发送方移动终端的地理位置信息后,便可以通过该移动终端的客户端模块显示发送方移动终端发送的短消息内容及发送方移动终端的地理位置信息。After receiving the short message and the geographic location information of the sender's mobile terminal, the receiver's mobile terminal can display the content of the short message sent by the sender's mobile terminal and the geographic location information of the sender's mobile terminal through the client module of the mobile terminal.
用户向发送方移动终端1的客户端模块11输入用于指示是否显示其当前地理位置信息的状态标识信息,由客户端模块11将该状态标识信息设置在标识信息存储模块13中。发送方移动终端1用户可以随时通过客户端模块11修改其存储在标识信息存储模块13中的状态标识信息。图18所示为本发明消息处理方法实施例二的流程图,该实施例可通过图7(CS域)或者图13(PS域)所示的短消息处理系统实现,其包括以下步骤:The user inputs status identification information to the client module 11 of the sender mobile terminal 1 to indicate whether to display its current geographic location information, and the status identification information is set in the identification
步骤1801,用户向发送方移动终端1中的客户端模块11输入短消息内容与接收方号码信息后,发送请求发送短消息的请求信息。
步骤1802,客户端模块11根据用户的请求信息创建短消息,并将短消息发送给业务处理模块12。
步骤1803,业务处理模块12接收到客户端模块11发送的短消息后,从标识信息存储模块13中获取用于标识是否提供该发送方移动终端1用户当前地理位置的状态标识信息,将该状态标识信息写入短消息中,然后将写入状态标识信息的短消息发送给具有位置信息提供功能的发送方移动交换设备2中的MSC21或者具有位置信息提供功能的服务GPRS支持设备9中的SGSN91,该短消息中携带有标识该发送方移动终端1的号码信息13000000000、接收方移动终端的号码信息13011111111、以及状态标识信息。
步骤1804,MSC21或者SGSN91接收到短消息后,从该短消息中获取状态标识信息,根据预先设定的参数,由状态标识信息判断是否提供发送方移动终端1的地理位置信息,是,执行步骤1805;否则,执行步骤1809。
步骤1805,MSC21或者SGSN91从发送方移动终端1发送该短消息以前发送的相关交互信息(例如:服务请求消息或寻呼响应消息等)中获取发送方移动终端1当前接入小区的CGI信息,例如:0111-0022,然后向位置信息提供装置22中的位置信息获取模块221发送获取与CGI信息0111-0022对应的地理位置信息的获取请求信息。
步骤1806,位置信息获取模块221查询位置信息存储模块222存储的映射关系信息,从该信息中获取与CGI信息0111-0022对应的地理位置信息,例如为:A市B区,并将该地理位置信息返回给MSC21或者SGSN91。
步骤1807,MSC21或者SGSN91将地理位置信息A市B区写入短消息中,并将写入地理位置信息A市B区的短消息发送给SMSC3。
步骤1808,SMSC3根据写入地理位置信息A市B区的短消息中携带的接收方移动终端的号码信息13011111111,将写入地理位置信息A市B区的短消息发送给接收方移动终端,然后执行步骤1811。
步骤1809,SMSC3根据短消息中携带的接收方移动终端的号码信息13011111111,将短消息发送给接收方移动终端。Step 1809, SMSC3 sends the short message to the mobile terminal of the recipient according to the number information 13011111111 of the mobile terminal of the recipient carried in the short message.
步骤1811,结束。
步骤1808之后,接收方移动终端中的业务处理模块接收到接收方VMSC或者接收方VSGSN发送的短消息后,将短消息发送给客户端模块,以向接收方移动终端用户显示发送方移动终端用户发送的短消息内容及其发送短消息时的地理位置信息;同时,将该短消息信息存储在消息存储模块中。After
在步骤1801中,发送方移动终端输入短消息内容后,发送请求发送短消息的请求信息时,可以同时发送要求提供用以说明接收方移动终端用户接收到该短消息的状态报告消息的要求信息;相应的,接收方移动终端在接收到短消息后,也可以采用本发明提供的上述任一消息处理方法,向SMSC3返回携带接收方移动终端用户的地理位置信息的SMS-DELIVER-REPORT,再由SMSC3根据该SMS-DELIVER-REPORT创建SMS-STATUS-REPORT并发送给发送方移动终端,以向发送方移动终端提供接收方移动终端用户当前所处的地理位置信息。图19所示为本发明消息处理系统实施例十的结构示意图,图20为本发明消息处理方法实施例三的流程图,该实施例可利用图19所示的系统提供接收方移动终端用户的地理位置信息,其包括以下步骤:In
步骤2001,接收方移动终端向具有位置信息提供功能的接收方服务GPRS支持设备中的SGSN发送SMS-DELIVER-REPORT,该SMS-DELIVER-REPORT中携带有该短消息接收方移动终端的号码信息13011111111与短消息发送方移动终端的号码信息13000000000。
步骤2002,SGSN接收到SMS-DELIVER-REPORT后,获取该SMS-DELIVER-REPORT中携带的接收方移动终端的号码信息13011111111,从VLR中获取接收方移动终端的号码信息13011111111的状态标识信息,若该接收方VLR中未存储号码信息13011111111的状态标识信息,则该接收方VLR可向接收方HLR获取号码信息13011111111的状态标识信息。Step 2002: After receiving the SMS-DELIVER-REPORT, the SGSN obtains the number information 13011111111 of the recipient's mobile terminal carried in the SMS-DELIVER-REPORT, and obtains the status identification information of the number information 13011111111 of the recipient's mobile terminal from the VLR, if The receiving VLR does not store the status identification information of the number information 13011111111, then the receiving VLR may acquire the status identification information of the number information 13011111111 from the receiving HLR.
步骤2003,SGSN获取到号码信息13011111111的状态标识信息后,根据预先设定的参数判断是否提供接收方移动终端用户的地理位置信息,是,执行步骤2004;否则,执行步骤2008。In
步骤2004,SGSN获取接收方移动终端当前接入小区的CGI信息0222-0011,然后向位置信息提供装置中的位置信息获取模块发送获取与CGI信息0222-0011对应的地理位置信息的获取请求信息。
步骤2005,位置信息获取模块查询位置信息存储模块存储的映射关系信息,从该信息中获取与CGI信息0222-0011对应的地理位置信息,例如为:C市D区,并将该地理位置信息返回给SGSN。
步骤2006,SGSN将地理位置信息C市D区写入SMS-DELIVER-REPORT,并将写入地理位置信息C市D区的SMS-DELIVER-REPORT发送给SMSC。In
根据3GPP TS 23.040 V3.9.0协议,对SMS-DELIVER-REPORT中TP-UD字段Header域中携带的信息元素的定义如下表3所示。According to the 3GPP TS 23.040 V3.9.0 protocol, the definition of the information elements carried in the Header field of the TP-UD field in the SMS-DELIVER-REPORT is shown in Table 3 below.
表3table 3
上表3中,TP-UD字段Header域中携带的信息元素包括信息元素标识、信息元素数据以及该信息元素数据的大小,其中,信息元素标识用于标识某一信息元素,信息元素数据为该信息元素具体的数据内容,信息元素数据的大小为信息元素数据区的大小,其单位为八位位组,即随后的数据区大小为多少个八位位组。由上表3可以看出,信息元素标识中02、21-6F、A0-BF及E0-FF均为保留值,即在现有短消息实现中没有应用,因此,可以选用02、21-6F、A0-BF或E0-FF中任一个作为地理位置信息的信息元素标识,将地理位置信息插入在相应的数据区中,并设置相应的信息元素标识,表明相应的数据区含有地理位置信息。若使用与SMS-DELIVER-REPORT内容不同的编码方式表示地理位置信息时,可以将用于存储地理位置信息的信息元素数据区分为两部分,可以向第一部分分配一个八位位组,来存储地理位置信息的编码方式,向第二部分分配多个八位位组,来存储地理位置信息的具体内容,以便于发送方移动终端采用相应的编码方式解码地理位置信息编码串,获取地理位置信息。In Table 3 above, the information elements carried in the Header field of the TP-UD field include the information element identifier, the information element data and the size of the information element data, wherein the information element identifier is used to identify a certain information element, and the information element data is the The specific data content of the information element, the size of the information element data is the size of the data area of the information element, and its unit is octet, that is, how many octets are the size of the subsequent data area. It can be seen from the above table 3 that 02, 21-6F, A0-BF and E0-FF in the information element identifier are all reserved values, that is, they are not used in the existing short message implementation, so 02, 21-6F can be selected Any one of , A0-BF or E0-FF is used as the information element identifier of the geographic location information, the geographic location information is inserted into the corresponding data area, and the corresponding information element identifier is set to indicate that the corresponding data area contains the geographic location information. If the geographic location information is represented by a different encoding method from the SMS-DELIVER-REPORT content, the information element data used to store the geographic location information can be divided into two parts, and an octet can be assigned to the first part to store the geographical location information. The coding method of the location information assigns a plurality of octets to the second part to store the specific content of the geographic location information, so that the mobile terminal of the sender uses a corresponding coding method to decode the code string of the geographic location information and obtain the geographic location information.
步骤2007,SMSC根据SMS-DELIVER-REPORT创建SMS-STATUS-REPORT,并将SMS-DELIVER-REPORT中携带的地理位置信息C市D区写入SMS-STATUS-REPORT中,然后根据SMS-DELIVER-REPORT中携带的发送方移动终端的号码信息13000000000,将SMS-STATUS-REPORT发送给发送方移动终端,然后执行步骤2012。
步骤2008,SGSN将接收到的SMS-DELIVER-REPORT发送给SMSC。
步骤2009,SMSC根据SMS-DELIVER-REPORT创建SMS-STATUS-REPORT,并根据SMS-DELIVER-REPORT中携带的发送方移动终端的号码信息13011111111,然后将SMS-STATUS-REPORT发送给发送方移动终端。In
步骤2010,结束。
短消息发送方移动终端中的业务处理模块接收到接收方移动终端返回的携带地理位置信息的SMS-STATUS-REPORT后,将该SMS-STATUS-REPORT发送给客户端模块,客户端模块便可以显示接收方移动终端用户当前的地理位置信息。After the service processing module in the mobile terminal of the short message sender receives the SMS-STATUS-REPORT carrying the geographic location information returned by the mobile terminal of the receiving party, it sends the SMS-STATUS-REPORT to the client module, and the client module can display The current geographic location information of the receiving mobile terminal user.
本发明实施例中,在MSC或者SGSN处增设了位置信息提供装置,可以预先建立小区标识与该小区的地理位置之间的映射关系信息并存储在位置信息提供装置中,当移动交换设备或者SGSN接收到移动终端发送的短消息或者发送报告消息后,便可以根据之前获取的小区标识信息,查询与该小区标识信息相应的地理位置信息,并将该地理位置信息写入短消息或者发送报告消息中,然后将写入地理位置信息的短消息或者发送报告消息发送给对方移动终端,使得对方移动终端接收到消息后,在显示消息内容时,还可以显示消息发送方移动终端的地理位置信息,使得消息接收方移动终端用户可以方便地获知发送消息的移动终端用户当前的地理位置信息,方便了移动终端用户。In the embodiment of the present invention, a location information providing device is added at the MSC or SGSN, and the mapping relationship information between the cell identifier and the geographic location of the cell can be pre-established and stored in the location information providing device. When the mobile switching device or SGSN After receiving the short message or sending report message sent by the mobile terminal, it can query the geographical location information corresponding to the cell identification information according to the previously obtained cell identification information, and write the geographical location information into the short message or send the report message , and then send the short message or sending report message written in the geographical location information to the mobile terminal of the other party, so that after the mobile terminal of the other party receives the message, when displaying the content of the message, it can also display the geographic location information of the mobile terminal of the message sender, The mobile terminal user of the message receiver can conveniently know the current geographic location information of the mobile terminal user sending the message, which is convenient for the mobile terminal user.
最后所应说明的是:以上实施例仅用以说明本发明的技术方案,而非对本发明作限制性理解。尽管参照上述较佳实施例对本发明进行了详细说明,本领域的普通技术人员应当理解:其依然可以对本发明的技术方案进行修改或者等同替换,而这种修改或者等同替换并不脱离本发明技术方案的精神和范围。Finally, it should be noted that: the above examples are only used to illustrate the technical solutions of the present invention, rather than limiting the understanding of the present invention. Although the present invention has been described in detail with reference to the above-mentioned preferred embodiments, those skilled in the art should understand that: it can still modify or replace the technical solution of the present invention, and such modification or replacement does not depart from the technology of the present invention. The spirit and scope of the programme.
Claims (28)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN2006101452196A CN1964571B (en) | 2006-11-17 | 2006-11-17 | Mobile terminal, message processing system and processing method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN2006101452196A CN1964571B (en) | 2006-11-17 | 2006-11-17 | Mobile terminal, message processing system and processing method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN1964571A CN1964571A (en) | 2007-05-16 |
| CN1964571B true CN1964571B (en) | 2010-04-14 |
Family
ID=38083398
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN2006101452196A Expired - Fee Related CN1964571B (en) | 2006-11-17 | 2006-11-17 | Mobile terminal, message processing system and processing method |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN1964571B (en) |
Families Citing this family (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101296515A (en) * | 2008-05-20 | 2008-10-29 | 华为技术有限公司 | Method and device for configuring cell identifiers |
| RU2526288C2 (en) * | 2009-02-16 | 2014-08-20 | Комверс, Лтд. | Use of text message by first mobile telephone user to activate process providing information to second mobile telephone user |
| CN101945330A (en) * | 2010-09-09 | 2011-01-12 | 惠州Tcl移动通信有限公司 | Mobile terminal-based positioning method and mobile terminal |
| CN102685850A (en) * | 2011-03-15 | 2012-09-19 | 深圳富泰宏精密工业有限公司 | Signal searching system and signal searching method |
| CN103139703B (en) * | 2011-11-24 | 2018-02-09 | 中兴通讯股份有限公司 | A kind of method and terminal of the information processing based on RCS e systems |
| CN103796159B (en) * | 2014-01-20 | 2017-12-12 | 惠州Tcl移动通信有限公司 | The localization method and system of a kind of functional mobile phone |
| CN108009246A (en) * | 2017-11-30 | 2018-05-08 | 珠海市魅族科技有限公司 | A kind of history message lookup method and device |
| CN111050288A (en) * | 2020-01-17 | 2020-04-21 | 神州伟智(天津)科技有限公司 | Method, system, electronic device and storage medium for pushing location using short message |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US6397054B1 (en) * | 1998-07-30 | 2002-05-28 | Ericsson Inc. | Features for emergency calling and short messaging system |
| US6466788B1 (en) * | 1998-12-21 | 2002-10-15 | Telefonaktiebolaget Lm Ericsson (Publ) | Methods and apparatus for transferring position data between terminals in wireless communications systems |
| CN1518391A (en) * | 2003-01-28 | 2004-08-04 | �ձ�������ʽ���� | Location system and method in mobile communication network |
| CN1522085A (en) * | 2003-01-28 | 2004-08-18 | 华为技术有限公司 | A position positioning system and method |
-
2006
- 2006-11-17 CN CN2006101452196A patent/CN1964571B/en not_active Expired - Fee Related
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US6397054B1 (en) * | 1998-07-30 | 2002-05-28 | Ericsson Inc. | Features for emergency calling and short messaging system |
| US6466788B1 (en) * | 1998-12-21 | 2002-10-15 | Telefonaktiebolaget Lm Ericsson (Publ) | Methods and apparatus for transferring position data between terminals in wireless communications systems |
| CN1518391A (en) * | 2003-01-28 | 2004-08-04 | �ձ�������ʽ���� | Location system and method in mobile communication network |
| CN1522085A (en) * | 2003-01-28 | 2004-08-18 | 华为技术有限公司 | A position positioning system and method |
Also Published As
| Publication number | Publication date |
|---|---|
| CN1964571A (en) | 2007-05-16 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US9532195B2 (en) | Location based messaging | |
| JP5792798B2 (en) | Allocation of Internet Protocol (IP) addresses and usage during short message service (SMS) transmission | |
| CN103858453B (en) | Mobility Management Entity with Mobile Switching Center functionality | |
| US20040142707A1 (en) | Inter-carrier short text message delivery | |
| CN101313605A (en) | Method, system and short message service center for obtaining user terminal equipment information | |
| CN101330662A (en) | Service content information query method, system and service provider platform | |
| CN101742429B (en) | Method, device and system for intercommunication of instant message and short message | |
| CN101577867B (en) | Push message sending method, device and system in multimedia message service | |
| CN1964571B (en) | Mobile terminal, message processing system and processing method | |
| CN1926892B (en) | Method and apparatus for sending message to mobile station by addressing the hardware part | |
| EP1770582A1 (en) | Method, system and apparatus for limiting short message forwarding | |
| CN103906022B (en) | A kind of method, equipment and system for realizing the number of changing switching | |
| CN102158828B (en) | Short message processing method and equipment | |
| CN100544495C (en) | A positioning service implementation method based on a mobile intelligent network and a mobile intelligent network system | |
| CN1997079A (en) | Method, system and mobile terminal for inquiry of the linkman state | |
| EP1855497B1 (en) | A method and system for message routing of multimedia messaging service | |
| CN101287162B (en) | Generating method, device for message signature, message signing system | |
| CN101365161A (en) | Method, device and system for realizing welcome message | |
| CN101600177B (en) | Method and system for routing short message service | |
| CN101990178A (en) | Equipment and system for processing short message of take-out user and method for processing short message service | |
| WO2004102992A1 (en) | Telecommunications services apparatus and methods | |
| CN100372395C (en) | System and method for data service platform to obtain mobile terminal information | |
| CN101902702A (en) | A method and system for implementing multimedia message number portability | |
| WO2016107183A1 (en) | Short message termination method, device and system | |
| CN101426186A (en) | Processing method, system and equipment for GPRS forwarding implementation |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| C14 | Grant of patent or utility model | ||
| GR01 | Patent grant | ||
| CF01 | Termination of patent right due to non-payment of annual fee | ||
| CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20100414 |