CN107423353A - A kind of inquiry system based on first letter of pinyin - Google Patents
A kind of inquiry system based on first letter of pinyin Download PDFInfo
- Publication number
- CN107423353A CN107423353A CN201710379484.9A CN201710379484A CN107423353A CN 107423353 A CN107423353 A CN 107423353A CN 201710379484 A CN201710379484 A CN 201710379484A CN 107423353 A CN107423353 A CN 107423353A
- Authority
- CN
- China
- Prior art keywords
- multimedia programming
- priority
- initial
- module
- programming resource
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/40—Information retrieval; Database structures therefor; File system structures therefor of multimedia data, e.g. slideshows comprising image and additional audio data
- G06F16/43—Querying
- G06F16/435—Filtering based on additional data, e.g. user or group profiles
- G06F16/437—Administration of user profiles, e.g. generation, initialisation, adaptation, distribution
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/40—Information retrieval; Database structures therefor; File system structures therefor of multimedia data, e.g. slideshows comprising image and additional audio data
- G06F16/43—Querying
- G06F16/435—Filtering based on additional data, e.g. user or group profiles
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/40—Information retrieval; Database structures therefor; File system structures therefor of multimedia data, e.g. slideshows comprising image and additional audio data
- G06F16/43—Querying
- G06F16/438—Presentation of query results
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Multimedia (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Document Processing Apparatus (AREA)
Abstract
The present embodiments relate to a kind of inquiry system based on first letter of pinyin, including:Receiving module, the inquiry request of the multimedia programming resource to be searched for receiving user terminal transmission;Memory module, for storing multimedia programming resource database;Enquiry module, for being retrieved according to initial to be searched in multimedia programming resource database, the initial of the multimedia programming asset title to be matched;Acquisition module, for obtaining corresponding multimedia programming asset title;Acquisition module, it is additionally operable to obtain corresponding multimedia programming resource data;Processing module, for setting the priority of multimedia programming resource data;Generation module, table data is shown for generating multimedia programming resource;Sending module, for multimedia programming resource to be shown into table data is sent to user terminal.
Description
Technical field
The present invention relates to data processing field, more particularly to a kind of inquiry system based on first letter of pinyin.
Background technology
With the development of information technology, the management for multi-medium data relies primarily on inquiry system completion, in management,
It is frequently necessary to carry out the multi-medium data in inquiry system inquiry operation, how more convenient quickly help user realizes
The lookup of multi-medium data, turn into an important indicator of inquiry system ease for use.
Video website main at present is mainly inquired about by keyword.But because input keyword needs are more
Input through keyboard, do not have too big problem on computer and mobile phone, but when being operated on intelligent television or set top box, just very
Inconvenience.
The content of the invention
The purpose of the present invention is the defects of being directed to prior art, there is provided a kind of inquiry system based on first letter of pinyin, it is real
Fast search is now carried out according to the title first letter of pinyin of multimedia programming resource, and search result carried out by certain rule
Sequence, greatly increases Consumer's Experience.
In view of this, the embodiments of the invention provide a kind of inquiry system based on first letter of pinyin, including:
Receiving module, the inquiry request of the multimedia programming resource to be searched for receiving user terminal transmission;Wherein, look into
Ask the initial to be searched that multimedia programming asset title to be searched is carried in request;
Memory module, for storing multimedia programming resource database;
Enquiry module, for being retrieved according to initial to be searched in multimedia programming resource database, obtain phase
The initial of the multimedia programming asset title of matching;
Acquisition module, for obtaining corresponding multimedia programming asset title according to the obtained initial of retrieving;
The acquisition module, it is additionally operable to according to the multimedia programming asset title in multimedia programming resource database
Obtain corresponding multimedia programming resource data;
Processing module, for setting the priority of the multimedia programming resource data;Wherein, when multimedia programming resource
When the initial of title matches completely with the initial to be searched, priority is set as the first priority;According to multimedia section
The appearance position of initial to be searched described in the initial of mesh asset title sets priority as the second priority;According to described
The time attribute of multimedia programming resource data sets priority as third priority;According to the multimedia programming resource data
Categorical attribute set priority as the 4th priority;
Generation module, for the multimedia programming resource data to be generated into multimedia programming resource according to the priority
Show table data;
Sending module, for the multimedia programming resource to be shown into table data is sent to the user terminal.
Preferably, the acquisition module is additionally operable to extract multimedia programming resource in the multimedia programming resource database
The multimedia programming asset title of data;
The generation module is additionally operable to establish the multimedia programming asset title and the multimedia programming resource data
Between incidence relation, and be stored in the multimedia programming resource database.
It is further preferred that the acquisition module is additionally operable to extract the initial of the multimedia programming asset title;
The generation module is additionally operable to establish the incidence relation of the initial and the multimedia programming asset title, and
It is stored in the multimedia programming resource database.
Preferably, the generation module be specifically used for according to first priority, the second priority, third priority and
One or more of 4th priority priority, multimedia programming resource data generation multimedia programming resource is shown
Table data.
Preferably, it is characterised in that the time attribute includes show time or addition time.
A kind of inquiry system based on first letter of pinyin provided in an embodiment of the present invention, is realized according to multimedia programming resource
Title first letter of pinyin carry out fast search, and search result is ranked up by certain rule, greatly increases use
Experience at family.
Brief description of the drawings
Fig. 1 is the structured flowchart of the inquiry system provided in an embodiment of the present invention based on first letter of pinyin;
Fig. 2 is the querying method flow chart of the inquiry system provided in an embodiment of the present invention based on first letter of pinyin.
Embodiment
Below by drawings and examples, technical scheme is described in further detail.
Fig. 1 is the structured flowchart of the inquiry system provided in an embodiment of the present invention based on first letter of pinyin, as illustrated, main
Including:Receiving module 1, enquiry module 2, acquisition module 3, processing module 4, generation module 5, sending module 6 and memory module
7.The querying method flow chart of the inquiry system based on first letter of pinyin with reference to shown in Fig. 2 is to each in system proposed by the present invention
The function of individual module and its interaction illustrate.With reference to shown in Fig. 1, Fig. 2, what system proposed by the present invention mainly performed
Method and step includes as follows:
Step 101, receiving module 1 receives the inquiry request for the multimedia programming resource to be searched that user terminal is sent;
Wherein, user terminal can be the terminal devices such as intelligent television, smart mobile phone.
Specifically, the multimedia programming asset title to be searched that user terminal reception user inputs in search interface is waited to search
Rope initial, inquiry request is generated, is sent to receiving module 1.
Multimedia programming asset title to be searched refers to the title of the multimedia programming to be searched for of user, initial to be searched
Refer to the initial combination of multimedia programming asset title phonetic to be searched, such as, user will search for film " Song of Joy ", its
In, " Song of Joy " is multimedia programming asset title to be searched, and corresponding initial to be searched is " hls ", therefore user exists
" hls " is inputted during search.
Before step 101, system is also needed to more matchmakers in the multimedia programming resource database that is stored in memory module 7
Initial corresponding to body segment mesh resource data is extracted, and specifically includes following process.
Acquisition module 3 extracts in memory module 7 the more of multimedia programming resource data in multimedia programming resource database
Media program asset title;Wherein, multimedia programming resource database includes multiple multimedia programming resource datas, multimedia
Program resource data can be the video and audios such as film, TV play, variety;Each corresponding matchmaker more than one of multimedia programming resource data
Body segment mesh asset title, for indicating multimedia programming resource data.
The incidence relation that generation module 5 is established between multimedia programming asset title and multimedia programming resource data, and
It is stored in the multimedia programming resource database in memory module 7, so as to be inquired about according to multimedia programming asset title
Get corresponding multimedia programming resource data.
Acquisition module 3 extracts the initial of multimedia programming asset title;Wherein, multimedia programming asset title is extracted
Phonetic and initial have a variety of methods, and acquisition module 3 can be calculated the phonetic of Chinese character by GBK coding criterions, can also be led to
Dictionary table is crossed to inquire about, the initial that pinyin conversion plug-in units realize multimedia programming asset title is preferably employed in the present invention
Extraction.
Generation module 5 establishes the incidence relation of initial and multimedia programming asset title, and is stored in multimedia programming
In resource database.Specifically, the present invention establishes index using sphinx, needed ngram_len in configuration index and
Min_word_len configuration item parameters are arranged to 1, to support the inquiry of single letter.
When establishing index, index field includes initial, initial length, film addition time, film category level
Etc. field.Wherein initial index is mainly used to match, and initial length, film addition time and film category level are then used for
It is ranked up.
Step 102, enquiry module 2 is retrieved according to initial to be searched in multimedia programming resource database, is obtained
To the initial of the multimedia programming asset title to match;
Wherein, multimedia programming resource database is previously stored in memory module 7.
Enquiry module 2 inquires about the obtained initial of the multimedia programming asset title to match
Letter is identical or includes initial to be searched.That is inquiry when be by initial length just
Come what is realized, reason is the alphabetical sequence of user's input for sequence arrangement, when initial matching is carried out in database, only two kinds of feelings
Condition can match, and one kind is that both are identical, i.e., accurate matching;Another is that the initial of film vault inputs comprising user
Alphabetical sequence, now its initial length be naturally larger than the length accurately matched.Therefore arranged using the positive sequence of initial length
Row, can realize the demand accurately matched completely.
In a specific example, initial to be searched is yw, the more matchmakers to be matched according to search initial yw
The initial of body segment mesh asset title can be one or more yw, because initial corresponding to different titles may phase
Together, such as, film《Desire》With《Ye Wen》Corresponding initial is all yw;The initial to be matched can also be ywaq,
Byw etc. includes yw initial.
Step 103, the initial that acquisition module 3 obtains according to retrieval obtains corresponding multimedia programming asset title;
Specifically, acquisition module 3 in multimedia programming resource database according to initial and multimedia programming resource mark
The incidence relation of topic, obtain the multimedia programming asset title corresponding with the initial that retrieval obtains.
Step 104, acquisition module 3 obtains phase according to multimedia programming asset title in multimedia programming resource database
Corresponding multimedia programming resource data;
Wherein, multimedia programming resource data can the title including multimedia programming, picture, update date, chain ground connection
The information such as location.
Specifically, acquisition module 3 multimedia programming asset title and multimedia section in multimedia programming resource database
The incidence relation of mesh resource data, obtain the multimedia programming resource data corresponding with multimedia programming asset title.
Step 105, processing module 4 sets the priority of multimedia programming resource data;
Wherein, the priority that processing module 4 is set in this example can include the first priority, the second priority, the 3rd
Priority and the 4th priority.
Specifically, the setting of the first priority is according to the initial when multimedia programming asset title and lead-in to be searched
During female matching completely, set corresponding to priority as the first priority.Can be to initial matching precision according to the first priority
Optimize, the data matched completely.
The setting of second priority is the appearance of initial to be searched in initial according to multimedia programming asset title
Position.Specifically, the position occurred to the initial of user's input in title initial is matched calculates, due to user
The alphabetical sequence combination of input is a lot, can not be realized by establishing index in advance, it is necessary to be carried out again after being inquired about by sphinx
Calculating, the present invention is to compare the position of appearance again by the sphinx data returned, it is achieved thereby that the requirement of the second priority,
The more forward sequence in position of appearance is more forward.
The setting of third priority is the time attribute according to multimedia programming resource data;Wherein time attribute can be
Show time or addition time, the time is more late, and sequence is more forward.
The setting of 4th priority is the categorical attribute according to multimedia programming resource data;Wherein, categorical attribute can be with
For film, TV play, animation, documentary film, variety;The order of categorical attribute can be system it is set in advance or use
Family setting.
Step 106, generation module 5 shows multimedia programming resource data generation multimedia programming resource according to priority
Table data;
Specifically, generation module 5 can be according to the first priority, the second priority, third priority and the 4th priority
One or more of priority, multimedia programming resource data is generated into multimedia programming resource and shows table data.Wherein,
The selection of priority can be that systemic presupposition or user select.
That is, multimedia programming resource data can be generated more matchmakers by generation module 5 according to any one priority
Body program resource shows table data, can also be excellent according to the first priority, third priority and the 4th priority or second
Multimedia programming resource data is generated multimedia programming resource and shows list number by first level, third priority and the 4th priority
According to.
Step 107, multimedia programming resource is shown that table data is sent to user terminal by sending module 6.
Specifically, multimedia programming resource is shown that table data is sent to user terminal by sending module 6;User terminal root
Priority putting in order multimedia programming resource data more matchmakers to priority in list is shown according to multimedia programming resource
Body segment mesh resource data is shown, so as to display for a user the multimedia programming resource inquired.
A kind of inquiry system based on first letter of pinyin provided in an embodiment of the present invention, is realized according to multimedia programming resource
Title first letter of pinyin carry out fast search, and search result is ranked up by certain rule, greatly increases use
Experience at family.
Professional should further appreciate that, each example described with reference to the embodiments described herein
Unit and algorithm steps, it can be realized with electronic hardware, computer software or the combination of the two, it is hard in order to clearly demonstrate
The interchangeability of part and software, the composition and step of each example are generally described according to function in the above description.
These functions are performed with hardware or software mode actually, application-specific and design constraint depending on technical scheme.
Professional and technical personnel can realize described function using distinct methods to each specific application, but this realization
It is it is not considered that beyond the scope of this invention.
The method that is described with reference to the embodiments described herein can use hardware, computing device the step of algorithm
Software module, or the two combination are implemented.Software module can be placed in random access memory (RAM), internal memory, read-only storage
(ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technical field
In any other form of storage medium well known to interior.
Above-described embodiment, the purpose of the present invention, technical scheme and beneficial effect are carried out further
Describe in detail, should be understood that the embodiment that the foregoing is only the present invention, be not intended to limit the present invention
Protection domain, within the spirit and principles of the invention, any modification, equivalent substitution and improvements done etc., all should include
Within protection scope of the present invention.
Claims (5)
1. a kind of inquiry system based on first letter of pinyin, it is characterised in that the system includes:
Receiving module, the inquiry request of the multimedia programming resource to be searched for receiving user terminal transmission;Wherein, inquiry please
The initial to be searched of multimedia programming asset title to be searched is carried in asking;
Memory module, for storing multimedia programming resource database;
Enquiry module, for being retrieved according to initial to be searched in multimedia programming resource database, matched
Multimedia programming asset title initial;
Acquisition module, for obtaining corresponding multimedia programming asset title according to the obtained initial of retrieving;
The acquisition module, it is additionally operable to be obtained in multimedia programming resource database according to the multimedia programming asset title
Corresponding multimedia programming resource data;
Processing module, for setting the priority of the multimedia programming resource data;Wherein, when multimedia programming asset title
Initial when being matched completely with the initial to be searched, set priority as the first priority;Provided according to multimedia programming
The appearance position of initial to be searched described in the initial of source title sets priority as the second priority;According to more matchmakers
The time attribute of body segment mesh resource data sets priority as third priority;According to point of the multimedia programming resource data
Generic attribute sets priority as the 4th priority;
Generation module, for being shown multimedia programming resource data generation multimedia programming resource according to the priority
Table data;
Sending module, for the multimedia programming resource to be shown into table data is sent to the user terminal.
2. the inquiry system according to claim 1 based on first letter of pinyin, it is characterised in that the acquisition module is also used
In the multimedia programming asset title for extracting multimedia programming resource data in the multimedia programming resource database;
The generation module is additionally operable to establish between the multimedia programming asset title and the multimedia programming resource data
Incidence relation, and be stored in the multimedia programming resource database.
3. the inquiry system according to claim 2 based on first letter of pinyin, it is characterised in that the acquisition module is also used
In the initial for extracting the multimedia programming asset title;
The generation module is additionally operable to establish the incidence relation of the initial and the multimedia programming asset title, and stores
In the multimedia programming resource database.
4. the inquiry system according to claim 1 based on first letter of pinyin, it is characterised in that the generation module is specific
For according to one or more of first priority, the second priority, third priority and the 4th priority priority,
Multimedia programming resource data generation multimedia programming resource is shown into table data.
5. the inquiry system according to claim 1 based on first letter of pinyin, it is characterised in that the time attribute includes
Show time or addition time.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710379484.9A CN107423353A (en) | 2017-05-25 | 2017-05-25 | A kind of inquiry system based on first letter of pinyin |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710379484.9A CN107423353A (en) | 2017-05-25 | 2017-05-25 | A kind of inquiry system based on first letter of pinyin |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107423353A true CN107423353A (en) | 2017-12-01 |
Family
ID=60429052
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710379484.9A Pending CN107423353A (en) | 2017-05-25 | 2017-05-25 | A kind of inquiry system based on first letter of pinyin |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107423353A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110888899A (en) * | 2019-10-12 | 2020-03-17 | 视联动力信息技术股份有限公司 | Mass data storage and retrieval method and device |
Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101102351A (en) * | 2007-07-09 | 2008-01-09 | 成都耀邦科技有限责任公司 | Method for querying first spelling character key at visual terminal |
CN101808187A (en) * | 2010-03-26 | 2010-08-18 | 深圳创维数字技术股份有限公司 | Method for establishing local video library and set top box |
CN102063476A (en) * | 2010-12-13 | 2011-05-18 | 百度时代网络技术(北京)有限公司 | Video searching method and system |
CN102547383A (en) * | 2010-12-31 | 2012-07-04 | 福建星网视易信息系统有限公司 | Pinyin retrieval display method and system in Video On Demand (VOD) system |
CN102968453A (en) * | 2012-10-24 | 2013-03-13 | 北京暴风科技股份有限公司 | Film and video searching method for mobile terminal |
CN102999498A (en) * | 2011-09-08 | 2013-03-27 | 中兴通讯股份有限公司 | Method and device for searching multi-media programs |
CN103092360A (en) * | 2011-11-07 | 2013-05-08 | 深圳市快播科技有限公司 | Set top box video file name input method and set top box thereof |
CN105474207A (en) * | 2013-05-28 | 2016-04-06 | 三星电子株式会社 | User interface method and device for searching for multimedia content |
CN106021346A (en) * | 2016-05-09 | 2016-10-12 | 北京百度网讯科技有限公司 | A retrieval processing method and device |
CN106407434A (en) * | 2016-09-28 | 2017-02-15 | 乐视控股(北京)有限公司 | Video pushing method and system |
CN106454546A (en) * | 2015-08-06 | 2017-02-22 | 腾讯科技(北京)有限公司 | Caption file processing method and caption file processing device |
-
2017
- 2017-05-25 CN CN201710379484.9A patent/CN107423353A/en active Pending
Patent Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101102351A (en) * | 2007-07-09 | 2008-01-09 | 成都耀邦科技有限责任公司 | Method for querying first spelling character key at visual terminal |
CN101808187A (en) * | 2010-03-26 | 2010-08-18 | 深圳创维数字技术股份有限公司 | Method for establishing local video library and set top box |
CN102063476A (en) * | 2010-12-13 | 2011-05-18 | 百度时代网络技术(北京)有限公司 | Video searching method and system |
CN102547383A (en) * | 2010-12-31 | 2012-07-04 | 福建星网视易信息系统有限公司 | Pinyin retrieval display method and system in Video On Demand (VOD) system |
CN102999498A (en) * | 2011-09-08 | 2013-03-27 | 中兴通讯股份有限公司 | Method and device for searching multi-media programs |
CN103092360A (en) * | 2011-11-07 | 2013-05-08 | 深圳市快播科技有限公司 | Set top box video file name input method and set top box thereof |
CN102968453A (en) * | 2012-10-24 | 2013-03-13 | 北京暴风科技股份有限公司 | Film and video searching method for mobile terminal |
CN105474207A (en) * | 2013-05-28 | 2016-04-06 | 三星电子株式会社 | User interface method and device for searching for multimedia content |
CN106454546A (en) * | 2015-08-06 | 2017-02-22 | 腾讯科技(北京)有限公司 | Caption file processing method and caption file processing device |
CN106021346A (en) * | 2016-05-09 | 2016-10-12 | 北京百度网讯科技有限公司 | A retrieval processing method and device |
CN106407434A (en) * | 2016-09-28 | 2017-02-15 | 乐视控股(北京)有限公司 | Video pushing method and system |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110888899A (en) * | 2019-10-12 | 2020-03-17 | 视联动力信息技术股份有限公司 | Mass data storage and retrieval method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104679855B (en) | A kind of play-list creation method and terminal device | |
US9659278B2 (en) | Methods, systems, and computer program products for displaying tag words for selection by users engaged in social tagging of content | |
CN105630938A (en) | Intelligent question-answering system | |
CN109213844B (en) | Text processing method and device and related equipment | |
US20130290319A1 (en) | Performing application searches | |
CN108509569A (en) | Generation method, device, electronic equipment and the storage medium of enterprise's portrait | |
CN105808058A (en) | Intelligent display method and apparatus for pasting prompt | |
CN107704202B (en) | Method and device for quickly reading and writing data | |
WO2019000782A1 (en) | Search term recommendation method, set top box and storage medium | |
CN107085583B (en) | Electronic document management method and device based on content | |
CN105824923A (en) | Movie and video resource recommendation method and device | |
JP2013020411A (en) | Information processing apparatus, information processing method and program | |
CN110069698B (en) | Information pushing method and device | |
CN101167075A (en) | Characteristic expression extracting device, method, and program | |
CN102750629B (en) | Schedule association method and device | |
CN107678629A (en) | Application program search method | |
EP2889788A1 (en) | Accessing information content in a database platform using metadata | |
US20150081690A1 (en) | Network sourced enrichment and categorization of media content | |
CN110750975B (en) | Introduction text generation method and device | |
WO2017173801A1 (en) | Personalized multimedia recommendation method and apparatus | |
CN104750839A (en) | Data recommendation method, terminal and server | |
US8954466B2 (en) | Use of statistical language modeling for generating exploratory search results | |
CN101102351A (en) | Method for querying first spelling character key at visual terminal | |
CN105335466A (en) | Audio data retrieval method and apparatus | |
CN106970758A (en) | Electronic document operation processing method, device and electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20171201 |
|
WD01 | Invention patent application deemed withdrawn after publication |