CN101022577A - Short message searching method and system - Google Patents

Short message searching method and system Download PDF

Info

Publication number
CN101022577A
CN101022577A CN 200710000166 CN200710000166A CN101022577A CN 101022577 A CN101022577 A CN 101022577A CN 200710000166 CN200710000166 CN 200710000166 CN 200710000166 A CN200710000166 A CN 200710000166A CN 101022577 A CN101022577 A CN 101022577A
Authority
CN
China
Prior art keywords
information
content
short message
mobile terminal
keyword
Prior art date
Application number
CN 200710000166
Other languages
Chinese (zh)
Other versions
CN101022577B (en
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 CN 200710000166 priority Critical patent/CN101022577B/en
Publication of CN101022577A publication Critical patent/CN101022577A/en
Application granted granted Critical
Publication of CN101022577B publication Critical patent/CN101022577B/en

Links

Abstract

A method for searching short message includes sending short message used for obtaining content to short message gateway by mobile terminal through short message center, analyzing said short message by said gateway and sending character string used for obtaining content in said short message to search engine, fetching out relevant content information from databank by using search engine to analyze said character string then sending said content information back to said mobile terminal.

Description

短信搜索方法及其系统 SMS search method and system

技术领域 FIELD

本发明涉及利用移动通信系统的短消息获取信息的方法和系统,特别涉及短信搜索方法及其系统。 The present invention relates to a method and system for a mobile communication system using a short message to obtain information, and in particular relates to a method and system for SMS search.

背景技术 Background technique

随着使用支持中文手机的用户增多,短信息已经成为手机用户最经常使用的业务之一。 With the use of Chinese mobile phone users increased support, short message service of mobile phone users has become one of the most frequently used. 除了大量使用的手机用户到手机用户的点对点短信业务之外,从信息平台到手机用户的短信信息服务业务也在快速发展,该业务已经成为广大用户及时方便地获取信息的一种手段。 In addition to a large number of mobile phone users use mobile phone users to point to point short message service, from the information platform to mobile phone users SMS information services business is also developing rapidly, the business has become the majority of users timely and convenient access to a means of information. 在广大服务提供商(SP)的支持下,用户可以采用短信点播或网站定制的方式得到大量有用信息,SP也能通过提供有偿信息服务而获得收益,因此用户和SP对短信信息服务业务的需求都很大。 With the support of the majority of the service provider (SP), the user can customize the way text messages or on-demand site uses get a lot of useful information, but also through the SP to provide paid information services and access to income, so the user needs of SP and SMS information services business They are great.

短信网关(ISMG)可以为SP与短消息中心(SMSC)之间数据交换提供一条安全、快捷的通道,以便手机用户采用短信方式与SP双向通信,接收SP提供的信息服务,同时完成相应计费采集、业务管理、网络管理等功能。 SMS Gateway (ISMG) can provide a safe, quick access to the SP and the short message service center (SMSC) to exchange data between mobile phone users to use two-way communication with the SP SMS, receiving information service provided by the SP, the corresponding accounting is completed at the same time acquisition, business management, network management and other functions.

短信网关各组成部分的功能为:(1)SMPP代理系统遵循SMPP 3.3版本协议与GSM网中短消息中心连接,实现高效、可靠的数据传输。 Function of each component of the SMS gateway: (1) SMPP proxy system follows the protocol version SMPP 3.3 GSM network short message service center is connected, efficient and reliable data transmission. 该系统支持流量控制功能,能够根据SMSC的业务量进行发送流量控制。 The system supports flow control, flow rate control can be performed in accordance with the transmission of traffic SMSC.

(2)通信代理系统实现与SP等内容供应商的连接和协议互通。 (2) a communication proxy system interconnect with the content provider SP and other connections and protocols. 它基于TCP/IP协议基础之上,利用CMPP协议与SP之间建立一条安全、高效的传输通道。 It TCP / IP protocol-based basis, the establishment of a safe and efficient use of the transmission channel between the SP and CMPP protocol. 该系统支持流量控制功能,能够根据本身的业务量进行接收流量控制。 The system supports flow control, flow rate control can be performed according to received traffic itself.

(3)防火墙作为短信网关的重要功能组成部分,其功能是对短信网关内部其它相关模块进行保护,实现针对内外访问的包过滤和代理。 (3) firewall functions as an important component of SMS gateway, and its function is related to other internal SMS Gateway module protection, filtering and proxy for the package to achieve internal and external access.

(4)短消息网关处理系统完成网关的业务处理,包括:向汇接网关进行路由查询,在本地建立短信网关ID、用户手机号码、SP ID及其IP地址对应表的缓存,建立用户手机号码段与SMSC(短信中心)地址的对应表,完成对数据分发功能的支持、计费原始话单的提供及处理等。 (4) processing the short message gateway service processing system to complete the gateway, comprising: a route inquiry to the Tandem gateway, establishing the local SMS gateway ID, user phone number, the SP ID and the IP address corresponding to the cache, create a user mobile phone number segment table corresponding to the SMSC (SMS Center) address complete support for data distribution function, and to provide billing processing original bill and the like.

(5)短信网关计费系统提供短信网关的原始话单记录(CDR)。 (5) provide billing system SMS Gateway SMS Gateway original bill record (CDR).

(6)业务管理系统包括业务管理和网管监控功能。 (6) Business management system includes business management and network monitoring.

业务管理主要完成对业务的统计报告、生成报表、运营者对用户数据的添加、修改、删除等;网管监控主要完成对网关系统的监控、查询、操作和维护的管理。 Business management major to complete statistical report on the business, generate reports, operator of user data add, modify, delete and so on; network management and monitoring of the main gateways to complete the monitoring system, query, operation and maintenance management.

虽然短信网关能够使移动用户采用短信方式与SP双向通信,接收SP提供的信息服务,但是目前的短信网关还只能通过接收用户发送的特定字符,向用户提供预期的内容信息,例如中国发明专利申请公开CN1731800A就披露了这样一种方法和系统。 Although SMS gateway enables mobile users using SMS bidirectional communication with the SP, receiving information service provided by the SP, but the current sent through the SMS Gateway also can receive a user's particular character, to provide the desired content information to a user, such as China patent Original CN1731800A on the disclosure of such a method and system.

发明内容 SUMMARY

本发明的目的是提供利用用户任意编辑的短消息,获得预期信息的短信搜索方法及其系统。 Object of the present invention is to provide the use of a short message the user to arbitrarily edit, search method and system messages to obtain the desired information is.

根据本发明的第一方面,提供了一种短信搜索方法,包括以下步骤:a、移动终端通过短信中心向短信网关发送用于获取内容的短消息;b、所述短信网关解析所述短消息,将短消息中包含的用于获取内容的字符串转发给搜索引擎;c、所述搜索引擎通过分析所述字符串,从数据库读出相应的内容信息,并将所述内容信息回复给所述移动终端。 According to a first aspect of the present invention, there is provided a method for searching text message, comprising the steps of: a, the mobile terminal transmits a short message for acquiring the content to the short message center by the short message gateway; B, parses the short message the short message gateway , forwarding the short message includes a character string for acquiring content to a search engine; C, the search engine by analyzing the character string, reads the corresponding contents information from a database, and the information content of the reply to the said mobile terminal.

其中,所述短消息包括移动终端号码和所述字符串。 Wherein said short message comprises a mobile terminal number and the character string.

其中,所述步骤c包括:对所述字符串进行分词和语句分析,得到关键词;根据所得到的关键词,从数据库中检索到要回复给移动终端的内容信息;根据所述关键词,搜索与该关键词相关联的附加信息;将所述附加信息与所述内容信息组合在一起,形成回复给移动终端的回复信息。 Wherein said step c comprises: the string word and sentence analysis, keyword; obtained according to the keyword is retrieved from the database to the content information to reply to the mobile terminal; according to the keyword, search for additional information associated with the keyword; the additional information together with the content information, reply to the reply information form the mobile terminal.

其中,附加信息可以是与内容信息关联的概括性内容信息或者详细内容信息,例如如果内容信息是“北京烤鸭”,则概括性内容信息可以是有关“烤鸭的一般制作方法”的信息,而详细内容信息则可以是“北京烤鸭是采用果木炭火烤制的北京填鸭”。 Wherein the additional information may be general information or details of the content information associated with content information, for example, if the content information is "Beijing Duck", the general content information may be information about the "general production methods duck", and detailed content information can be "Beijing roast duck is the use of charcoal grilled fruit of the Beijing duck."

所述附加信息还可以是专业广告和/或分类广告。 The additional information may also be a professional advertising and / or classified ads.

其中,通过内容信息与附加信息的对应数据表检索所述附加信息。 Wherein the additional information through the corresponding data table of contents information and additional information retrieval.

其中,所述内容信息与附加信息的对应数据表中存有内容信息索引和附加信息索引。 Wherein the data corresponding to the content information table additional information in the content information there index index and the additional information.

其中,根据附加信息编号,检索附加信息。 Wherein, according to the additional information number, retrieve the additional information.

其中,所述回复信息包括以下各项之一:内容信息;概括性内容信息+内容信息;内容信息+详细内容信息;以及概括性内容信息+内容信息+详细内容信息。 Wherein said reply message comprises one of the following: content information; + general content information content information; + detailed information contents information; general content information and content information + + detailed information.

所述回复信息还可以包括以下各项之一:内容信息;专业广告+内容信息;内容信息+分类广告;以及专业广告+内容信息+分类广告。 The reply message may also include one of the following: content information; professional advertising + content information; information content + classified ads; and professional advertising + content + information classified ads.

根据本发明的第二方面,提供了一种短信搜索系统,包括:移动终端,通过短信中心向短信网关发送用于获取内容的短消息;短信网关,接收并解析移动终端发送的所述短消息,将短消息中包含的用于获取内容的字符串转发给搜索引擎;数据库,其内存储内容信息和附加信息;以及搜索引擎,通过分析所述字符串,从数据库读出相应的内容信息,并将所述内容信息回复给所述移动终端。 According to a second aspect of the present invention, there is provided a short message search system, comprising: a mobile terminal, sending a short message for acquiring the content to the short message center by the short message gateway; SMS gateway, receives and parses the short message sent by the mobile terminal , forwarding the short message includes a character string for acquiring content to a search engine; database that stores the contents information and additional information; and a search engine, by analyzing the character string, reads the corresponding contents information from a database, and the content information reply to the mobile terminal.

其中,所述搜索引擎包括:对所述字符串进行分词和语句分析,得到关键词的装置;根据所得到的关键词,从数据库中检索到要回复给移动终端的内容信息的装置;根据所述关键词,从数据库中检索与该关键词相关联的附加信息的装置;将所述附加信息与所述内容信息组合在一起,形成回复给移动终端的回复信息的装置。 Wherein the search engine comprises: the string word and sentence analysis, keyword means obtained; obtained according to the keyword, the device retrieved from the database to the content information to reply to the mobile terminal; in accordance with the said keyword retrieval device associated with the keyword from the additional information database; the additional information together with the content information, the device reply to the reply information of the mobile terminal is formed.

其中,数据库通过数据库管理模块或装置经由网络连接其它内容供应商,以便在数据库中没有与所述关键词对应的内容信息时,由其它内容供应商提供与该关键字对应的内容信息。 Wherein, the content provider database connected to the other via a network database management module or means, so that no content information corresponding to the keyword in the database, providing content information corresponding to the keyword by other content providers.

利用本发明的上述特点,可以实现以下技术效果:手机点播:-用户在手机的编辑短消息的消息体中,输入需要点播的代码或内容,然后在“发送”号码中输入SP的服务代码,发送短信;-如果发送成功,用户稍后即可收到点播的信息。 With the above features of the present invention can achieve the following technical effects: Mobile VOD: - the user message body edit short message mobile phone, enter the required demand code or content, and then enter the SP service code in the "transmission" numbers, send text messages; - If sent successfully, the user can receive information on demand later.

手机定制:-用户在手机的编辑短消息的消息体中,输入需要定制的代码或内容,然后在“发送”号码中输入SP的服务代码,发送短信;-如果发送成功,用户稍后即可收到定制的信息(如密码);-用户以此密码回复向SP进行确认,确认成功就可以定制SP提供的服务了;-SP会根据用户的定制信息发送信息到用户手机。 Phone customization: - the user to edit a short message in the message body of the phone, enter the required custom code or content, then enter the "send" number of SP service code, send text messages; - If sent successfully, the user can later receive information (such as passwords) customized; - user password reset confirmation in order to SP, you can confirm the success of customized services provided by the SP; -SP send information to mobile phone users based on the user's customized information.

网站定制:-用户登录提供短信信息服务的SP网站,按照页面的提示,注册成为SP的用户,并登记用户的手机号码;-SP会将确认密码以短信方式发送给用户,用户以此密码在SP进行确认,确认成功就可以定制SP提供的服务;-用户在SP的页面上定制需要的服务,SP会根据用户的定制信息发送信息到用户手机。 Website Customization: - user login information to provide messaging services SP website, follow the prompts page, register as a user of the SP, and registered users of the mobile phone number; -SP will confirm the password will be sent a text message to the user, this user password SP confirmation, we can confirm the success of customized services provided by the SP; - customized service required on the page SP, SP will send information to the user customized information based on user's mobile phone.

WAP推送(PUSH,是一种特殊的短信来发送,是基于短信网关WAP推送):-选用PDU模式向手机发送WAP PUSH,用户接收到此类信息时,在客户端手机支持WAP的情况下,可以直接访问到信息中加载的WAP网站地址。 WAP push (PUSH, is to send a special SMS, SMS Gateway is based on WAP push): - Send to phone WAP PUSH PDU mode selected, the user receiving such information, in case the client phone supports WAP, and direct access to a WAP site address information is loaded.

下面结合附图对本发明进行详细说明。 The present invention will be described in detail in conjunction with the accompanying drawings.

附图说明 BRIEF DESCRIPTION

图1是实现本发明的短信搜索的配置示意图;图2显示了一个实现短信搜索的一个实施例的示意图;图3是本发明的附加信息搜索流程图;图4显示了本发明的回复给移动终端的回复信息的格式;图5显示了利用数据表得到图4所示回复信息的格式的示意图。 FIG 1 is a configuration diagram of the present invention, the SMS search implemented; FIG. 2 shows a schematic of one embodiment of a short message searched; FIG. 3 is an additional information search is a flowchart of the present invention; FIG. 4 shows the present invention reply to the mobile terminal reply information format; FIG. 5 shows a schematic diagram obtained by using the data table shown in FIG. 4 of the reply message format.

具体实施方式 Detailed ways

首先解释本发明涉及的有关术语。 First, an explanation of the term to the present invention.

服务提供商(service provider缩写SP):短信信息服务的信息提供者;短信网关(internet short message gateway缩写ismg):提供SP与短信中心之间数据交换的通道,采用cmpp(china mobile peer topeer)协议与SP进行连接,采用smpp3.3协议与短信中心连接;短信中心(short message service center缩写smsc):利用信令网将短消息发送给手机用户;汇接网关(gateway name server缩写gns):提供短信网关的路由查询。 Service provider (service provider SP abbreviation): Information SMS information service provider; SMS Gateway (internet short message gateway abbreviation ismg): provide a channel for data exchange between the SP and the short message center, using cmpp (china mobile peer topeer) protocol connected to the SP, the short message center using smpp3.3 protocol connection; SMSC (short message service center SMSC abbreviation): using the signaling network to send a short message to mobile phone users; tandem gateway (gateway name server abbreviation gns): providing SMS gateway routing queries.

本发明的短信搜索以互联网(或信息数据库)上的信息作为短信的主要信息来源,由互联网上的电信服务提供商(SP)直接与短消息中心(SMSC)相沟通,建立信息交换的接口。 SMS of the invention the main source of information to search for information on the Internet (or database information) as text messaging, with communication by the telecommunications service provider (SP) on the Internet directly to the short message service center (SMSC), the establishment of interface information exchange. 并依附于原有的手机信息传递方式(短消息),将互联网上的巨大信息量根据用户的要求,通过手机的短消息方式传递给用户,体现将传统业务与互联网相结合的发展模式。 And attached to the original way of transmitting information phone (SMS), a huge amount of information on the Internet based on user requirements, delivered to the user via the mobile phone short message, reflecting the development of the traditional business model of combining the Internet. 短信搜索提供的短信信息服务种类可涉及信息服务、娱乐服务、位置服务、通讯服务和商务服务等,手机用户可以通过短信点播或定制的方式获取以上服务。 The type of message information service provided by SMS search may involve information services, entertainment services, location services, communications services and business services, mobile phone users can access these services via SMS or on-demand customized manner.

短信信息服务业务过程:用户发短信业务—即mo业务,如信息点播等,短信中心将短信内容以smpp协议发给连接的短信网关。 SMS information services business processes: business users send text messages - that mo services, such as information on demand, SMS center will send the message content to smpp protocol message gateway connection. 短信网关根据短信发送号码(即SP的服务代码)将短信内容以cmpp协议发给相应的SP,由SP进行处理。 SMS Gateway transmission number (i.e., SP's service code) message according to the message content sent to the respective SP cmpp protocol, processed by the SP.

用户收短信业务—即mt业务,如短信传情、铃音下载等,提供此项业务的SP将短信内容以cmpp协议发给连接的短信网关,由短信网关根据用户手机号段以smpp协议发给用户归属的短信中心。 Users receive SMS - namely mt services, such as SMS teaser, download ring tones, etc., the SP will provide this service message content sent to cmpp protocol message gateway connected to smpp agreement issued by the SMS gateway based on the user's phone number segment user belongs message center.

下面结合附图说明本发明的短信搜索方法和短信搜索系统。 BRIEF DESCRIPTION OF SMS message search method and search system according to the present invention will be binding.

一般来说,本发明的短信搜索方法包括以下步骤:a、移动终端通过短信中心向短信网关发送用于获取内容的短消息;b、所述短信网关解析所述短消息,将短消息中包含的用于获取内容的字符串转发给搜索引擎: In general, SMS search method of the invention comprises the following steps: a, the mobile terminal transmits a short message for acquiring the content to the short message center by the short message gateway; B, the short message gateway parses the short message, the short message contains strings for acquiring content forwarded to the search engine:

c、所述搜索引擎通过分析所述字符串,从数据库读出相应的内容信息,并将所述内容信息回复给所述移动终端。 C, the search engine by analyzing the character string, reads the corresponding contents information from a database, and the content information reply to the mobile terminal.

其中,所述短消息包括移动终端号码和所述字符串。 Wherein said short message comprises a mobile terminal number and the character string.

其中,所述步骤c包括:对所述字符串进行分词和语句分析,得到关键词;根据所得到的关键词,从数据库中检索到要回复给移动终端的内容信息。 Wherein said step c comprises: the string word and sentence analysis, keyword; obtained according to the keyword is retrieved from the database to the content information to reply to the mobile terminal.

图1显示了实现上述方法的具体过程,即:(1)用户使用手机编辑“短信内容”发送到SP特服号对于手机用户发短信业务,如信息点播等,用户归属地的短信中心会将短信转发给负责连接该短信中心的短信网关,由短信网关根据服务代码和业务代码判别将请求转发给相应的SP;若该SP为该短信网关负责连接的SP,则短信网关直接转发;若该SP非其负责连接的SP,需向汇接网关查询路由,查询到路由后再将请求转发给负责的短信网关,由该负责的短信网关转发给该SP。 Figure 1 shows a specific process of implementing the above method, namely: (1) the user sends to the SP for the special service phone subscriber services, such as information on demand and other phone Edit "SMS content" message center sends the user's home forward the short message to the SMS gateway is responsible for connecting the short message center, the short message gateway according to the service code and business code discrimination forwards the request to the appropriate SP; If the SP is responsible for the short message gateway connected to SP, the short message gateway forwards it; if the SP is responsible for its non-connected SP, need to query routing tandem gateway, routing the query to the SMS gateway then forwards the request to the responsible, forwarded by the SMS gateway is responsible for the SP.

其中:-“手机”是指可以进行短信息数据通讯的移动通讯设备,包括GSM网络手机、CDMA网络手机、小灵通手机、3G网络手机,以及以后新标准的移动通讯设备;-“短信内容”可以是英文的字母、单词、词组、短语或句子,也可以是中文的字、词或句子,还可以是数字,或是三者的任意组合,组合之间可用空格、逗号、#号、*号、……等有别于上述内容的约定符号隔开。 Where: - "mobile phone" refers to mobile communication devices SMS data communications, including mobile phone GSM network, CDMA network phones, PHS phones, 3G mobile phone network, and after the new standard of mobile communication equipment; - "message content" may be in English letters, words, phrases, sentences or phrases, may be Chinese characters, words or phrases, may also be available space, comma between numbers, or any combination of the three, combined, a #, * No, ...... and so different from the above agreement symbol separated.

(2)系统(短信网关)通过短信通道,再将“手机号码+短信内容+地理位置信息”传递给后续的接收处理系统(程序)接收短信信息的后续处理系统是指静态IP地址(如:218.244.49.155)或有效域名+接收文件名,即:接收短信的文件:如:Receive.php可以加上路径,例如:http://www.domain.com/Receive.php,并将信息存入指定位置(文件)中,供系统搜索引擎处理系统调用。 Subsequent processing systems (2) Systems (SMS gateway) receives the SMS message via SMS channel, then "+ phone number + location information message content" to the subsequent reception processing system (program) refers to a static IP address (eg: 218.244.49.155) or receiving a valid name + file name, namely: message receiving files: as: Receive.php path can be added, for example: http: //www.domain.com/Receive.php, and stores the information specify the location (file), the search engine system for processing system calls.

其中,接收处理系统可设定验证密码,由用户可以随意指定,供用户接收PUSH的信息时认证使用。 Authentication use wherein the reception processing system can set a password authentication, may be arbitrarily designated by the user, for the user receiving the PUSH information.

后续的接收处理系统分为内容处理、信息检索、结果提取三部分 The subsequent reception processing is divided into the content processing system, information retrieval, extraction results of three parts

(3)搜索引擎处理系统根据接收到的信息,对短信内容部分进行自然语言处理第一部分,系统根据接收到的信息,通过自然语言的分词、句法分析处理,把信息序列切分成有意义的词,例如:分词处理可使用基于字符串匹配的分词方法、基于理解的分词方法、基于统计的分词方法或复合的分词方法进行,句法分析可采用Tomita算法和Chart算法等。 (3) search processing based on the information received, the short message content portion natural language processing of the first portion, based on the information received by word natural language syntactic analysis processing, the information sequence cut into meaningful words such as: word processing may be used, based segmentation method be appreciated, the statistical method based on word or word of a composite word string matching method based parsing algorithms may be employed and Chart Tomita algorithm.

第二部分,经过分词、句法分析处理,获得检索需求的关键字,通过检索引擎的调用,取得初步检索结果。 The second part, after the word, syntax analysis, the keyword retrieval needs, by calling the search engine, and achieved initial search results.

注:短信内容中英文信息的处理与上述处理过程相同(4)通过关键词进行数据库检索第三部分,根据初步检索结果,做进一步的信息处理,通过进行数据库检索,从信息库中将抽取最终结果。 Note: SMS content in the above-described process of processing the same information in English (4) database search by keywords third portion, according to the preliminary search results, the further information processing, by performing the database search, the repository will be drawn from the final result. 如果本地数据库中没有要检索的信息,可通过网络通信,获得相关检索的信息。 If no information in the local database to be retrieved, through the communication network to obtain relevant information retrieved.

(5)将回复信息内容通过短信通道传递给短信网关平台系统将检索结果与关联信息或指定信息相搭配,组成待回复的短信息内容,传递给短信通道。 (5) the content of the reply message transmitted to the channel via SMS messaging gateway system internet search result information associated with the matched or designation information, the information content of the composition to be short reply is transmitted to the message channel.

(6)短信通道通过电信的短信网关,将短信号码与回复的短信息内容一并返回给用户手机(7)用户手机接收到系统返回的短消息,即用户短信检索的结果。 (6) via a telecommunication channel SMS SMS Gateway, the message number and a short message Reply collectively returned to the user handset (7) receiving the user's mobile phone short message system returns, i.e. the result of the user to retrieve messages.

参见图2,本发明的短信搜索方法还包括:根据所述关键词,由附加信息获取装置从数据库中搜索与该关键词相关联的附加信息;然后由回复生成装置将内容获取装置获取内容信息与附加信息获取装置获取的附加信息组合在一起,形成回复给移动终端的回复信息。 Referring to Figure 2, SMS search method of the invention further comprises: according to the keyword, searches the additional information means associated with the keyword from the database acquired by the additional information; and by the response generation means to the content acquisition device acquires the content information additional information acquisition means and the additional information acquired together, form a return reply information to the mobile terminal.

附加信息可以是与内容信息关联的概括性内容信息或者详细内容信息,例如如果内容信息是“北京烤鸭”,则概括性内容信息可以是关于“烤鸭的一般制作方法”的信息,而详细内容信息则可以是“北京烤鸭是采用果木炭火烤制的北京填鸭”。 Additional information may be general information or details of the content information associated with content information, for example, if the content information is "Beijing Duck", the general content information may be information on "General duck production methods", and detailed content information it may be "Beijing roast duck is the use of charcoal grilled fruit of the Beijing duck."

附加信息还可以是专业广告和/或分类广告,为了便于说明,在下文中采用专业广告和/或分类广告表述附加信息,但本发明不限于此,例如除了上述的概括性内容信息或者详细内容信息外,附加信息还可以包括存储在数据库中的与内容信息的关键字关联的所有信息。 Additional information may also be specialized advertising and / or classified ads, for convenience of explanation, a professional ads and / or ad in the following presentation of additional information, but the present invention is not limited thereto, for example, in addition to the above-described general contents information or detailed information in addition, additional information may also include all of the information stored in the database associated with the content keyword information.

下面进一步描述本发明的搜索引擎利用自然语言分析短信的字符串,得到回复给移动终端的回复信息的处理。 Further described below SMS string analysis using a search engine according to the present invention a natural language to obtain a reply process a reply message to the mobile terminal.

接收到的用户短信内容,首先进行自然语言解析,包括分词和语句分析。 Received user message content, the first natural language parsing, including the word and sentence analysis. 分析得到若干关键词,根据关键词在数据库中检索得到要发给用户的信息内容。 Get some keyword analysis, keyword retrieved in a database based on the information content to be sent to the user.

发送给用户的信息内容根据需要加载若干项附加信息,最主要的可以是两类:专业广告和分类广告。 Information content sent to the user to load a number of additional information required, may be the most important two categories: professional advertising and classified ads. 广告内容和要回复的信息内容存在一一对应的关系。 There is one to one relationship between advertising content and information content to reply. 信息内容与广告内容的对应关系存储于数据库(如Access或SQL Server)的表中,数据表的设计格式如下表所示。 Stores correspondence between informational content and advertisement content in a database (such as Access or SQL Server) table, the data table shown in the following table format design.

表1信息内容与广告标号对应数据表 Table 1 Information content and advertising data corresponding to the index table

同时,由于不同信息内容对应的广告内容可能是重叠的,例如,信息内容n对应的专业广告和分类广告的编号分别是m和p,而信息内容n+1对应的专业广告和分类广告的编号可能是m和p-1,因此,为了节省数据库存储空间,在数据表1中只存储专业广告和分类广告的编号,具体的广告内容存储于不同的数据子表中。 Meanwhile, since the advertisement content different information corresponding to the content may be overlapped, e.g., professional advertising and classified ads ID information content corresponding to n respectively m and p, and the information content n + 1 corresponding to professional advertising and classified ads ID m, and it may be p-1, therefore, the database in order to save memory space, the data in table 1 is stored only professional advertising ID and classified ads, the specific advertisement content stored in different data sub-table. 当进行信息检索时,首先检索到广告编号,然后根据编号到数据子表中进行二次检索,获得具体的广告内容。 When information retrieval, the retrieved first advertisement ID, then according to the secondary number to retrieve data subtable receive specific advertisement content. 专业广告和分类广告数据表的设计格式如下表所示。 Professional advertising and classified ads data table design format in the following table.

表2专业广告数据表 Table 2 professional advertising data table

表3分类广告数据表 Table 3 Classified Ads Data Sheet

需要说明的是,尽管在表1、表2和表3的数据表中采用编号进行检索,但是也可以采用其它方式如字母方式进行检索,因此上述编号应当理解为是一种索引。 Note that, despite the use of retrieval number in Table 1, Table 2, and the data in Table 3, it may be employed other means such as letters retrieval mode, so the above number to be understood as an index.

图3显示了本发明的根据要回复的短信内容检索对应广告的流程。 Figure 3 shows a reply to the present invention retrieves the corresponding advertisement content of the message flow.

首先,获得上一个分词搜索模块检索得到的要发给用户的信息内容。 First, get on a word search module retrieved content information to be sent to the user. 根据此信息内容,调用检索模块检索信息内容与广告标号对应数据表。 The contents of this information, call information content retrieval module retrieves the advertisement data corresponding to the index table. 当数据量较小时,可以采用对“信息内容”数据项进行顺序遍历的方法。 When the amount of data is small, the order of traversal of the method of "content" data items may be employed. 当数据量较大或者对检索速度要求较高时,也可以采取其他方法。 When a large amount of data retrieval or high speed requirements, other methods may be adopted.

当在记录集中获得所需的信息内容数据记录时,提取该记录所对应的“专业广告编号”数据项中的编号内容a和“分类广告编号”数据项中的编号内容b。 When the desired concentration is obtained content data in the recording information, extracts the record corresponding to "professional advertising ID" content ID number b of data items and a content "Classified Ads number" in the data item. 之后进行二次检索。 After secondary retrieval. 二次检索分别从专业广告数据表和分类广告数据表中检索a、b所对应的广告内容项A、B。 Secondary retrieval are retrieved a, b corresponding to the advertising content items A, B from the data table professional advertising data table and classified ads.

其中,根据返回给用户信息内容的实际需要,广告内容项A、B可以单项或多项为空。 Wherein, according to the actual needs of the user to return to the information content, advertising content items A, B can be single or multiple blank.

获得广告具体内容之后,将广告内容与信息内容组合成一条完整信息,返回给程序入口,然后通过网关发送至移动通信运营商,最终发送到用户手机。 After obtaining the particular advertising content, advertising content and content are combined into a complete message, the program returns to the entrance, and then sent through the gateway to the mobile communication operator, and ultimately transmitted to the user's mobile phone. 完整信息结构可以是如图4所示的四种格式。 Full information structure may be a four formats shown in FIG. 也就是说回复信息可以是以下各项之一:单纯的内容信息;专业广告+内容信息;内容信息+分类广告;以及专业广告+内容信息+分类广告。 That reply message can be one of the following: a simple content information; professional advertising + content information; information content + classified ads; and professional advertising + content + information classified ads.

当然,回复信息可以是以下各项之一:单纯的内容信息;概括性内容信息+内容信息;内容信息+详细内容信息;以及概括性内容信息+内容信息+详细内容信息。 Of course, the reply message can be one of the following: a simple content information; general information content + content information; information content + details information; and general information content information content + + detailed content information.

图2显示了本发明的短信搜索系统,包括:移动终端如手机,通过短信中心向短信网关发送用于获取内容的短消息;短信网关,接收并解析移动终端发送的所述短消息,将短消息中包含的用于获取内容的字符串转发给搜索引擎;数据库(即,总数据库),其内存储内容信息和附加信息;以及搜索引擎,通过分析所述字符串,从数据库读出相应的内容信息,并将所述内容信息回复给所述移动终端。 Figure 2 shows the message search system of the present invention, comprising: a mobile terminal such as a mobile phone, sending a short message for acquiring the content to the short message center by the short message gateway; SMS gateway, receives and parses the short message sent by the mobile terminal, short forwarding the message character string included for acquiring content to a search engine; database (i.e., the total database) which stores the contents information and additional information; and a search engine, by analyzing the character string read out from the corresponding database content information and the content information reply to the mobile terminal.

所述搜索引擎包括:对所述字符串进行分词和语句分析,得到关键词的装置;根据所得到的关键词,从数据库中检索到要回复给移动终端的内容信息的装置;根据所述关键词,搜索与该关键词相关联的附加信息的装置;将所述附加信息与所述内容信息组合在一起,形成回复给移动终端的回复信息的装置。 The search engine comprising: a character string of the word and sentence analysis, keyword means obtained; obtained according to the keyword, the device retrieved from the database to the content information to reply to the mobile terminal; according to the key words, the device searches the additional information associated with the keyword; the additional information together with the content information, the device reply to the reply information of the mobile terminal is formed.

此外,本发明的总数据库通过数据库管理模块或装置经由网络连接其它内容供应商。 Further, according to the present invention, the total database via a network connection to other content providers by the database management module or device. 这样,当搜索引擎不能从总数据库搜索到与关键字对应的内容信息时,即总数据库中没有与关键字对应的内容信息时,数据库管理装置(模块)就可以通过网路与其它内容供应商通信,以便搜索到与该关键字对应的内容信息。 In this way, when the search engine can search from the total database to the contents information corresponding to the keyword, i.e., no database total content information corresponding to the keyword, the database management means (module) can be through the network with other content providers communication, in order to search the content information corresponding to the keyword.

Claims (10)

1.一种短信搜索方法,包括以下步骤:a、移动终端通过短信中心向短信网关发送用于获取内容的短消息;b、所述短信网关解析所述短消息,将短消息中包含的用于获取内容的字符串转发给搜索引擎;c、所述搜索引擎通过分析所述字符串,从数据库读出相应的内容信息,并将所述内容信息回复给所述移动终端。 An SMS search method, comprising the steps of: a, the mobile terminal through the SMSC transmits the short message to the short message gateway acquiring the content; B, the short message gateway parses the short message, the short message included with forwarding acquiring content character string to the search engine; C, the search engine by analyzing the character string, reads the corresponding contents information from a database, and the content information reply to the mobile terminal.
2.根据权利要求1所述的方法,其中所述步骤c包括:对所述字符串进行分词和语句分析,得到关键词;根据所得到的关键词,从数据库中检索到要回复给移动终端的内容信息。 2. The method according to claim 1, wherein said step c comprises: the string word and sentence analysis, keyword; obtained according to the keyword, to be retrieved from the database to reply to the mobile terminal the content information.
3.根据权利要求2所述的方法,其中所述步骤c还包括:根据所述关键词,搜索与该关键词相关联的附加信息;将所述附加信息与所述内容信息组合在一起,形成回复给移动终端的回复信息。 3. The method according to claim 2, wherein said step c further comprises: additional information according to the keyword, the keyword search is associated with; the additional information together with the content information, forming reply reply information to the mobile terminal.
4.根据权利要求3所述的方法,其中附加信息包括以下之一:与关键字相关的概括性内容信息和/或详细内容信息;与关键字相关的专业广告和/或分类广告。 4. The method according to claim 3, wherein the additional information includes one of: a keyword associated with the content general information and / or detailed information; professional advertising related to keywords and / or classified ads.
5.根据权利要求3所述的方法,其中通过内容信息与附加信息的对应数据表检索所述附加信息。 5. The method according to claim 3, wherein said additional information by retrieving the corresponding data table of contents information and additional information.
6.根据权利要求5所述的方法,其中所述内容信息与附加信息的对应数据表中存有内容信息索引和附加信息索引。 6. The method according to claim 5, wherein data corresponding to the content information table and additional information in the content information there index index and the additional information.
7.根据权利要求3所述的方法,其中所述回复信息包括以下各项之一:内容信息;专业广告或概括性内容信息+内容信息;内容信息+分类广告或详细内容信息;以及专业广告或概括性内容信息+内容信息+分类广告或详细内容信息。 7. The method according to claim 3, wherein said reply message comprises one of the following: content information; professional advertisement or general information content + content information; + content information or detailed information classified ads; and professional advertising or general information content information content + + classifieds or detailed content information.
8.一种短信搜索系统,包括:移动终端,通过短信中心向短信网关发送用于获取内容的短消息;短信网关,接收并解析移动终端发送的所述短消息,将短消息中包含的用于获取内容的字符串转发给搜索引擎;数据库,其内存储内容信息;以及搜索引擎,通过分析所述字符串,从数据库读出相应的内容信息,并将所述内容信息回复给所述移动终端。 A SMS search system, comprising: a mobile terminal, sending a short message for acquiring the content to the short message center by the short message gateway; SMS gateway, receives and parses the short message sent by the mobile terminal, the short message included with acquiring content character string to be forwarded to the search engine; database that stores the contents information; and a search engine, by analyzing the character string, reads the corresponding contents information from a database, and the content information reply to the mobile terminal.
9.根据权利要求8所述的系统,其中,所述搜索引擎包括:对所述字符串进行分词和语句分析,得到关键词的装置;根据所得到的关键词,从数据库中检索到要回复给移动终端的内容信息的装置。 9. The system of claim 8, wherein the search engine comprises: the string word and sentence analysis, keyword means obtained; obtained according to the keyword is retrieved from the database to respond to It means the content information to the mobile terminal.
10.根据权利要求9所述的系统,其中所述搜索引擎还包括:根据所述关键词,搜索与该关键词相关联的附加信息的装置;将所述附加信息与所述内容信息组合在一起,形成回复给移动终端的回复信息的装置。 10. The system according to claim 9, wherein said search engine further comprising: means for adding information to the keyword, the keyword associated with the search based; the additional information of the content information in combination with together with means to respond to a reply message the mobile terminal is formed.
CN 200710000166 2007-01-09 2007-01-09 Short message searching method and system CN101022577B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200710000166 CN101022577B (en) 2007-01-09 2007-01-09 Short message searching method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200710000166 CN101022577B (en) 2007-01-09 2007-01-09 Short message searching method and system

Publications (2)

Publication Number Publication Date
CN101022577A true CN101022577A (en) 2007-08-22
CN101022577B CN101022577B (en) 2010-05-19

Family

ID=38710203

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200710000166 CN101022577B (en) 2007-01-09 2007-01-09 Short message searching method and system

Country Status (1)

Country Link
CN (1) CN101022577B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010142086A1 (en) * 2009-06-09 2010-12-16 Gvoto (Hong Kong) Ltd. Methods and systems for automatic content retrieval and organization
GB2486261A (en) * 2010-12-10 2012-06-13 Solent Text Ltd Searching a message database using a short message service, SMS, query message
CN102932481A (en) * 2012-11-16 2013-02-13 江苏省公用信息有限公司 System and method for automatically acquiring information of mobile phone terminal
CN103268347A (en) * 2013-05-27 2013-08-28 中山大学 System and method for mobile internet searching system based on messages
CN101884041B (en) 2007-11-30 2014-07-30 雅虎公司 Enabling searching on abbreviated search terms via messaging
CN104866488A (en) * 2014-02-24 2015-08-26 联想(北京)有限公司 Information reply method and electronic equipment

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103079008B (en) * 2013-01-07 2015-05-27 播思通讯技术(北京)有限公司 Method and system for automatically generating replying suggestion according to content of short message

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2788495Y (en) 2004-09-15 2006-06-14 北京中星微电子有限公司 Mobile communication terminal network data searching system

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101884041B (en) 2007-11-30 2014-07-30 雅虎公司 Enabling searching on abbreviated search terms via messaging
WO2010142086A1 (en) * 2009-06-09 2010-12-16 Gvoto (Hong Kong) Ltd. Methods and systems for automatic content retrieval and organization
US9135363B2 (en) 2009-06-09 2015-09-15 Gvoto (Hong Kong) Ltd. Methods and systems for automatic content retrieval and organization
GB2486261A (en) * 2010-12-10 2012-06-13 Solent Text Ltd Searching a message database using a short message service, SMS, query message
CN102932481A (en) * 2012-11-16 2013-02-13 江苏省公用信息有限公司 System and method for automatically acquiring information of mobile phone terminal
CN103268347A (en) * 2013-05-27 2013-08-28 中山大学 System and method for mobile internet searching system based on messages
CN104866488A (en) * 2014-02-24 2015-08-26 联想(北京)有限公司 Information reply method and electronic equipment
CN104866488B (en) * 2014-02-24 2019-02-05 联想(北京)有限公司 A kind of message back method and electronic equipment

Also Published As

Publication number Publication date
CN101022577B (en) 2010-05-19

Similar Documents

Publication Publication Date Title
US8243636B2 (en) Messaging system and service
CA2582523C (en) Method and system for processing queries initiated by users of mobile devices
CN1643877B (en) Method, apparatus and system for providing multimedia messages to incompatible terminals
AU714951B2 (en) Proxy host computer and method for accessing and retrieving information between a browser and a proxy
US20060075122A1 (en) Method and system for managing cookies according to a privacy policy
US7464178B2 (en) Open messaging gateway
US8315178B2 (en) Method and system for wireless message-based advertising
US8209411B2 (en) System, method and computer program product for providing content to a terminal
US20060095515A1 (en) System, method and computer program product for providing content to a terminal and directing the rendering of such content at the terminal
JP4309430B2 (en) A method of forming a server agent for the mobile device, apparatus and system
US20060184625A1 (en) Short query-based system and method for content searching
US20060235885A1 (en) Selective delivery of digitally encoded news content
US7209950B2 (en) Method and apparatus for a network independent short message delivery system
US20070049258A1 (en) System and method of mobile to desktop document interaction using really simple syndication
EP1903727A2 (en) Messaging system and service
CN101018259B (en) Telecom integrated information system and method
US8428604B2 (en) Content-based notification and user-transparent pull operation for simulated push transmission of wireless email
US6868143B1 (en) System and method for advanced unified messaging
US7930208B2 (en) Method and system for delivery of advertising content in short message service (SMS) messages
US7302273B2 (en) System and method for providing interactive wireless data and voice based services
US8457043B2 (en) Method and system for sending, routing, and receiving information using concise messages
CN1145111C (en) Method for pushing customized web page to network users
US7454195B2 (en) System for the centralized storage of wireless customer information
US8195836B2 (en) System for translation and communication of messaging protocols into a common protocol
US20090171906A1 (en) System and method for providing information relating to an email being provided to an electronic device

Legal Events

Date Code Title Description
C06 Publication
C10 Entry into substantive examination
C14 Grant of patent or utility model
CF01