WO2012055251A1 - Method and system for inquiring color ring back tone information - Google Patents

Method and system for inquiring color ring back tone information Download PDF

Info

Publication number
WO2012055251A1
WO2012055251A1 PCT/CN2011/076043 CN2011076043W WO2012055251A1 WO 2012055251 A1 WO2012055251 A1 WO 2012055251A1 CN 2011076043 W CN2011076043 W CN 2011076043W WO 2012055251 A1 WO2012055251 A1 WO 2012055251A1
Authority
WO
WIPO (PCT)
Prior art keywords
information
index file
ring
ring tones
generating device
Prior art date
Application number
PCT/CN2011/076043
Other languages
French (fr)
Chinese (zh)
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 中兴通讯股份有限公司
Publication of WO2012055251A1 publication Critical patent/WO2012055251A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M3/00Automatic or semi-automatic exchanges
    • H04M3/42Systems providing special services or facilities to subscribers
    • H04M3/42017Customized ring-back tones

Definitions

  • the present invention relates to the field of communications, and in particular, to a method and system for querying color ring tones information. Background technique
  • the Web server provides users with colorful ring tones and displays the latest or hottest ring tones information on the ring back tone platform.
  • users can query, audition, download, order, or edit their favorite ring tones. Because of the simple and fast way to query and obtain ring tones, more and more users are willing to The corresponding ring tones are operated by accessing the ring back tone platform of the web server.
  • FIG. 1 is a schematic structural diagram of a color ring tone information inquiry system in the prior art, the system includes: (for storing ring tones information) (the ring tones information includes basic information of the ring tones (the basic information may include the ID and name of the ring tones) , price, singer, etc.), color ring tone stored in the database, physical storage address information, etc.)) and CRBT file database 11 (database 11 may be one or more) for providing query to user terminal 14.
  • the user can browse, browse, or order the ring tones that are required by the ring back tone platform 13 when the ring back tone platform 13 is operated.
  • the query request is sent to the ring back tone platform 13, and the query request carries the identification information of the ring tones (such as the name and number of the ring tones); the ring back tone platform 13 is based on the query request.
  • the identification information is queried from the database 11 for the ring tones information corresponding to the identification information, and then CRBTs query to display information to the user terminal 14.
  • the prior art can quickly query the ring tones information for the user to a certain extent, the number and number of the ring tones are increasing (for example, the current database is stored in units of 100,000 bits.
  • the increase in the number of users accessing the CRBT platform and the number of users accessing the CRBT platform may result in the following technical problems: On the one hand, when a large number of users query the ring tones information, the ring back tone platform needs to frequently access the database to query the corresponding ring tones from the database.
  • the audio information which will undoubtedly bring a large burden to the database; on the other hand, when the CRBT platform queries the corresponding ring tones information in the database, it generally uses the identification information of the ring tones carried in the query request and all the data stored in the database.
  • the identification information of the ring tones information is matched one by one to find the corresponding ring tones information.
  • the corresponding matching is obtained by using the matching methods one by one.
  • the ring tone information needs a long delay. Therefore, the existing method of querying the ring tones information has the problems of prolonged query, slow query speed and low query efficiency. Summary of the invention
  • the present invention provides a method and system for querying ring tones information, which improves the query speed and efficiency of querying ring tones information, and also reduces the burden on the database for querying the ring tones information.
  • a color ring tone information query system comprising:
  • a database used to store the ring tones information of the ring tones
  • An index file generating device is connected to the database, and is configured to obtain color ring tones information from the database, and generate a ring tones information index file including the color ring tones information, where the ring tones information includes the identification information of the ring tones;
  • the ring back tone platform is connected to the index file generating device, and receives the query request sent by the user terminal, and according to the identification information of the color ring tone carried by the query request, the query includes the ring tones information index file generated by the index file generating device, and the query includes The ring tones information of the identification information of the ring tones in the query request.
  • the system further includes: a file transfer protocol FTP server connected between the index file generating device and the ring back tone platform; or the index file generating device and the color ring flat
  • the station is integrated in the same hardware device.
  • the system further includes: a memory, which is respectively connected to the index file generating device and the ring back tone platform, configured to acquire and store a ring tones information index file from the index file generating device, where the memory is set on the ring back tone platform
  • the color ring tone server is located, and the storage space of the memory is part of the memory of the CRBT server;
  • the ring back tone platform queries the ring tones information of the ring tones of the query request, and is specifically configured to: query, from the ring tones information index file stored in the memory, the identifier information carried in the query request Corresponding color ring tone information.
  • the index file generating device is specifically configured to: obtain the ring tones information from the database in real time, periodically, or periodically, and update the stored ring tones information index file according to the obtained ring tones information.
  • the memory is specifically configured to: obtain the latest CRBT information index file from the index file generating device in real time, periodically, or periodically, and update the stored CRBT information index file according to the latest CRBT information index file.
  • the index file generating device is further configured to: back up the latest ring tones information index file stored by the index file generating device; and/or, the memory is further configured to: back up the latest ring tones information index file stored by the memory.
  • the index file generating device is a hardware device having a file retrieval function.
  • the hardware device is a computer loaded with a Lucene tool.
  • the method for querying the ring tones information includes: the ring back tone platform receives the query request sent by the user terminal, where the query request carries the color ring tone identification information; the ring back tone platform carries the color ring tone identification information carried by the query request, from the index
  • the color ring tone information index file of the color ring tone information generated by the file generating device is queried, and the color ring tone information is obtained by the index file generating device according to the color ring tone obtained from the database by the index file generating device.
  • the index file containing the information of each ring tones generated by the information is queried, and the color ring tone information is obtained by the index file generating device according to the color ring tone obtained from the database by the index file generating device.
  • the method further includes: a memory acquiring a CRBT sound information index file from the index file generating device, where the memory is set on a CRBT server where the CRBT platform is located, and a storage space of the memory is the CRBT Part of the memory of the server;
  • the ring back tone platform querying the ring tones information including the identifier information of the ring tones in the query request includes: querying, from the ring tones information index file stored in the memory, the identifier information corresponding to the identifier information carried in the query request Color ring tone information.
  • the index file generating device And generating, by the index file generating device, the ring tones information index file including the color ring tones information according to the ring tones information obtained from the database, the method comprising: the index file generating device acquiring the ring tones from the database in real time, periodically, or periodically. The tone information is updated, and the stored ring tones information index file is updated according to the obtained ring tone information.
  • Obtaining, by the memory, the CRBT sound information index file from the index file generating device, and storing the file includes: acquiring, by the index file generating device, the latest CRBT sound information index file in real time, periodically, or periodically, according to the latest The color ring tone information index file updates the stored ring tones information index file.
  • the method further includes: the index file generating device backing up the latest ring tones information index file stored by the index file generating device; and/or, the memory backing up the latest ring tones information index file stored in the memory.
  • the color ring tone information querying scheme is provided by the embodiment of the present invention.
  • the index file generating device generates the ring tones information index file according to the ring tones information in the database. Therefore, when the ring back tone platform receives the query request sent by the user terminal, the ring back tone The information of the ring tones can be obtained in the audio information index file, and the corresponding ring tones information is not required to be accessed by accessing the database. Therefore, on the one hand, when a large number of users query the ring tones information, the ring back tone platform is compared with the prior art. It is not necessary to frequently query the ring tones information from the database, thereby greatly reducing the workload of the database.
  • the ring back tone platform can be based on the index information provided by the ring tones information index file according to the identification information carried by the ring tones information index file.
  • the ring back tone platform can be based on the index information provided by the ring tones information index file according to the identification information carried by the ring tones information index file.
  • Quickly find the corresponding ring tones The information of the CRBT tone carried in the query request and the identification information of all the CRBT tone information stored in the database are not matched in the database to find the corresponding ring tones information, thereby shortening the ring tones to a certain extent.
  • the query delay of the information improves the query efficiency of the ring tones information.
  • a memory dedicated to storing the CRBT tone information index file acquired from the index file generating device is opened on the CRBT server where the CRBT platform is located. Therefore, when receiving the query request of the user terminal, the CRBT platform receives the query request from the user terminal.
  • the corresponding ring tones information is queried from the ring tones information index file, thereby further improving the efficiency of querying the ring tones information and shortening the delay of querying the ring tones information.
  • FIG. 1 is a schematic structural diagram of a color ring tone information inquiry system in the prior art
  • FIG. 2 is a schematic structural diagram of a color ring tone information inquiry system according to an embodiment of the present invention
  • FIG. 2 is a second schematic structural diagram of a color ring tone information inquiry system according to an embodiment of the present invention
  • FIG. 2C is a diagram of a color ring tone information query according to an embodiment of the present invention
  • FIG. 2D is a schematic structural diagram of a color ring tone information inquiry system according to an embodiment of the present invention
  • FIG. 2 is a schematic structural diagram of a color ring tone information inquiry system according to an embodiment of the present invention
  • FIG. 3 is a schematic flowchart diagram of a method for querying a color ring tone information according to an embodiment of the present invention
  • FIG. 3 is a schematic flowchart diagram of a method for querying a color ring tone information according to an embodiment of the present invention
  • FIG. 4 is a schematic flowchart of maintaining a color ring tone information index file according to an embodiment of the present invention. detailed description
  • the embodiment of the present invention provides a method and system for querying color ring tones information.
  • the system for querying the ring tones information includes: a database for storing ring tones information of the ring tones;
  • the device is connected to the database, and is configured to obtain the ring tones information from the database, and generate a ring tones information index according to the obtained ring tones information.
  • a ringtone platform connected to the index file generating device, configured to query, from the ring tones information index file, the identifier information corresponding to the identifier information when receiving the query request for carrying the color ring tone identification information sent by the user terminal Color ring tone information.
  • the index file generating device generates a ring tones information index file according to the ring tones information in the database, so when the ring back tone platform receives the query request sent by the user terminal, The color ring tone information is obtained in the color ring tone information index file, and the corresponding color ring tone information is not required to be obtained from the database. Therefore, on the one hand, when a large number of users query the ring tones information, the ring back tone platform is compared with the prior art.
  • the ring back tone platform directly queries the corresponding ring tones information in the ring tones information index file, and does not need to
  • the large number of ring tones information stored in the database is used to query the corresponding ring tones information in a one-to-one comparison manner, thereby shortening the query delay of the ring tones information to a certain extent, and improving the query efficiency of the ring tones information.
  • FIG. 2A is a schematic structural diagram of a color ring tone information query system according to an embodiment of the present invention.
  • the system includes: a database 21, an index file generating device 22 connected to the database 21, and a ringtone platform 24 and an index file generating device.
  • the 22-connected CRBT server 23 wherein: the database 21 is used for storing ring tones information and ring tones files of the ring tones.
  • the ring tones information may include basic information of the ring tones (e.g., ID of the ring tones, name, price, singer, etc.) and physical storage address information of the ring tones stored in the database 21.
  • the index file generating device 22 is connected to the database 21, and is configured to obtain the ring tones information from the database 21, and generate a ring tones information index file including the color ring tones information, and the ring tones information includes the identification information of the ring tones.
  • the index file generating device 22 generates the CRBT sound information index file according to the obtained CRBT sound information, and may include: the index file generating device 22 uniformly writes the obtained CRBT sound information to a specific In the text file, the text file is analyzed and processed to obtain a ring tones information index file.
  • the ring back tone platform 24 is connected to the index file generating device 22, and is configured to, when receiving the query request sent by the user terminal 25, the ringtone sound information generated by the index file generating device 22 according to the color ring tone identification information carried by the query request. In the index file, the ring tones information including the identification information of the ring tones in the query request is queried.
  • the ring back tone platform 24 queries the ring tones information, which may be specifically as follows: The ring back tone platform 24 uses the identification information of the ring tones as a keyword, and then parses the keywords and queries the keywords from the ring tones information index file. One or more associated documents.
  • the index file generating device 22 in the CRBT information query system shown in FIG. 2A is a device independent of the CRBT server 23 (ie, the server where the CRBT platform 24 is located), but is not limited to this case, and may also be an index file generation.
  • the device 22 is disposed in the CRBT server 23 as part of the CRBT server 23, and obtains a CRBT tone information inquiry system as shown in FIG. 2B. That is, the CRBT server where the index file generating device 22 and the CRBT platform 24 are located may be two independent devices; or the index file generating device 22 and the CRBT platform 24 may be set on the same CRBT server. In this case, the index file generating device 22 and The ring back tone platform 24 can be connected by a data transmission line.
  • the color ring tone server 23 of FIG. 2A and FIG. 2B further includes a memory 26, which is respectively connected to the index file generating device 22 and the ring back tone platform 24,
  • the CRBT sound information index file is obtained from the index file generating device 22 and stored.
  • the memory 26 is disposed on the CRBT server 23, and the storage space of the memory 26 is a portion of the memory opened in the memory of the CRBT server 23, and the CRBT information inquiry system shown in FIG. 2C and FIG. 2D is obtained.
  • the ring back tone platform 24 queries the corresponding ring tones information from the ring tones information index file stored in the memory 26 by accessing the memory.
  • the index file in the embodiment of the present invention may acquire the ring tones information from the database 21 periodically, in real time or periodically, and update the locally stored ring tones information index file according to the obtained ring tones information.
  • the memory 26 acquires the CRBT sound information index file from the index file generating device 22 in real time, periodically, or periodically, and updates the locally stored CRBT sound information index file according to the acquired CRBT sound information index file.
  • the index file generating device 22 and the memory 26 in order to avoid the problem that the index file generating device 22 and the memory 26 lose power, fault or other reasons during the update of the ring tones information index file, the information of the ring tones information index file is lost.
  • the index file generating device 22 and the memory 26 back up the latest ring tones information index file stored by each.
  • the index file generating device 22 and the CRBT platform 24 can be connected through a File Transfer Protocol (FTP) server 27, as shown in FIG. 2E.
  • FTP File Transfer Protocol
  • the color ring tone information inquiry system; or/and, for the color ring tone information inquiry system shown in FIG. 2C, the index file generation device 22 and the memory 26 can be connected through the FTP server 27 to obtain a color ring tone inquiry system as shown in FIG. 2F.
  • a piece of equipment such as a computer loaded with one or more of the following file retrieval tools: Lucene Tools, Xapian Tools, and Nutch Tools.
  • the Lucene tool is an open source full-text search engine toolkit, it is not a complete full-text search engine, but a full-text search engine architecture, providing a complete query engine and index engine for the application, The powerful file retrieval capability, the file retrieval capability, and the high efficiency; and the Lucene tool is simple and easy to use. Therefore, the index file generating device 22 in the embodiment of the present invention preferentially captures the hardware device loaded with the Lucene tool to improve the color ring tone. Information query efficiency.
  • the color ring tone in the embodiment of the present invention has many types, and may be a system ring tone, a group ring tone, or a personal ring tone.
  • the embodiment of the present invention further provides a color ring tone information query system provided by the foregoing embodiments.
  • the method for querying the ring tones information is as follows. The flow of the method is shown in Figure 3.
  • FIG. 3 is a flowchart of a method for querying ring tones information according to an embodiment of the present invention, where the method includes:
  • Step 301 The ring back tone platform receives the query request sent by the user terminal, where the query request carries the identification information of the ring tones.
  • Step 302 The CRBT platform queries, according to the identification information of the CRBT tone carried in the query request, the ringtone tone information including the identifier information of the CRBT tone in the query request, the CRBT from the index ringtone information index file generated by the index file generating device.
  • the audio information index file is an index file containing the respective ring tones information generated by the index file generating device according to the ring tones information acquired from the database.
  • the foregoing process further includes:
  • Step 303 The index file generating device acquires the color ring tone information from the database in real time, periodically, or periodically, and updates the stored ring tones information index file according to the obtained color ring tone information.
  • the method further includes:
  • Step 304 The memory obtains the color ring tone information index file from the index file generating device and stores the memory, and the memory is set on the CRBT server where the CRBT platform is located, and the storage space of the memory is part of the memory of the CRBT server.
  • the ring back tone platform queries the corresponding ring tones information from the ring tones information index file stored in the memory by accessing the memory.
  • the memory acquires the latest CRBT information index file from the index file generating device in real time, periodically or periodically, and updates the stored CRBT information index file according to the latest CRBT information index file.
  • the foregoing process may further include: the index file generating device backing up the latest ring tones information index file stored by the index file generating device; or/and, the memory backing up the latest ring tones information index file stored in the memory.
  • the color ring tone information querying scheme is provided by the embodiment of the present invention.
  • the index file generating device generates the ring tones information index file according to the ring tones information in the database. Therefore, when the ring back tone platform receives the query request sent by the user terminal, the ring back tone The information of the ring tones can be obtained in the audio information index file, and the corresponding ring tones information is not required to be accessed by accessing the database.
  • the ring back tone platform is compared with the prior art. It is not necessary to frequently query the ring tones information from the database, thereby greatly reducing the workload of the database.
  • the ring back tone platform can be based on the index information provided by the ring tones information index file according to the identification information carried by the ring tones information index file.
  • the CRBT server is located on the CRBT server where the CRBT platform is located. Therefore, when receiving the query request from the user terminal, the CRBT platform directly queries the corresponding ring tones from the CRBT audio information index file by accessing the memory. The information further improves the efficiency of querying the ring tones information, and shortens the delay in querying the ring tones information.

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • User Interface Of Digital Computer (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

A method and a system for inquiring Color Ring Back Tone (CRBT) information are disclosed in the present invention, which are used to improve the speed and efficiency for inquiring the CRBT information and reduce the load on a database at the same time. The system comprises: a database for storing the CRBT information of Color Ring Back Tones (CRBTs); an index file generation equipment connected with the database for acquiring the CRBT information from the database and generating a CRBT information index file comprising information of each CRBT, wherein the CRBT information comprises CRBT identification information; and a CRBT platform connected with the index file generation equipment for receiving an inquiry request sent by a user terminal and inquiring, according to the CRBT identification information carried by the inquiry request, the CRBT information comprising the CRBT identification information of the inquiry request from the CRBT information index file generated by the index file generation equipment. By using the technical solutions in the present invention, the speed and efficiency for inquiring the CRBT information are improved, and the load on the database is reduced at the same time.

Description

一种彩铃音信息的查询方法及系统 技术领域  Method and system for querying color ring tone information
本发明涉及通信领域, 尤其涉及一种彩铃音信息的查询方法及系统。 背景技术  The present invention relates to the field of communications, and in particular, to a method and system for querying color ring tones information. Background technique
目前, 随着网络信息化的迅速发展与推广, Web服务器为用户提供了 丰富多彩的彩铃音, 并在彩铃平台上显示最新或最热的彩铃音的相关信息。 用户通过访问 Web服务器的彩铃平台, 即可查询、 试听、 下载、 订购或编 辑自己喜欢的彩铃音, 由于该种查询、 获取彩铃音的方式简便、 快速, 因 此, 越来越多的用户都愿意通过访问 Web服务器的彩铃平台来对需要的彩 铃音进行相应的操作。 如图 1 所示为现有技术中彩铃音信息查询系统的结 构示意图, 该系统包括: 用于存储彩铃音信息 (彩铃音信息包括彩铃音的 基本信息(基本信息可包括彩铃音的 ID、 名称、 价格、 歌手等信息)、 彩铃 音存储在数据库中的物理存储地址信息等))和彩铃音文件的数据库 11 (数 据库 11可以是一个也可以是多个), 用于为用户终端 14提供查询、 浏览、 订购彩铃音等操作的彩铃平台 13 , 彩铃平台 13所在的服务器为 Web服务 器 12; 用户终端 14可通过彩铃平台 13查询、 浏览或订购其所需要的彩铃 音, 当用户终端 14查询其所需要的彩铃音的彩铃音信息时, 向彩铃平台 13 发送查询请求, 该查询请求中携带有彩铃音的标识信息(如彩铃音的名称、 编号等); 彩铃平台 13根据该查询请求中的标识信息从数据库 11中查询与 该标识信息对应的彩铃音信息, 再将查询到的彩铃音信息显示给用户终端 14。  At present, with the rapid development and promotion of network information, the Web server provides users with colorful ring tones and displays the latest or hottest ring tones information on the ring back tone platform. By accessing the ring back tone platform of the web server, users can query, audition, download, order, or edit their favorite ring tones. Because of the simple and fast way to query and obtain ring tones, more and more users are willing to The corresponding ring tones are operated by accessing the ring back tone platform of the web server. FIG. 1 is a schematic structural diagram of a color ring tone information inquiry system in the prior art, the system includes: (for storing ring tones information) (the ring tones information includes basic information of the ring tones (the basic information may include the ID and name of the ring tones) , price, singer, etc.), color ring tone stored in the database, physical storage address information, etc.)) and CRBT file database 11 (database 11 may be one or more) for providing query to user terminal 14. The user can browse, browse, or order the ring tones that are required by the ring back tone platform 13 when the ring back tone platform 13 is operated. When the ring tones information of the ring tones is required, the query request is sent to the ring back tone platform 13, and the query request carries the identification information of the ring tones (such as the name and number of the ring tones); the ring back tone platform 13 is based on the query request. The identification information is queried from the database 11 for the ring tones information corresponding to the identification information, and then CRBTs query to display information to the user terminal 14.
现有技术虽然能够在一定程度上快速的为用户查询彩铃音信息, 但是, 随着彩铃音种类、 数量的不断增加 (如目前数据库中以十万比特为单位存 储彩铃音信息)和访问彩铃平台的用户数量的增加, 则会带来以下技术问 题: 一方面, 当大量用户查询彩铃音信息时, 彩铃平台需要频繁访问数据 库, 以从数据库中查询相应的彩铃音信息, 这无疑会给数据库带来较大的 负担; 另一方面, 彩铃平台在数据库查询相应的彩铃音信息时, 一般是将 查询请求中携带的彩铃音的标识信息与数据库中存储的所有彩铃音信息的 标识信息进行逐一匹配来查找相应的彩铃音信息, 但是随着彩铃音数量的 大量增加、 存储在数据库中的彩铃音信息的不断增加, 釆用该种逐一匹配 的方式获取相应的彩铃音信息需要较长的时延, 因此, 釆用现有查询彩铃 音信息的方式存在查询时延长、 查询速度较慢、 查询效率较低的问题。 发明内容 Although the prior art can quickly query the ring tones information for the user to a certain extent, the number and number of the ring tones are increasing (for example, the current database is stored in units of 100,000 bits. The increase in the number of users accessing the CRBT platform and the number of users accessing the CRBT platform may result in the following technical problems: On the one hand, when a large number of users query the ring tones information, the ring back tone platform needs to frequently access the database to query the corresponding ring tones from the database. The audio information, which will undoubtedly bring a large burden to the database; on the other hand, when the CRBT platform queries the corresponding ring tones information in the database, it generally uses the identification information of the ring tones carried in the query request and all the data stored in the database. The identification information of the ring tones information is matched one by one to find the corresponding ring tones information. However, as the number of ring tones increases and the ring tones information stored in the database increases, the corresponding matching is obtained by using the matching methods one by one. The ring tone information needs a long delay. Therefore, the existing method of querying the ring tones information has the problems of prolonged query, slow query speed and low query efficiency. Summary of the invention
有鉴于此, 本发明提供一种彩铃音信息的查询方法及系统, 提高查询 彩铃音信息的查询速度和效率, 同时还降低了彩铃音信息查询给数据库带 来的负担。  In view of the above, the present invention provides a method and system for querying ring tones information, which improves the query speed and efficiency of querying ring tones information, and also reduces the burden on the database for querying the ring tones information.
为解决上述技术问题, 本发明的技术方案是这样实现的:  In order to solve the above technical problem, the technical solution of the present invention is implemented as follows:
一种彩铃音信息查询系统, 包括:  A color ring tone information query system, comprising:
数据库, 用于存储彩铃音的彩铃音信息;  a database, used to store the ring tones information of the ring tones;
索引文件生成设备, 连接所述数据库, 用于从所述数据库中获取彩铃 音信息, 生成包含各个彩铃音信息的彩铃音信息索引文件, 所述彩铃音信 息包含彩铃音的标识信息;  An index file generating device is connected to the database, and is configured to obtain color ring tones information from the database, and generate a ring tones information index file including the color ring tones information, where the ring tones information includes the identification information of the ring tones;
彩铃平台, 连接所述索引文件生成设备, 接收用户终端发送的查询请 求, 并根据该查询请求携带的彩铃音的标识信息, 从所述索引文件生成设 备生成的彩铃音信息索引文件中, 查询包含所述查询请求中彩铃音的标识 信息的彩铃音信息。  The ring back tone platform is connected to the index file generating device, and receives the query request sent by the user terminal, and according to the identification information of the color ring tone carried by the query request, the query includes the ring tones information index file generated by the index file generating device, and the query includes The ring tones information of the identification information of the ring tones in the query request.
所述系统还包括: 文件传输协议 FTP服务器, 连接在所述索引文件生 成设备与所述彩铃平台之间; 或者, 所述索引文件生成设备与所述彩铃平 台集成在同一硬件设备中。 The system further includes: a file transfer protocol FTP server connected between the index file generating device and the ring back tone platform; or the index file generating device and the color ring flat The station is integrated in the same hardware device.
所述系统还包括: 存储器, 分别连接所述索引文件生成设备和所述彩 铃平台, 用于从所述索引文件生成设备中获取彩铃音信息索引文件并存储, 所述存储器设置在所述彩铃平台所在的彩铃服务器上, 且所述存储器的存 储空间为所述彩铃服务器的部分内存;  The system further includes: a memory, which is respectively connected to the index file generating device and the ring back tone platform, configured to acquire and store a ring tones information index file from the index file generating device, where the memory is set on the ring back tone platform The color ring tone server is located, and the storage space of the memory is part of the memory of the CRBT server;
所述彩铃平台查询包含所述查询请求中彩铃音的标识信息的彩铃音信 息, 具体用于: 从所述存储器中存储的彩铃音信息索引文件中查询与所述 查询请求中携带的标识信息相对应的彩铃音信息。  The ring back tone platform queries the ring tones information of the ring tones of the query request, and is specifically configured to: query, from the ring tones information index file stored in the memory, the identifier information carried in the query request Corresponding color ring tone information.
所述索引文件生成设备具体用于: 实时、 周期或定时地从所述数据库 中获取彩铃音信息, 并根据获取的彩铃音信息更新存储的彩铃音信息索引 文件。  The index file generating device is specifically configured to: obtain the ring tones information from the database in real time, periodically, or periodically, and update the stored ring tones information index file according to the obtained ring tones information.
所述存储器具体用于: 实时、 周期或定时地从所述索引文件生成设备 中获取最新的彩铃音信息索引文件, 并根据该最新的彩铃音信息索引文件 更新存储的彩铃音信息索引文件。  The memory is specifically configured to: obtain the latest CRBT information index file from the index file generating device in real time, periodically, or periodically, and update the stored CRBT information index file according to the latest CRBT information index file.
所述索引文件生成设备进一步用于: 备份该索引文件生成设备存储的 最新的彩铃音信息索引文件; 和 /或, 所述存储器进一步用于: 备份该存储 器存储的最新的彩铃音信息索引文件。  The index file generating device is further configured to: back up the latest ring tones information index file stored by the index file generating device; and/or, the memory is further configured to: back up the latest ring tones information index file stored by the memory.
所述索引文件生成设备为具有文件检索功能的硬件设备。  The index file generating device is a hardware device having a file retrieval function.
所述硬件设备为装载有 Lucene工具的计算机。  The hardware device is a computer loaded with a Lucene tool.
一种查询彩铃音信息的方法, 包括: 彩铃平台接收用户终端发送的查 询请求, 该查询请求中携带有彩铃音的标识信息; 彩铃平台根据所述查询 请求携带的彩铃音的标识信息, 从索引文件生成设备生成的彩铃音信息索 引文件中, 查询包含所述查询请求中彩铃音的标识信息的彩铃音信息, 所 述彩铃音信息索引文件为索引文件生成设备根据其从数据库中获取的彩铃 音信息生成的包含各个彩铃音信息的索引文件。 所述方法还包括: 存储器从所述索引文件生成设备中获取彩铃音信息 索引文件并存储, 所述存储器设置在所述彩铃平台所在的彩铃服务器上, 且所述存储器的存储空间为所述彩铃服务器的部分内存; The method for querying the ring tones information includes: the ring back tone platform receives the query request sent by the user terminal, where the query request carries the color ring tone identification information; the ring back tone platform carries the color ring tone identification information carried by the query request, from the index The color ring tone information index file of the color ring tone information generated by the file generating device is queried, and the color ring tone information is obtained by the index file generating device according to the color ring tone obtained from the database by the index file generating device. The index file containing the information of each ring tones generated by the information. The method further includes: a memory acquiring a CRBT sound information index file from the index file generating device, where the memory is set on a CRBT server where the CRBT platform is located, and a storage space of the memory is the CRBT Part of the memory of the server;
所述彩铃平台查询包含所述查询请求中彩铃音的标识信息的彩铃音信 息, 包括: 从所述存储器中存储的彩铃音信息索引文件中查询与所述查询 请求中携带的标识信息相对应的彩铃音信息。  The ring back tone platform querying the ring tones information including the identifier information of the ring tones in the query request includes: querying, from the ring tones information index file stored in the memory, the identifier information corresponding to the identifier information carried in the query request Color ring tone information.
所述索引文件生成设备根据其从数据库中获取的彩铃音信息生成包含 各个彩铃音信息的彩铃音信息索引文件, 包括: 所述索引文件生成设备实 时、 周期或定时地从所述数据库中获取彩铃音信息, 并根据获取的彩铃音 信息更新存储的彩铃音信息索引文件。  And generating, by the index file generating device, the ring tones information index file including the color ring tones information according to the ring tones information obtained from the database, the method comprising: the index file generating device acquiring the ring tones from the database in real time, periodically, or periodically. The tone information is updated, and the stored ring tones information index file is updated according to the obtained ring tone information.
所述存储器从索引文件生成设备中获取彩铃音信息索引文件并存储, 包括: 所述存储器实时、 周期或定时地从所述索引文件生成设备获取最新 的彩铃音信息索引文件, 并根据该最新的彩铃音信息索引文件更新存储的 彩铃音信息索引文件。  Obtaining, by the memory, the CRBT sound information index file from the index file generating device, and storing the file includes: acquiring, by the index file generating device, the latest CRBT sound information index file in real time, periodically, or periodically, according to the latest The color ring tone information index file updates the stored ring tones information index file.
所述方法还包括: 所述索引文件生成设备备份该索引文件生成设备存 储的最新的彩铃音信息索引文件; 和 /或, 所述存储器备份该存储器存储的 最新的彩铃音信息索引文件。  The method further includes: the index file generating device backing up the latest ring tones information index file stored by the index file generating device; and/or, the memory backing up the latest ring tones information index file stored in the memory.
釆用本发明实施例提供的上述彩铃音信息查询方案, 由于索引文件生 成设备根据数据库中的彩铃音信息生成彩铃音信息索引文件, 因此彩铃平 台在接收到用户终端发送的查询请求时, 从彩铃音信息索引文件中获取相 应的彩铃音信息即可, 不需要通过访问数据库来获取相应的彩铃音信息, 因此, 一方面, 与现有技术相比, 当大量用户查询彩铃音信息时, 彩铃平 台不需要频繁的从数据库中查询彩铃音信息, 从而在很大程度降低了数据 库的工作负担; 另一方面, 彩铃平台根据查询请求携带的标识信息, 根据 彩铃音信息索引文件提供的索引路径即可快速的查找到相应的彩铃音信 息, 不需要在数据库中将查询请求中携带的彩铃音的标识信息与数据库中 存储的所有彩铃音信息的标识信息进行逐一匹配来查找相应的彩铃音信 息, 从而在一定程度上缩短了彩铃音信息的查询时延, 提高了彩铃音信息 的查询效率。 The color ring tone information querying scheme is provided by the embodiment of the present invention. The index file generating device generates the ring tones information index file according to the ring tones information in the database. Therefore, when the ring back tone platform receives the query request sent by the user terminal, the ring back tone The information of the ring tones can be obtained in the audio information index file, and the corresponding ring tones information is not required to be accessed by accessing the database. Therefore, on the one hand, when a large number of users query the ring tones information, the ring back tone platform is compared with the prior art. It is not necessary to frequently query the ring tones information from the database, thereby greatly reducing the workload of the database. On the other hand, the ring back tone platform can be based on the index information provided by the ring tones information index file according to the identification information carried by the ring tones information index file. Quickly find the corresponding ring tones The information of the CRBT tone carried in the query request and the identification information of all the CRBT tone information stored in the database are not matched in the database to find the corresponding ring tones information, thereby shortening the ring tones to a certain extent. The query delay of the information improves the query efficiency of the ring tones information.
另外, 本发明实施例中, 在彩铃平台所在的彩铃服务器上开辟专用于 存储从索引文件生成设备中获取的彩铃音信息索引文件的内存, 因此, 彩 铃平台在接收到用户终端的查询请求时, 直接通过访问内存的方式, 从彩 铃音信息索引文件中查询相应的彩铃音信息, 从而更进一步的提高了查询 彩铃音信息的效率, 缩短了查询彩铃音信息的时延。 附图说明  In addition, in the embodiment of the present invention, a memory dedicated to storing the CRBT tone information index file acquired from the index file generating device is opened on the CRBT server where the CRBT platform is located. Therefore, when receiving the query request of the user terminal, the CRBT platform receives the query request from the user terminal. By directly accessing the memory, the corresponding ring tones information is queried from the ring tones information index file, thereby further improving the efficiency of querying the ring tones information and shortening the delay of querying the ring tones information. DRAWINGS
图 1为现有技术中彩铃音信息查询系统的结构示意图;  1 is a schematic structural diagram of a color ring tone information inquiry system in the prior art;
图 2Α为本发明实施例中彩铃音信息查询系统的结构示意图之一; 图 2Β为本发明实施例中彩铃音信息查询系统的结构示意图之二; 图 2C为本发明实施例中彩铃音信息查询系统的结构示意图之三; 图 2D为本发明实施例中彩铃音信息查询系统的结构示意图之四; 图 2Ε为本发明实施例中彩铃音信息查询系统的结构示意图之五; 图 2F为本发明实施例中彩铃音信息查询系统的结构示意图之六; 图 3为本发明实施例彩铃音信息查询方法的流程示意图;  FIG. 2 is a schematic structural diagram of a color ring tone information inquiry system according to an embodiment of the present invention; FIG. 2 is a second schematic structural diagram of a color ring tone information inquiry system according to an embodiment of the present invention; FIG. 2C is a diagram of a color ring tone information query according to an embodiment of the present invention; FIG. 2D is a schematic structural diagram of a color ring tone information inquiry system according to an embodiment of the present invention; FIG. 2 is a schematic structural diagram of a color ring tone information inquiry system according to an embodiment of the present invention; FIG. FIG. 3 is a schematic flowchart diagram of a method for querying a color ring tone information according to an embodiment of the present invention; FIG.
图 4为本发明实施例维护彩铃音信息索引文件的流程示意图。 具体实施方式  FIG. 4 is a schematic flowchart of maintaining a color ring tone information index file according to an embodiment of the present invention. detailed description
针对现有技术存在的上述技术问题, 本发明实施例提供一种彩铃音信 息的查询方法及系统, 该彩铃音信息的查询系统包括: 数据库, 用于存储 彩铃音的彩铃音信息; 索引文件生成设备, 连接所述数据库, 用于从所述 数据库中获取彩铃音信息, 并根据获取的彩铃音信息生成彩铃音信息索引 文件; 彩铃平台, 连接所述索引文件生成设备, 用于在接收到用户终端发 送的携带有彩铃音的标识信息的查询请求时, 从彩铃音信息索引文件中查 询与所述标识信息相对应的彩铃音信息。 釆用本发明实施例提供的上述彩 铃音信息查询系统, 由于索引文件生成设备会根据数据库中的彩铃音信息 生成彩铃音信息索引文件, 因此彩铃平台在接收到用户终端发送的查询请 求时, 从彩铃音信息索引文件中获取相应的彩铃音信息即可, 不需要从数 据库中获取相应的彩铃音信息, 因此, 一方面, 与现有技术相比, 当大量 用户查询彩铃音信息时, 彩铃平台不需要频繁的从数据库中查询彩铃音信 息, 从而在很大程度降低了数据库的工作负担; 另一方面, 彩铃平台直接 在彩铃音信息索引文件中查询相应的彩铃音信息即可, 不需要从数据库中 存储的大量彩铃音信息中通过逐一对比的方式查询相应的彩铃音信息, 从 而在一定程度上缩短了彩铃音信息的查询时延, 提高了彩铃音信息的查询 效率。 For the above technical problem in the prior art, the embodiment of the present invention provides a method and system for querying color ring tones information. The system for querying the ring tones information includes: a database for storing ring tones information of the ring tones; The device is connected to the database, and is configured to obtain the ring tones information from the database, and generate a ring tones information index according to the obtained ring tones information. a ringtone platform, connected to the index file generating device, configured to query, from the ring tones information index file, the identifier information corresponding to the identifier information when receiving the query request for carrying the color ring tone identification information sent by the user terminal Color ring tone information. In the above-mentioned color ring tone information query system provided by the embodiment of the present invention, the index file generating device generates a ring tones information index file according to the ring tones information in the database, so when the ring back tone platform receives the query request sent by the user terminal, The color ring tone information is obtained in the color ring tone information index file, and the corresponding color ring tone information is not required to be obtained from the database. Therefore, on the one hand, when a large number of users query the ring tones information, the ring back tone platform is compared with the prior art. It is not necessary to frequently query the ring tones information from the database, thereby greatly reducing the workload of the database; on the other hand, the ring back tone platform directly queries the corresponding ring tones information in the ring tones information index file, and does not need to The large number of ring tones information stored in the database is used to query the corresponding ring tones information in a one-to-one comparison manner, thereby shortening the query delay of the ring tones information to a certain extent, and improving the query efficiency of the ring tones information.
下面结合说明书附图对本发明技术方案进行详细的描述。  The technical solution of the present invention will be described in detail below with reference to the accompanying drawings.
参见图 2 A ,为本发明实施例中彩铃音信息查询系统的结构示意图之一 , 该系统包括: 数据库 21、 与数据库 21相连接的索引文件生成设备 22、 通 过彩铃平台 24与索引文件生成设备 22相连接的彩铃服务器 23 , 其中: 数据库 21 , 用于存储彩铃音的彩铃音信息和彩铃文件。 彩铃音信息可 包括彩铃音的基本信息 (如彩铃音的 ID、 名称、 价格、 歌手等信息)和彩 铃音存储在数据库 21中的物理存储地址信息。  2A is a schematic structural diagram of a color ring tone information query system according to an embodiment of the present invention. The system includes: a database 21, an index file generating device 22 connected to the database 21, and a ringtone platform 24 and an index file generating device. The 22-connected CRBT server 23, wherein: the database 21 is used for storing ring tones information and ring tones files of the ring tones. The ring tones information may include basic information of the ring tones (e.g., ID of the ring tones, name, price, singer, etc.) and physical storage address information of the ring tones stored in the database 21.
索引文件生成设备 22 , 与数据库 21相连接, 用于从数据库 21中获取 彩铃音信息, 生成包含各个彩铃音信息的彩铃音信息索引文件, 彩铃音信 息包含彩铃音的标识信息。  The index file generating device 22 is connected to the database 21, and is configured to obtain the ring tones information from the database 21, and generate a ring tones information index file including the color ring tones information, and the ring tones information includes the identification information of the ring tones.
索引文件生成设备 22 根据获取的彩铃音信息生成彩铃音信息索引文 件, 可包括: 索引文件生成设备 22将获取的彩铃音信息统一写入到特定的 文本文件中, 再对该文本文件进行分析处理得到彩铃音信息索引文件。 彩铃平台 24, 与索引文件生成设备 22相连接, 用于在接收到用户终端 25发送的查询请求时, 根据该查询请求携带的彩铃音的标识信息, 从索引 文件生成设备 22生成的彩铃音信息索引文件中, 查询包含所述查询请求中 彩铃音的标识信息的彩铃音信息。 The index file generating device 22 generates the CRBT sound information index file according to the obtained CRBT sound information, and may include: the index file generating device 22 uniformly writes the obtained CRBT sound information to a specific In the text file, the text file is analyzed and processed to obtain a ring tones information index file. The ring back tone platform 24 is connected to the index file generating device 22, and is configured to, when receiving the query request sent by the user terminal 25, the ringtone sound information generated by the index file generating device 22 according to the color ring tone identification information carried by the query request. In the index file, the ring tones information including the identification information of the ring tones in the query request is queried.
本发明实施例中, 彩铃平台 24查询彩铃音信息, 可具体如下: 彩铃平 台 24将彩铃音的标识信息作为关键词, 再对关键词进行解析之后从彩铃音 信息索引文件中查询与该关键词相关联的一个或多个文档。  In the embodiment of the present invention, the ring back tone platform 24 queries the ring tones information, which may be specifically as follows: The ring back tone platform 24 uses the identification information of the ring tones as a keyword, and then parses the keywords and queries the keywords from the ring tones information index file. One or more associated documents.
上述图 2A所示的彩铃音信息查询系统中的索引文件生成设备 22是独 立于彩铃服务器 23 (即彩铃平台 24所在的服务器)的设备, 但并不仅限于 该种情况, 还可以是索引文件生成设备 22是设置在彩铃服务器 23中作为 彩铃服务器 23中的一部分, 得到如图 2B所示的彩铃音信息查询系统。 即: 索引文件生成设备 22与彩铃平台 24所在彩铃服务器可以是两个独立的设 备; 或者, 索引文件生成设备 22与彩铃平台 24可以设置在同一彩铃服务 器上, 此时, 索引文件生成设备 22与彩铃平台 24可以通过数据传输线连 接。  The index file generating device 22 in the CRBT information query system shown in FIG. 2A is a device independent of the CRBT server 23 (ie, the server where the CRBT platform 24 is located), but is not limited to this case, and may also be an index file generation. The device 22 is disposed in the CRBT server 23 as part of the CRBT server 23, and obtains a CRBT tone information inquiry system as shown in FIG. 2B. That is, the CRBT server where the index file generating device 22 and the CRBT platform 24 are located may be two independent devices; or the index file generating device 22 and the CRBT platform 24 may be set on the same CRBT server. In this case, the index file generating device 22 and The ring back tone platform 24 can be connected by a data transmission line.
较佳地, 为进一步提高彩铃平台 24查询彩铃音信息的速度和效率, 上 述图 2A和图 2B的彩铃服务器 23还包括存储器 26,该存储器 26分别连接 索引文件生成设备 22和彩铃平台 24, 用于从索引文件生成设备 22中获取 彩铃音信息索引文件并存储。 存储器 26设置在彩铃服务器 23上, 且该存 储器 26的存储空间为在彩铃服务器 23的内存中开辟出的部分内存, 得到 如图 2C和图 2D所示的彩铃音信息查询系统。彩铃平台 24在接收到用户终 端 25发送的查询请求时, 通过访问内存的方式从存储器 26保存的彩铃音 信息索引文件中查询相应的彩铃音信息。  Preferably, to further improve the speed and efficiency of the ring back tone information of the ring back tone platform 24, the color ring tone server 23 of FIG. 2A and FIG. 2B further includes a memory 26, which is respectively connected to the index file generating device 22 and the ring back tone platform 24, The CRBT sound information index file is obtained from the index file generating device 22 and stored. The memory 26 is disposed on the CRBT server 23, and the storage space of the memory 26 is a portion of the memory opened in the memory of the CRBT server 23, and the CRBT information inquiry system shown in FIG. 2C and FIG. 2D is obtained. When receiving the query request sent by the user terminal 25, the ring back tone platform 24 queries the corresponding ring tones information from the ring tones information index file stored in the memory 26 by accessing the memory.
较佳地, 为及时更新彩铃音信息索引文件, 本发明实施例中的索引文 件生成设备 22可以周期、 实时或定时地从数据库 21 中获取彩铃音信息, 并根据获取的彩铃音信息更新本地存储的彩铃音信息索引文件。 并且, 存 储器 26实时、 周期或定时地从索引文件生成设备 22中获取彩铃音信息索 引文件, 并根据获取的彩铃音信息索引文件更新本地存储的彩铃音信息索 引文件。 Preferably, in order to update the ring tones information index file in time, the index file in the embodiment of the present invention The piece generating device 22 may acquire the ring tones information from the database 21 periodically, in real time or periodically, and update the locally stored ring tones information index file according to the obtained ring tones information. Moreover, the memory 26 acquires the CRBT sound information index file from the index file generating device 22 in real time, periodically, or periodically, and updates the locally stored CRBT sound information index file according to the acquired CRBT sound information index file.
较佳地, 为避免索引文件生成设备 22和存储器 26在对彩铃音信息索 引文件进行更新过程中发生掉电、 故障或其他原因而导致彩铃音信息索引 文件信息丟失的问题, 本发明实施例中, 索引文件生成设备 22和存储器 26 对各自存储的最新的彩铃音信息索引文件进行备份。  Preferably, in the embodiment of the present invention, in order to avoid the problem that the index file generating device 22 and the memory 26 lose power, fault or other reasons during the update of the ring tones information index file, the information of the ring tones information index file is lost. The index file generating device 22 and the memory 26 back up the latest ring tones information index file stored by each.
较佳地, 对于上述图 2A所示的彩铃音信息查询系统, 索引文件生成设 备 22与彩铃平台 24可通过 FTP ( File Transfer Protocol, 文件传输协议 )服 务器 27相连接, 得到如图 2E所示的彩铃音信息查询系统; 或 /和, 对于图 2C所示的彩铃音信息查询系统, 索引文件生成设备 22与存储器 26可通过 FTP服务器 27相连接, 得到如图 2F所示的彩铃音查询系统。 件设备, 如装载有以下一种或多种文件检索工具的计算机: Lucene工具、 Xapian工具和 Nutch工具。 较佳地, 由于 Lucene工具是开放源代码的全文 检索引擎工具包, 它不是一个完整的全文检索引擎, 而是一个全文检索引 擎的架构, 为应用程序提供了完整的查询引擎和索引引擎, 具有强大的文 件检索能力、 文件检索能力、 效率较高; 并且, Lucene工具简单易用, 因 此, 本发明实施例中的索引文件生成设备 22优先釆取装载有 Lucene工具 的硬件设备, 以提高彩铃音信息的查询效率。  Preferably, for the CRBT information query system shown in FIG. 2A, the index file generating device 22 and the CRBT platform 24 can be connected through a File Transfer Protocol (FTP) server 27, as shown in FIG. 2E. The color ring tone information inquiry system; or/and, for the color ring tone information inquiry system shown in FIG. 2C, the index file generation device 22 and the memory 26 can be connected through the FTP server 27 to obtain a color ring tone inquiry system as shown in FIG. 2F. A piece of equipment, such as a computer loaded with one or more of the following file retrieval tools: Lucene Tools, Xapian Tools, and Nutch Tools. Preferably, since the Lucene tool is an open source full-text search engine toolkit, it is not a complete full-text search engine, but a full-text search engine architecture, providing a complete query engine and index engine for the application, The powerful file retrieval capability, the file retrieval capability, and the high efficiency; and the Lucene tool is simple and easy to use. Therefore, the index file generating device 22 in the embodiment of the present invention preferentially captures the hardware device loaded with the Lucene tool to improve the color ring tone. Information query efficiency.
本发明实施例中的彩铃音的种类较多, 可以是系统铃音、 集团铃音或 个人铃音等。  The color ring tone in the embodiment of the present invention has many types, and may be a system ring tone, a group ring tone, or a personal ring tone.
本发明实施例还提供一种釆用上述各实施例提供的彩铃音信息查询系 统查询彩铃音信息的方法, 该方法的流程如图 3所示。 The embodiment of the present invention further provides a color ring tone information query system provided by the foregoing embodiments. The method for querying the ring tones information is as follows. The flow of the method is shown in Figure 3.
参见图 3 , 为本发明实施例中查询彩铃音信息的方法流程图, 该方法包 括:  3 is a flowchart of a method for querying ring tones information according to an embodiment of the present invention, where the method includes:
步骤 301、彩铃平台接收用户终端发送的查询请求, 该查询请求中携带 有彩铃音的标识信息。  Step 301: The ring back tone platform receives the query request sent by the user terminal, where the query request carries the identification information of the ring tones.
步骤 302、彩铃平台根据查询请求携带的彩铃音的标识信息,从索引文 件生成设备生成的彩铃音信息索引文件中, 查询包含所述查询请求中彩铃 音的标识信息的彩铃音信息, 所述彩铃音信息索引文件为索引文件生成设 备根据其从数据库中获取的彩铃音信息生成的包含各个彩铃音信息的索引 文件。  Step 302: The CRBT platform queries, according to the identification information of the CRBT tone carried in the query request, the ringtone tone information including the identifier information of the CRBT tone in the query request, the CRBT from the index ringtone information index file generated by the index file generating device. The audio information index file is an index file containing the respective ring tones information generated by the index file generating device according to the ring tones information acquired from the database.
较佳地, 如图 4所示, 上述流程还包括:  Preferably, as shown in FIG. 4, the foregoing process further includes:
步骤 303、 索引文件生成设备实时、周期或定时地从数据库中获取彩铃 音信息, 并根据获取的彩铃音信息更新存储的彩铃音信息索引文件。  Step 303: The index file generating device acquires the color ring tone information from the database in real time, periodically, or periodically, and updates the stored ring tones information index file according to the obtained color ring tone information.
较佳地, 上述流程步骤 302或步骤 303之后还包括:  Preferably, after the foregoing process step 302 or step 303, the method further includes:
步骤 304、存储器从索引文件生成设备中获取彩铃音信息索引文件并存 储, 该存储器设置在彩铃平台所在的彩铃服务器上, 且存储器的存储空间 为该彩铃服务器的部分内存。  Step 304: The memory obtains the color ring tone information index file from the index file generating device and stores the memory, and the memory is set on the CRBT server where the CRBT platform is located, and the storage space of the memory is part of the memory of the CRBT server.
上述步骤 302 中, 彩铃平台通过访问内存的方式, 从存储器中存储的 彩铃音信息索引文件中查询相应的彩铃音信息。  In the foregoing step 302, the ring back tone platform queries the corresponding ring tones information from the ring tones information index file stored in the memory by accessing the memory.
较佳地, 步骤 304 中, 存储器实时、 周期或定时地从所述索引文件生 成设备获取最新的彩铃音信息索引文件, 并根据该最新的彩铃音信息索引 文件更新存储的彩铃音信息索引文件。  Preferably, in step 304, the memory acquires the latest CRBT information index file from the index file generating device in real time, periodically or periodically, and updates the stored CRBT information index file according to the latest CRBT information index file.
较佳地, 上述流程还可以包括: 索引文件生成设备备份该索引文件生 成设备存储的最新的彩铃音信息索引文件; 或 /和, 存储器备份该存储器存 储的最新的彩铃音信息索引文件。 釆用本发明实施例提供的上述彩铃音信息查询方案, 由于索引文件生 成设备根据数据库中的彩铃音信息生成彩铃音信息索引文件, 因此彩铃平 台在接收到用户终端发送的查询请求时, 从彩铃音信息索引文件中获取相 应的彩铃音信息即可, 不需要通过访问数据库来获取相应的彩铃音信息, 因此, 一方面, 与现有技术相比, 当大量用户查询彩铃音信息时, 彩铃平 台不需要频繁的从数据库中查询彩铃音信息, 从而在很大程度降低了数据 库的工作负担; 另一方面, 彩铃平台根据查询请求携带的标识信息, 根据 彩铃音信息索引文件提供的索引路径即可快速的查找到相应的彩铃音信 息, 不需要在数据库中将查询请求中携带的彩铃音的标识信息与数据库中 存储的所有彩铃音信息的标识信息进行逐一匹配来查找相应的彩铃音信 息, 从而在一定程度上缩短了彩铃音信息的查询时延, 提高了彩铃音信息 的查询效率。 另外, 本发明实施例中, 在彩铃平台所在的彩铃服务器上开 因此, 彩铃平台在接收到用户终端的查询请求时, 直接通过访问内存的方 式, 从彩铃音信息索引文件中查询相应的彩铃音信息, 从而更进一步的提 高了查询彩铃音信息的效率, 缩短了查询彩铃音信息的时延。 本发明的精神和范围。 这样, 倘若本发明的这些修改和变型属于本发明权 利要求及其等同技术的范围之内, 则本发明也意图包含这些改动和变型在 内。 Preferably, the foregoing process may further include: the index file generating device backing up the latest ring tones information index file stored by the index file generating device; or/and, the memory backing up the latest ring tones information index file stored in the memory. The color ring tone information querying scheme is provided by the embodiment of the present invention. The index file generating device generates the ring tones information index file according to the ring tones information in the database. Therefore, when the ring back tone platform receives the query request sent by the user terminal, the ring back tone The information of the ring tones can be obtained in the audio information index file, and the corresponding ring tones information is not required to be accessed by accessing the database. Therefore, on the one hand, when a large number of users query the ring tones information, the ring back tone platform is compared with the prior art. It is not necessary to frequently query the ring tones information from the database, thereby greatly reducing the workload of the database. On the other hand, the ring back tone platform can be based on the index information provided by the ring tones information index file according to the identification information carried by the ring tones information index file. Quickly find the corresponding ring tones information, and do not need to match the identification information of the ring tones carried in the query request with the identification information of all the ring tones information stored in the database one by one in the database to find the corresponding ring tones information, thereby Shortened to some extent Query latency ring tones sound information to improve search efficiency RBT sound information. In addition, in the embodiment of the present invention, the CRBT server is located on the CRBT server where the CRBT platform is located. Therefore, when receiving the query request from the user terminal, the CRBT platform directly queries the corresponding ring tones from the CRBT audio information index file by accessing the memory. The information further improves the efficiency of querying the ring tones information, and shortens the delay in querying the ring tones information. The spirit and scope of the invention. Thus, it is intended that the present invention cover the modifications and the modifications of the invention

Claims

权利要求书 Claim
1、 一种彩铃音信息查询系统, 其特征在于, 包括:  A color ring tone information query system, comprising:
数据库, 用于存储彩铃音的彩铃音信息;  a database, used to store the ring tones information of the ring tones;
索引文件生成设备, 连接所述数据库, 用于从所述数据库中获取彩铃 音信息, 生成包含各个彩铃音信息的彩铃音信息索引文件, 所述彩铃音信 息包含彩铃音的标识信息;  An index file generating device is connected to the database, and is configured to obtain color ring tones information from the database, and generate a ring tones information index file including the color ring tones information, where the ring tones information includes the identification information of the ring tones;
彩铃平台, 连接所述索引文件生成设备, 接收用户终端发送的查询请 求, 并根据该查询请求携带的彩铃音的标识信息, 从所述索引文件生成设 备生成的彩铃音信息索引文件中, 查询包含所述查询请求中彩铃音的标识 信息的彩铃音信息。  The ring back tone platform is connected to the index file generating device, and receives the query request sent by the user terminal, and according to the identification information of the color ring tone carried by the query request, the query includes the ring tones information index file generated by the index file generating device, and the query includes The ring tones information of the identification information of the ring tones in the query request.
2、 如权利要求 1所述的系统, 其特征在于,  2. The system of claim 1 wherein:
所述系统还包括: 文件传输协议 FTP服务器, 连接在所述索引文件生 成设备与所述彩铃平台之间; 或者,  The system further includes: a file transfer protocol FTP server connected between the index file generating device and the ring back tone platform; or
所述索引文件生成设备与所述彩铃平台集成在同一硬件设备中。  The index file generating device is integrated with the ring back tone platform in the same hardware device.
3、 如权利要求 1或 2所述的系统, 其特征在于,  3. The system of claim 1 or 2, wherein
所述系统还包括: 存储器, 分别连接所述索引文件生成设备和所述彩 铃平台, 用于从所述索引文件生成设备中获取彩铃音信息索引文件并存储, 所述存储器设置在所述彩铃平台所在的彩铃服务器上, 且所述存储器的存 储空间为所述彩铃服务器的部分内存;  The system further includes: a memory, which is respectively connected to the index file generating device and the ring back tone platform, configured to acquire and store a ring tones information index file from the index file generating device, where the memory is set on the ring back tone platform The color ring tone server is located, and the storage space of the memory is part of the memory of the CRBT server;
所述彩铃平台查询包含所述查询请求中彩铃音的标识信息的彩铃音信 息, 具体用于: 从所述存储器中存储的彩铃音信息索引文件中查询与所述 查询请求中携带的标识信息相对应的彩铃音信息。  The ring back tone platform queries the ring tones information of the ring tones of the query request, and is specifically configured to: query, from the ring tones information index file stored in the memory, the identifier information carried in the query request Corresponding color ring tone information.
4、 如权利要求 1或 2所述的系统, 其特征在于, 所述索引文件生成设 备具体用于: 实时、 周期或定时地从所述数据库中获取彩铃音信息, 并根 据获取的彩铃音信息更新存储的彩铃音信息索引文件。 The system according to claim 1 or 2, wherein the index file generating device is configured to: obtain the ring tones information from the database in real time, periodically, or periodically, and according to the obtained ring tones information. Update the stored ring tones information index file.
5、 如权利要求 3所述的系统, 其特征在于, 所述存储器具体用于: 实 时、 周期或定时地从所述索引文件生成设备中获取最新的彩铃音信息索引 文件, 并根据该最新的彩铃音信息索引文件更新存储的彩铃音信息索引文 件。 The system of claim 3, wherein the memory is specifically configured to: obtain the latest CRBT information index file from the index file generating device in real time, periodically, or periodically, and according to the latest The color ring tone information index file updates the stored ring tones information index file.
6、 如权利要求 3所述的系统, 其特征在于,  6. The system of claim 3, wherein:
所述索引文件生成设备进一步用于: 备份该索引文件生成设备存储的 最新的彩铃音信息索引文件; 和 /或,  The index file generating device is further configured to: back up the latest ring tones information index file stored by the index file generating device; and/or,
所述存储器进一步用于: 备份该存储器存储的最新的彩铃音信息索引 文件。  The memory is further configured to: back up the latest ring tones information index file stored in the memory.
7、 如权利要求 1或 2所述的系统, 其特征在于, 所述索引文件生成设 备为具有文件检索功能的硬件设备。  The system according to claim 1 or 2, wherein the index file generating device is a hardware device having a file retrieval function.
8、 如权利要求 7 所述的系统, 其特征在于, 所述硬件设备为装载有 Lucene工具的计算机。  8. The system of claim 7, wherein the hardware device is a computer loaded with a Lucene tool.
9、 一种查询彩铃音信息的方法, 其特征在于, 包括:  9. A method for querying ring tones information, characterized by comprising:
彩铃平台接收用户终端发送的查询请求, 该查询请求中携带有彩铃音 的标识信息;  The ring back tone platform receives the query request sent by the user terminal, where the query request carries the identification information of the ring tones;
彩铃平台根据所述查询请求携带的彩铃音的标识信息, 从索引文件生 成设备生成的彩铃音信息索引文件中, 查询包含所述查询请求中彩铃音的 标识信息的彩铃音信息, 所述彩铃音信息索引文件为索引文件生成设备根 据其从数据库中获取的彩铃音信息生成的包含各个彩铃音信息的索引文 件。  The ring back tone information of the ring back tone information included in the query request is queried from the color ring tone information index file generated by the index file generating device according to the identifier information of the color ring tone carried by the query request, and the color ring tone is queried. The information index file is an index file containing the respective ring tones information generated by the index file generating device according to the ring tones information acquired from the database.
10、 如权利要求 9所述的方法, 其特征在于,  10. The method of claim 9 wherein:
所述方法还包括: 存储器从所述索引文件生成设备中获取彩铃音信息 索引文件并存储, 所述存储器设置在所述彩铃平台所在的彩铃服务器上, 且所述存储器的存储空间为所述彩铃服务器的部分内存; 所述彩铃平台查询包含所述查询请求中彩铃音的标识信息的彩铃音信 息, 包括: 从所述存储器中存储的彩铃音信息索引文件中查询与所述查询 请求中携带的标识信息相对应的彩铃音信息。 The method further includes: a memory acquiring a CRBT sound information index file from the index file generating device, where the memory is set on a CRBT server where the CRBT platform is located, and a storage space of the memory is the CRBT Part of the memory of the server; The ring back tone platform querying the ring tones information including the identifier information of the ring tones in the query request includes: querying, from the ring tones information index file stored in the memory, the identifier information corresponding to the identifier information carried in the query request Color ring tone information.
11、 如权利要求 9或 10所述的方法, 其特征在于, 所述索引文件生成 设备根据其从数据库中获取的彩铃音信息生成包含各个彩铃音信息的彩铃 音信息索引文件, 包括: 所述索引文件生成设备实时、 周期或定时地从所 述数据库中获取彩铃音信息, 并根据获取的彩铃音信息更新存储的彩铃音 信息索引文件。  The method according to claim 9 or 10, wherein the index file generating device generates a ring tones information index file including the color ring tones information according to the ring tones information obtained from the database, and the method includes: The index file generating device acquires the ring tones information from the database in real time, periodically, or periodically, and updates the stored ring tones information index file according to the obtained ring tones information.
12、 如权利要求 10所述的方法, 其特征在于, 所述存储器从索引文件 生成设备中获取彩铃音信息索引文件并存储, 包括: 所述存储器实时、 周 期或定时地从所述索引文件生成设备获取最新的彩铃音信息索引文件, 并 根据该最新的彩铃音信息索引文件更新存储的彩铃音信息索引文件。  The method of claim 10, wherein the acquiring the color ring tone information index file from the index file generating device and storing the memory comprises: generating, by the memory, the index file in real time, periodically or periodically. The device acquires the latest ring tones information index file, and updates the stored ring tones information index file according to the latest ring tones information index file.
13、 如权利要求 10所述的方法, 其特征在于, 所述方法还包括: 所述索引文件生成设备备份该索引文件生成设备存储的最新的彩铃音 信息索引文件; 和 /或,  The method according to claim 10, wherein the method further comprises: the index file generating device backing up the latest ring tones information index file stored by the index file generating device; and/or,
所述存储器备份该存储器存储的最新的彩铃音信息索引文件。  The memory backs up the latest ring tones information index file stored in the memory.
PCT/CN2011/076043 2010-10-25 2011-06-21 Method and system for inquiring color ring back tone information WO2012055251A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201010518870XA CN101980517A (en) 2010-10-25 2010-10-25 Method and system for searching for coloring ring back tone information
CN201010518870.X 2010-10-25

Publications (1)

Publication Number Publication Date
WO2012055251A1 true WO2012055251A1 (en) 2012-05-03

Family

ID=43601000

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2011/076043 WO2012055251A1 (en) 2010-10-25 2011-06-21 Method and system for inquiring color ring back tone information

Country Status (2)

Country Link
CN (1) CN101980517A (en)
WO (1) WO2012055251A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101980517A (en) * 2010-10-25 2011-02-23 中兴通讯股份有限公司 Method and system for searching for coloring ring back tone information
CN103714144B (en) * 2013-12-25 2017-05-10 新华三技术有限公司 Device and method for information retrieval
CN103945074B (en) * 2014-04-08 2016-09-07 天翼爱音乐文化科技有限公司 A kind of CRBT method for customizing and system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101009867A (en) * 2007-02-02 2007-08-01 周洋 Data provision platform
CN101340623A (en) * 2007-07-02 2009-01-07 中国电信股份有限公司 Method for managing customized ring back tone by short message and short message customized ring back tone management apparatus
CN101600023A (en) * 2009-06-30 2009-12-09 中兴通讯股份有限公司 Short messages of terminals searching method and device thereof
CN101668259A (en) * 2009-09-10 2010-03-10 中兴通讯股份有限公司 Implement method of color ring back tone service and system
CN101765096A (en) * 2008-12-26 2010-06-30 中兴通讯股份有限公司 Method, device and system for querying order relations
CN101980517A (en) * 2010-10-25 2011-02-23 中兴通讯股份有限公司 Method and system for searching for coloring ring back tone information

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100667343B1 (en) * 2003-02-18 2007-01-10 주식회사 케이티프리텔 Method and Device for providing mobile service with virtual number

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101009867A (en) * 2007-02-02 2007-08-01 周洋 Data provision platform
CN101340623A (en) * 2007-07-02 2009-01-07 中国电信股份有限公司 Method for managing customized ring back tone by short message and short message customized ring back tone management apparatus
CN101765096A (en) * 2008-12-26 2010-06-30 中兴通讯股份有限公司 Method, device and system for querying order relations
CN101600023A (en) * 2009-06-30 2009-12-09 中兴通讯股份有限公司 Short messages of terminals searching method and device thereof
CN101668259A (en) * 2009-09-10 2010-03-10 中兴通讯股份有限公司 Implement method of color ring back tone service and system
CN101980517A (en) * 2010-10-25 2011-02-23 中兴通讯股份有限公司 Method and system for searching for coloring ring back tone information

Also Published As

Publication number Publication date
CN101980517A (en) 2011-02-23

Similar Documents

Publication Publication Date Title
CA2615085C (en) Method, apparatus and computer program product providing an application integrated mobile device search solution using context information
US20080065699A1 (en) System and method for collection and synchronization of metadata to facilitate distributed content search
US20070198633A1 (en) System and method for delivery of PC content through a server based relay system using really simple syndication
WO2017005059A1 (en) Method and device for audio fingerprint matching query and storage medium
US8600970B2 (en) Server-side search of email attachments
WO2008104131A1 (en) Method, apparatus and system of searching and downloading mobile telephone file
CN1729276A (en) Method and system for network downloading of music files
WO2010063200A1 (en) Method and system for recommending content among mobile phone users
TW201229790A (en) Information providing method and device
WO2009039744A1 (en) System, server, client and method for downloading network resource
US8914426B2 (en) Efficient multiple identity system for media files
JP2010537324A (en) Targeted distribution of search index fragments over wireless communication networks
WO2012055251A1 (en) Method and system for inquiring color ring back tone information
US7647350B2 (en) Database access server with compression translator
KR20090000204A (en) Method and apparatus for managing contents
WO2011020372A1 (en) Method and apparatus for performing search in mobile terminal
US8285722B2 (en) Content discovery using gateway browsing data
WO2012152076A1 (en) Service adaptation method, device and system
JP2010224824A (en) Information processing apparatus
CN108959537A (en) Web service interface acquisition methods and device
JP2006301683A (en) Electronic communication processor and electronic communication processing method
US20140136831A1 (en) Portable Lightweight LDAP Directory Server and Database
WO2010029081A1 (en) Synchronizing network feeds in high-frequency network events
CN109739653A (en) Previewing file method, document handling method and device
CN102799649B (en) Intelligent input prompting device and intelligent input prompting method

Legal Events

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

Ref document number: 11835525

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 11835525

Country of ref document: EP

Kind code of ref document: A1