CN103428525A - Online inquiry and play control method and system for network videos and television programs - Google Patents

Online inquiry and play control method and system for network videos and television programs Download PDF

Info

Publication number
CN103428525A
CN103428525A CN2013103085933A CN201310308593A CN103428525A CN 103428525 A CN103428525 A CN 103428525A CN 2013103085933 A CN2013103085933 A CN 2013103085933A CN 201310308593 A CN201310308593 A CN 201310308593A CN 103428525 A CN103428525 A CN 103428525A
Authority
CN
China
Prior art keywords
video
information
programme
inquiry
internet
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.)
Granted
Application number
CN2013103085933A
Other languages
Chinese (zh)
Other versions
CN103428525B (en
Inventor
于俊清
汪洋
黄贤强
唐九飞
何云峰
管涛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huazhong University of Science and Technology
Original Assignee
Huazhong University of Science and Technology
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 Huazhong University of Science and Technology filed Critical Huazhong University of Science and Technology
Priority to CN201310308593.3A priority Critical patent/CN103428525B/en
Publication of CN103428525A publication Critical patent/CN103428525A/en
Application granted granted Critical
Publication of CN103428525B publication Critical patent/CN103428525B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses an online inquiry and play control method for network videos and television programs. The method comprises that a server extracts and stores video information on internet video websites; the server obtains video source webpage source data by using video source webpage addresses in the video information to extract and store real video source addresses; the server extracts and stores television program parade information according to television program parade website webpage data arrangement; a mobile terminal serving as a client extracts information through the network videos to perform online inquiry to obtain video information so as to perform online playing, performs online inquiry through the program parade information and remotely controls a television to play television programs. The invention further discloses an online inquiry and play control system. According to the online inquiry and play control method and system, by extracting different kinds of video source information on networks or the television program information provided by broadcast networks, problems such as real-time online inquiry and play control of network videos and play control of network videos and television programs can be solved.

Description

The online query of Internet video and TV programme and control method for playing back and system
Technical field
The invention belongs to the Computer Applied Technology field, be specifically related to control method and the system of online query and the broadcasting of a kind of Internet video and TV programme, by mobile terminal, realize that the inquiry of internet video online query and broadcasting, TV program information RTV remote television play.
Background technology
In recent years, along with the fast development of multimedia and network technology, the Internet has become an indispensable part in people's life gradually.And being accompanied by the propelling of integration of three networks process, the fusion of the Internet and TV resource is also imperative.The generation of internet video data, process and obtain and become more and more convenient, the video data volume presents volatile growth.Contrary with the rapid growth of the video data volume, the rhythm of people's live and work is more and more faster, really fewer and feweri for the time of watching TV programme and Internet video, in the face of the video content of the Internet of a large amount of television channels and magnanimity, the user is often at a loss as to what to do.
Develop rapidly along with wireless access wide band technology and mobile terminal technology, the urgent hope of people can be whenever and wherever possible and even can be easily from the Internet obtaining information and service in moving process, yet present stage the movement-based terminal network video information and TV program information obtain perfect not enough, not hommization.For example, with regard to the internet video of mobile terminal obtains, that takes often or by the webpage of video website plays form, because each video website is downloaded for preventing video, true address to video all can be encrypted, the true address deciphering rule of video is embedded in the flash player of website, while therefore playing different video, need to call the player of different web sites, obviously user's experience is bad.And this video playback form based on webpage, when the user search video resource, can receive the unnecessary page info of a lot of redundancies, now how on mobile terminal, obtaining effectively, easily accurate Internet video has become problem that people more and more are concerned about.Aspect TV program information obtains, also have a lot of weak points equally.Although broadcasting and television network can provide the live of TV programme, but the information to TV programme but provides seldom, if the user wants the programme information of checking that each TV station plays, need to check the website of each TV station, and a lot of broadcaster websites only provide television programme title, to the content introduction of TV programme seldom, this is arranging to have increased difficulty aspect the watching of TV programme also to the user.So obtain aspect this in TV program information, lack a unified search platform, for the programme information by each TV station, integrated, for the user provides the online query of programme information, as program key word inquiry, TV guide, current playing program etc.
On the other hand, along with the development of computer, control and the communication technology, home automation has obtained huge development in the past few decades.Along with improving constantly of living standard, people have proposed higher demand to home automation.In domestic automation system, remote control equipment is being played the part of vital role, more and more with the electric equipment of function of infrared remote control, enters family and various office, public place of entertainment.The means of controlling that the use of remote control system provides a convenient.Yet facing to the appearance of the emerging affairs such as intelligent television, the integration of three networks, remote controller also is in initial developing stage, and single function of infrared remote control only is provided, and obviously can't meet people's demand.
Although multifunctional remote controlller occurred on the market at present, very large variation has all occurred in the function of remote controller and control mode, has facilitated daily life, also exists some problems:
1. most of remote controller key layout is fixed.In the face of different use scenes, adopt identical key arrangement can greatly reduce user's experience, inconvenient user uses operation;
2. most of remote-controller function is single.Overwhelming majority remote controller only has function of infrared remote control, under this environment growing in science and technology, can't meet people's demand, and people are in the urgent need to providing the intelligent remote controller of several functions;
3. most of remote manipulator system can't be upgraded, due to most of remote controller employing is that simple program curing is controlled, so can't be upgraded to system, the function that remote controller provides can't change, when manufacturer adds new function, the user can only select to buy new hardware, and this is a loss greatly to the user, and the hardware product of buying can't obtain lasting service.
Summary of the invention
The invention provides a kind of Internet video of movement-based terminal and online query and control method for playing back and the system of TV programme, its purpose is that the TV program information provided by all kinds of video source information on network or broadcasting and television network is extracted, and realize online query and the broadcasting of video or television program by unified interface, thereby can realize the real-time online inquiry of Internet video and TV programme, and the problem such as Play Control.
For realizing purpose of the present invention, according to another aspect of the present invention, a kind of online query and control method for playing back of Internet video and TV programme of movement-based terminal are provided, it is extracted by all kinds of video source and the television schedule information on network, and realize online query, the broadcasting of video by mobile terminal, with the inquiry that realizes TV programme control television for play, the method specifically comprises:
Network video information extracts, and is specially: server end is formulated extracting rule and is taked the video information on unified data structure storage internet video website;
The Internet video true address extracts, be specially: server end utilizes the video source web page address in video information, obtain the video source webpage source data through decompression and Unified coding, again according to the video ID in video information and video source webpage source data, extract the video source true address of video website, and take unified data structure to be stored video true address information;
Television schedule information extracts: server end, according to the layout of TV guide website and webpage data, is formulated extracting rule, extracts programme distant information and the information of extracting is stored;
Described mobile terminal carries out online query as client by the Internet video information extraction of storage and obtains video information, play online by described video true address information, by the programme distant information extracted, carry out online query and remote-controlled television set carries out the TV programme broadcasting.
As present invention further optimization, described programme distant information extracts and is specially: be written into the channel information table, read a line at every turn, the information read is processed, the schedule information page of a synthetic every day, after download, resolved, then input database, complete programme distant information and extract.
As present invention further optimization, the network video information of described extraction comprises the video essential information, video classification information and video creation information, wherein, described video essential information comprises video title, video presentation and video tab, described video classification packets of information is drawn together subordinate channel, visual classification and affiliated special edition, and described video creation information comprises video uploader information and video uplink time.
As present invention further optimization, the online query of described programme distant information comprises:
Extract query argument, the request of inquiring client terminal is resolved, obtain searching keyword and inquiry mode keyword;
Judge whether searching keyword is empty, judges if it is empty whether the inquiry mode keyword is c, if, inquire about the programme information that current slot broadcasts, according to time sequencing, return the XML file to client; If searching keyword is not empty, judge inquiry mode, if s, inquiry packet contains the programme information of keyword, and returns to client by the time; If a, judge whether searching keyword is channel designation, if return to all programme distant informations in this current week of channel, and returns in chronological order client, if otherwise finish.
As present invention further optimization, the online query of described network video information comprises:
The keyword preliminary treatment, removed the ignore character in the keyword of inquiry, to prevent from affecting Search Results;
The keyword participle, be about to long section sentence and be divided into independent word, comprises two kinds of Chinese word segmentation and English string segmentations;
Search index, when the Internet grabs this locality, can be indexed operation when network video information to video information, utilizes Lucene to set up inverted index, when the process of inquiry, utilizes the Retrieval Interface of Solr to be inquired about index;
Result is sorted, according to the keyword degree of correlation, result for retrieval is sorted;
Information is returned, and according to the video retrieved, is ID, and Query Database, obtain detailed video information, according to displaying contents, generates the XML file, turns back to client.
As present invention further optimization, described method also comprises the authentication step of (comprising conventional user name, password login and recognition of face login), for the identity to client before online query and broadcasting, is authenticated.
As present invention further optimization, for the remote control interface of described mobile terminal remote-controlled television set, comprise a plurality of scene interfaces that can mutually switch.
As present invention further optimization, described method also comprises the TV programme alarm clock calling, for the reminding user program, plays.
According to another aspect of the present invention, a kind of online query and broadcasting control system of Internet video and TV programme of movement-based terminal are provided, it is extracted by all kinds of video source and the television schedule information on network, and realize online query, the broadcasting of video by mobile terminal, with the inquiry that realizes TV programme control television for play, this system specifically comprises:
The network video information extraction module comprises: server end is formulated extracting rule and is taked the video information on unified data structure storage internet video website;
Internet video true address extraction module, comprise: server end utilizes the video source web page address in video information, obtain the video source webpage source data through decompression and Unified coding, again according to the video ID in video information and video source webpage source data, extract the video source true address of video website, and take unified data structure to be stored video true address information;
The television schedule information extraction module comprises: server end, according to the layout of TV guide website and webpage data, is formulated extracting rule, extracts programme distant information and the information of extracting is stored;
Described mobile terminal carries out online query as client by the Internet video information extraction of storage and obtains video information, play online by described video true address information, by the programme distant information extracted, carry out online query and remote-controlled television set carries out the TV programme broadcasting.
As present invention further optimization, described programme distant information extraction module, for being written into the channel information table, reads a line at every turn, the information read is processed, and the schedule information page of a synthetic every day, resolved after download, then input database, complete programme distant information and extract;
Described network video information extraction module is for extracting the video essential information, video classification information and video creation information, wherein, described video essential information comprises video title, video presentation and video tab, described video classification packets of information is drawn together subordinate channel, visual classification and affiliated special edition, and described video creation information comprises video uploader information and video uplink time.
As present invention further optimization, described system also comprises authentication (comprising conventional user name, password login and recognition of face login) module, for the identity to client before online query and broadcasting, is authenticated.
As present invention further optimization, for the remote control interface of described mobile terminal remote-controlled television set, comprise a plurality of scene interfaces that can mutually switch.
As present invention further optimization, described method also comprises the TV programme alarm clock calling, for the reminding user program, plays.
What the present invention adopted is the CS Design Mode, be divided into remote server end and Android SmartClient two parts, server end realizes that the crawl of video information and programme distant information, database support and high in the clouds service interface supplier, the Android client provides interface operation, calls the function that remote interface is realized intelligent distant control.
During network data of the present invention is extracted, wherein info web extracts and comprises that programme distant information extracts and internet video information extraction two parts form, the extracting mode that is based on html tag of employing.TV guide and video website webpage format are relatively fixed and seldom change, so the formulation of information extraction rule adopts artificial mode.Programme distant information, due to program quantitative limitation and fixing, adopts single website to be extracted.Internet video is because quantity is various, so adopt many form of websites to extract.
During high in the clouds of the present invention service interface is realized, the cloud service interface utilizes remote server to provide necessary resource for the Android client.The high in the clouds interface of realizing has authentication module, video true address extraction module, TV guide enquiry module, Internet video search module, program network of relation video recommending module.Cloud service externally provides and calls with the form of interface, provides corresponding API can realize corresponding function.
In the present invention, can adopt Android client to bring in and realize said method, the effect of Android client is to operate for the user, and the Data Source major part is all to access the remote server data storehouse by calling interface to obtain, and small part is from local SQLite database.Therefore client totally can be divided into several parts formations such as data manipulation, file operation, access to netwoks, device access.And, for client, of paramount importance part is client UI, this is the operation interface that the user directly faces, and therefore design must be succinctly both artistic and practical, for the straighforward operation interface of many scenes, needs to consider people's the factors such as use habit.
The present invention has been cooperated with the Android client mutually by the remote server end, server end provides data supporting and service interface for client, client provides operation interface for the user, and both have formed the television set intelligently remote control system based on Android together.
In general, the present invention adopts nowadays popular Android system, powerful function and the trend of the integration of three networks in conjunction with Android system, comprise the network data extraction, service interface design and SmartClient are realized several parts, passed through one and there is TV guide inquiry, program timed reminding, the recommendation of program network of relation video, Internet video inquiry, the online intelligent multifunctional remote controller of playing of Internet video, allowed the user can realize multiple operation under single equipment; Allow the user can be in the situation that exchange device more, by the high in the clouds restoring data, makes original operating habit and software setting to be applied on new equipment fast.Particularly, the present invention has the following advantages:
(1) the present invention is to the video information on the internet video website and broadcasting and TV programme distant information, and the true broadcast address of video carried out unified collection and extraction, thereby controls support is provided in the unification of client for the user;
(2) carry out unified interface processing for the video information of extracting and programme distant information with true broadcast address in the present invention, facilitated the user to control at the concentrated of client.
(3) pass through unified online query and the broadcasting in client in the present invention, for the user provides corresponding straighforward operation interface, improve the user when simplifying user's operation and experience;
The accompanying drawing explanation
The structural representation when method that Fig. 1 is the embodiment of the present invention is implemented.
Level schematic diagram when the method that Fig. 2 is the embodiment of the present invention is implemented.
Master-plan block diagram when the method that Fig. 3 is the embodiment of the present invention is implemented.
The programme distant information that Fig. 4 is the embodiment of the present invention extracts flow chart.
The network video information that Fig. 5 is the embodiment of the present invention extracts flow chart.
Fig. 6 is the interface schematic diagram that the embodiment of the present invention is applied to the Android client.
Fig. 7 is the functional module division schematic diagram that the embodiment of the present invention is applied to the Android client.
Embodiment
In order to make purpose of the present invention, technical scheme and advantage clearer, below in conjunction with accompanying drawing, the present invention is further elaborated.If only in order to explain the present invention, do not limit the present invention when explanation relates to instantiation herein.
Formation schematic diagram when being illustrated in figure 1 this method embodiment and implementing, consist of Android development board and server.Development board preferably consists of the Tiny210 of the arm of friendliness and the LCD touch screen displays of 7 cun.What external intelligent infrared ray remote control module preferably adopted is that HXD1282 Multifunctional learning type bluetooth turns infrared repeater.
The online query of the Internet video of this method embodiment and control method for playing back, extracted by all kinds of video source information on network, and realize online query and the broadcasting of video by unified interface.
The method of the present embodiment specifically comprises:
Network video information and programme distant information extract, and are specially: formulate extracting rule and take the video information on unified data structure storage internet video website; According to the layout of TV guide website and webpage data, formulate extracting rule, extract programme distant information; The information of extracting is stored;
The Internet video true address extracts, and is specially: obtain the video source webpage source data through decompression and Unified coding; Analyze the video source true address extraction algorithm of video website, and take accordingly unified data structure to be stored video true address information;
Local client carries out online query by the information extraction of storage and obtains video information or programme distant information, and plays online according to video and the corresponding video true address of programme distant information utilization information.
System comprises that service end and client two parts form, and client provides operation interface for the user, and server end provides necessary data support and remote service interface to client.Whole system is divided into three layers: explicit layer, key-course and data Layer, as shown in Figure 2.
Display layer has defined the interface of some user oriented operations, and the authentication interface, comprise that the user registers, logins, gives for change password; The TV guide interface, comprise that TV guide inquiry, programme information are checked, TV guide, program associated video recommend; The Internet video interface, comprise Internet video inquiry and local the broadcasting; The straighforward operation interface, comprise remote control and scene selection.
Key-course is the logic realization part of system, comprises authenticating user identification, program inquiry, Internet video inquiry, video recommendation, infrared remote control, data backup and restore, software setting and upgrading etc., is the core of whole system.
Data Layer is the part that provides of system data, comprises TV guide, Internet video and user information database, for the operation of whole system provides data supporting.
The master-plan frame diagram that Fig. 3 is system, when the user inputs the account name password by client, client sends to server by user profile by the Internet and is verified, and returns results.After the user enters, can carry out certain operations to client, as carry out infrared remote control, program inquiry, Internet video and watch etc.Whole process is the result that server end has cooperated with client.
(1) network data is extracted
It is to obtain data from the Internet that info web extracts, and scattered information is got up, and carries out unified management, and formulation and info web storage three parts that this process relates to the obtaining of webpage source file, extracting rule form.For dissimilar information, the information to extracting that also needs had is integrated the operations such as duplicate removal.
For different internet information, extract, the choosing of different is webpage source, extracting rule different and extract after the processing mode difference of information.The more single information extraction for data source, usually only need to extract from one or several website, and the information redundance extracted is not high, and major part is all processed and can be deposited database in without duplicate removal, and this type fewer.On the Internet, all there is redundancy in most information, and identical information can appear at a plurality of different websites, and different station data form may be different, so information extraction need to consider duplicate removal when processing, and formulates unified data structure and store.Concrete steps are as follows:
(1.1) the webpage source file obtains
The target pages of webpage source file normally utilizes web crawlers to acquire, obtaining of webpage source file can be similar to the process of regarding the html file download as, be different from common file and download, this process need is considered the coded system of information and whether compression is arranged.
The page coded system difference of different web sites, current have GBK, UTF-8, a GBK2312 etc.Because information extraction environment coding is fixing, generally ASCII or UTF-8, if extract page coded system difference, the information of extracting will be that mess code shows, this will be unfavorable for the extraction of file, therefore in the process of extracting, need webpage is judged, the coded system of the webpage generally charset field of the meta label by the page source file judges.
Number of site takes the mode of compression to reduce page-size, improves page loading velocity, for this class page, downloads that what get is generally compressed file, can't read internal data.The normal compress mode adopted is gzip at present, for this class website, utilizes third party library first it to be carried out to decompress(ion), and then reading out data calls for other modules.
(1.2) TV guide is extracted
Programme distant information is different from general information, the TV guide in each week is fixed, namely informational capacity is certain, therefore choose a good website in the process of extracting just extremely important, and for the particularity of its information, there is no need a plurality of website collections, only need to find a more complete website collection of information and get final product.Programme distant information extracts as shown in Figure 4.During beginning, be written into local channel information table, read a line at every turn, the information read is processed, the schedule information page of synthetic every day in a week, after download, resolved, the information of extraction is carried out to preliminary treatment, is mainly to remove some spaces etc., then input database, if it is complete that local channel information table reads, EP (end of program).
(1.3) network video information extracts
Network video information extracts roughly flow process as shown in Figure 5.Because network video information extracts website, have a plurality ofly, and the composition of a plurality of web video information is not quite similar, but roughly be summed up, comprises three parts, i.e. video self-information, video classification information and video creation information.The video self-information generally comprises video title, video presentation and video tab three parts.The video classification information generally comprises subordinate channel, visual classification and affiliated special edition, and the different web sites this type of information is slightly different.Video creation information comprises video uploader information and video uplink time.Consider that extracting data comprises as much as possible, so information extraction comprises three category informations:
A) video essential information: comprise video title, video presentation information and video tab information;
B) video classification information: comprise the affiliated special edition of video subordinate channel, visual classification and video;
C) video creation information: comprise video uploader information and video uplink time.
Different video Website page Organization of Data form difference, therefore must formulate extracting rule to each website, the formulation of extracting rule generally obtains by analyzing video playback page source file, according to different classes of information labels and descriptor, judge whether information is this classification information herein.For example the description keyword of title generally has title, and video information is described keyword generally description etc.For some websites, the different classes of page of the different times page also may there are differences, and this must go dynamic adjustment in the process of extracting.Therefore, in formulating the extracting rule process, also need to consider some special circumstances, so that information extraction is accurate as much as possible.
(2) the high in the clouds service interface is realized
(2.1) video true address extraction module
Due to the video true address of video website, all through encrypting, be in order to prevent direct download like this.The video true address deciphering rule of video website, generally all be embedded in the flash player of website, if play the different web sites video, removes to call different players, and it is bad that the user experiences meeting like this.So must analyze and obtain the Internet video true address, play online with the unification that realizes the Internet video client.
Each large video website is all encrypted the video true address, and encryption rule is different, therefore must formulate different obtain manners to each video website.Video true address extracting mode commonly used has two kinds at present, and the first is to analyze source code and the cryptographic algorithm of video webpage, draws the true address of video, the advantage of this mode is that resolution speed is fast, the video details be can obtain, but versatility and analytic process complexity do not had.
(2.2) TV guide enquiry module
Programme distant information is different from network video information, and it has real-time and the factor such as total amount is little, due to the mode of calling in system, has multiplely again, does not therefore take the retrieval mode of traditional search engines, but directly utilizes database to build query interface.In the process of inquiry, the Android client can send the inquiry request of subsidiary parameter to server, and query argument comprises two parts at present, i.e. searching keyword and inquiry mode.Searching keyword is the keyword of program search, inquiry mode is to inquire about in which way, and three kinds of inquiry modes are arranged in system, and a kind of is according to keyword query, the second is the advance notice of inquiry current time broadcast program, and the third is the TV guide in a current week of program channel of inquiry.TV guide inquires about that roughly step is as follows:
1. extraction query argument.Request to the Android client is resolved, and obtains two keywords of searching keyword and inquiry mode, and searching keyword is carried out to preliminary treatment;
2. judge whether searching keyword is empty, judges if it is empty whether the inquiry mode keyword is c, if, inquire about the programme information that current slot broadcasts, according to time sequencing, return the XML file to the Android client, otherwise EP (end of program).
3. if searching keyword is not empty, judge inquiry mode, if s, inquiry packet contains the programme information of keyword, and returns to client by the time; If a, judge that if whether searching keyword is channel designation, if return to all programme distant informations in this current week of channel, and returns to the Android client, in chronological order otherwise EP (end of program).
(2.3) Internet video enquiry module
The inquiry packet includes network query video of Internet video and TV guide associated video are recommended, and because program commending adopts the content-based way of recommendation, so program commending can be regarded the Internet video inquiry that a keyword is programme information as.The step of Internet video inquiry comprise to keyword carry out preliminary treatment, to keyword participle, search index, result is sorted, is returned the several parts of video information XML file.
1. keyword preliminary treatment.This process is removed the ignore character in keyword, such as characters such as spaces, prevents from affecting Search Results.
2. keyword participle.Participle is exactly that a long section sentence is divided into to independent word, comprises two kinds of Chinese word segmentation and English string segmentations.English string segmentation is to take space as benchmark, fairly simple.Chinese word segmentation is that a Chinese character sequence is cut into to independent one by one vocabulary, in system, adopts the forward air exercise matching algorithm based on dictionary to carry out participle.
3. search index.In fact this process comprises two processes.When the Internet grabs this locality, can be indexed operation when network video information to video information, utilize Lucene to set up inverted index.When the process of inquiry, utilize the Retrieval Interface of Solr to be inquired about index.
4. result is sorted.This process uses the sort result of Solr, is generally to be sorted according to the keyword degree of correlation.
5. information is returned.Because the video retrieved is video ID, therefore need Query Database, obtain detailed video information, according to displaying contents, generate the XML file.
(2.4) authentication module
Authentication is the subscriber authentication relevant portion, comprises that the user registers, user's login, password are given for change etc.Consider the factors such as current network security, also have password encryption and decryption portion.
1. password encryption deciphering
Because internet industry is more flourishing now, because factors such as interests, the lawless person of user profile occurred much stealing, and the accounts information of website generally all is stored on server database, if User Information Database is obtained by the lawless person, will cause huge loss to website and user.Therefore for fear of the generation of this type of thing, take in system password is encrypted to measure, even therefore database is cracked by the lawless person, also can't obtain user cipher.
At first the password encryption process needs password string is carried out to preliminary treatment, removes from beginning to end and is judged behind space, if not empty, calls the correlation function storehouse password string is carried out to md5 encryption, and the string obtained after encrypting is returned.Deciphering is exactly an inverse process, calls decryption function and carries out the MD5 deciphering, and the password string obtained is returned.
2. user's registration
User's registration is actually the operating process of a database, being about to user profile stores in database, but, before storage, need carry out preliminary treatment to related data, comprise the information preliminary treatment, judge whether user name exists, password is encrypted to storage etc.Wherein the information preliminary treatment comprises and removes some garbages, for example removes the first space.Judging whether user name exists needs Query Database operation.It externally has two interfaces, and whether one exist for user name, and one is user's registration interface.
3. user's login
In fact user login information can regard the operation of data query as, user name and password are verified, if with database in user information database information matches return to relevant information.This process comprises the md5 encryption two parts to the preliminary treatment of information and password.It is in order to reduce the data base querying number of times that password is carried out to md5 encryption.
4. password is given for change
Password is given for change and is logined similarly with the user, is the operation of a Query Database, to the checking of user name, password protection problem and password protection answer, if with user information database in information be complementary, return to user cipher.
(3) SmartClient is realized
As user's operating terminal part, the Android client provides the various interface of user oriented operation, such as login, registration, remote control, inquiry etc.The design quality of client end interface directly affects the user to be experienced, and therefore design must be rationally.A client logic functional module part relies on remote server and realizes, a part provides to realize by self module, cooperation mutually between each module of system, and the common operation of client and server, form whole intelligent remote control system.
Whole client end interface design as shown in Figure 6, a good operation interface of design can bring different experience to the user, the Android client end interface comprises five major parts, i.e. initialization interface, authentication related interfaces, client main body interface, TV guide related interfaces and Internet video related interfaces.Various piece is assembled with function, the integral body of respectively doing for oneself, and five major parts join together to form whole intelligent distant control client.That the remote control scene that many scenes infrared remote-control operation interface can be selected for the user have is default, video display, music and four kinds of patterns of standard, (a) be default remote control interface, (b) be video display scene remote control interface, (c) being music scene remote control interface, is (d) standard remote control interface.
The inside of client realizes depending on that the cooperation of each functional module completes, functional module is as the logic realization part of Android client, five major parts be can be divided into, equipment Inspection module, authentication module, function of infrared remote control module, network transmission module and data operation modules comprised.Modules has comprised again the functional unit of a lot of segmentations, as shown in Figure 7.
(3.1) equipment Inspection module
The equipment Inspection module application is at the initial phase of equipment, because client is moved the support that needs some equipment such as network, external storage card, therefore when device start, whether this module meeting detection system related hardware exists, whether equipment state reaches demand etc.
1.SD card detects
Client operation generation information and backup and reduction operation etc. all need place to deposit, and in program, acquiescence leaves on external SD card, during the program operation, can whether external storage card be arranged checkout equipment, if do not have, can the reminding user backup etc. operation may be failed.
2. network detects
Network detects and comprises many-side, and whether whether equipment has relevant device, and can network, the type of networking etc.The type action that detects networking is reminding user, and some operation may expend flow very much, if use the SIM card online, should be noted that operation.
(3.2) authentication module
Authentication is the module of a cooperation, need to use network transmission module, and user's login, user's registration and password are given the process that can regard an information on client as for change.Send to server end by gathering relevant information, the result that server is returned is judged, does next step operation.Wherein user log-in block also can need the cooperation of data operation modules, and to the account of having logined, client has record, when the user operates again, can provide prompting, helps the user to input fast account number, saves user time.
(3.3) function of infrared remote control module
The function of infrared remote control module relates to bluetooth transceiving data and JNI Interface realization two parts.The bluetooth transceiving data is the less radio-frequency function that the Android system is supported, is mainly to turn infrared repeater with bluetooth to carry out alternately herein.Writing of JNI interface is that the data that bluetooth is received are processed.
1. bluetooth transceiving data
Due to the not infrared driving of burning of Android system default, so the mobile terminal based on Android can't be received and dispatched infrared data, the therefore also direct infrared home equipment of remote control.Consider that the mobile terminal based on Android all supports Bluetooth function, so realization for the RTV remote television playing function, take mobile terminal to turn infrared repeater to bluetooth and send the bluetooth order, bluetooth turns infrared repeater to be processed the blue-teeth data received, and then sends the method that the infrared command RTV remote television is play.
2.JNI Interface realization
JNI is the abbreviation of Java Native Interface, and it can allow the Java code carry out alternately with the code of other language.The purpose of its design is to allow other codes can be written as the form of dynamic base, for Java, call, due to Android program development use is Java language, therefore it is not all right will calling the data processing module that the C language writes, must utilize JNI that data processing module is packaged into to dynamic base, quote in the Android program.Data processing module herein calls the infrared remote control command learning phase at mobile terminal, detailed process is: mobile terminal first utilizes Bluetooth function to turn infrared repeater to bluetooth and sends the study order, the guiding repeater gathers the infrared control order of infrared home equipment, then repeater utilizes Bluetooth function to send it back mobile terminal the data that collect, and mobile terminal receives after the data that repeater beams back and calls the packaged dynamic base of JNI data are processed and preserved.The data of preserving are that mobile terminal turns to bluetooth the order that infrared repeater sends during for the infrared home equipment of remote control.
(3.4) data operation modules
Data manipulation is one of nucleus module of client, and other module sections have also all called data operation modules.In system, data operation modules comprises four parts, i.e. local data base operation, ordinary file operation, XML parse operation and SharePreferences file operation.
1. local SQLite database manipulation
At the running of client, can produce much more well-regulated data, for example user login information, user's Query Information etc.If employing plain text form, read and condition query all can be cumbersome, if store on the remote server data storehouse, network overhead can increase, and these data again not necessarily.Therefore adopt the database of this lightweight of SQLite, it designs for embedded environment, can operate on development board, and it is very little to take resource, supports SQL statement commonly used etc.Canned data is the data that produce in the certain operations process, comprises log-on message, user's program inquiry, Internet video search keyword information of user etc.The operation related to is mainly reading and writing data.
2.XML resolve
XML resolves very common in various application, no exception in Android.The XML resolver that the Android platform is commonly used has three kinds of SAX resolver, DOM resolver and PULL resolvers.The SAX resolver is a kind of resolver based on event, and its advantage is that resolution speed is fast, to take resource less.The DOM resolver is based on the resolver of the set of tree structure node or information segment, and because DOM stores with tree structure in internal memory, therefore the efficiency of retrieval and renewal can be higher.But, for larger file, load and resolve relatively cost source.Operational mode and the SAX of PULL resolver are similar, are based on the pattern of event, its advantage be small volume and less weight, resolution speed fast, be simple and easy to use.In system, adopt the SAX resolver to complete the parsing of XML document, by resolving the deposit data of regularization in internal memory, call for other modules.
3. ordinary file operation
The ordinary file operation comprises file read-write, compression, decompression and copy.These operations are mainly used for restoring system backup.System backup operation meeting is saved in the program operation information in mobile phone on external SD card, and these files are packed, on uploading onto the server.The system reducing operation is that the compressed file on server is downloaded, and decompresses, and then copies in mobile phone.
4.SharePreferences file operation
SharePreferences is a kind of storage mode that Android provides, and is based on XML file storage key Value Data, is specially adapted to the preservation of software configuration parameter.In system, be for storing some personal settings information.The Android system provides the SharedPreferences class to carry out the operation of SharePreferences file.

Claims (10)

1. the online query of the Internet video of a movement-based terminal and TV programme and control method for playing back, it is extracted by all kinds of video source and the television schedule information on network, and realize the server end inquiry of video information and the online broadcasting of video by mobile terminal, and realize the inquiry of TV programme and control television for play, the method specifically comprises:
Network video information extracts, and is specially: server end is formulated extracting rule and is taked unified data structure to extract and store the video information on the internet video website;
The Internet video true address extracts, be specially: server end utilizes the video source web page address in video information, obtain the video source webpage source data through decompression and Unified coding, again according to the video ID in video information and video source webpage source data, extract the video source true address of video website, and take unified data structure to be stored video true address information;
Television schedule information extracts: server end, according to the layout of TV guide website and webpage data, is formulated extracting rule, extracts programme distant information and the information of extracting is stored;
The Internet video information extraction that described mobile terminal is stored by server end as client is carried out online query and is obtained video information, play online by described video true address information, by the programme distant information extracted, carry out online query and remote-controlled television set carries out the TV programme broadcasting.
2. the online query of the Internet video of a kind of movement-based terminal according to claim 1 and TV programme and control method for playing back, it is characterized in that, described programme distant information extracts and is specially: be written into the channel information table, read a line, the link information of a channel, processed the information read at every turn, the schedule information page of a synthetic every day, after download, resolved, then input database, complete programme distant information and extract.
3. the online query of the Internet video of movement-based terminal according to claim 1 and 2 and TV programme and control method for playing back, it is characterized in that, the network video information of described extraction comprises the video essential information, video classification information and video creation information, wherein, described video essential information comprises video title, video presentation and video tab, described video classification packets of information is drawn together subordinate channel, visual classification and affiliated special edition, and described video creation information comprises video uploader information and video uplink time.
4. according to the Internet video of the described a kind of movement-based terminal of any one in claim 1-3 and online query and the control method for playing back of TV programme, it is characterized in that, the online query of described programme distant information comprises:
Extract query argument, the request of inquiring client terminal is resolved, obtain searching keyword and inquiry mode keyword;
Judge that whether searching keyword is empty, judge if it is empty the inquiry mode keyword, and corresponding described inquiry mode keyword is returned to client by corresponding programme information; If searching keyword is not empty, further judge inquiry mode, and processed according to inquiry mode, comprise inquiry packet is returned to client containing the programme information of keyword by the time, or return to all programme distant informations in inquiry current week of channel and return in chronological order client.
5. according to the Internet video of the described a kind of movement-based terminal of any one in claim 1-4 and online query and the control method for playing back of TV programme, it is characterized in that, the online query of described network video information comprises:
The keyword preliminary treatment, removed the ignore character in the keyword of inquiry, to prevent from affecting Search Results;
The keyword participle, be about to long section sentence and be divided into independent word, comprises two kinds of Chinese word segmentation and English string segmentations;
Search index, when the Internet grabs this locality, can be indexed operation when network video information to video information, utilizes Lucene to set up inverted index, when the process of inquiry, utilizes the Retrieval Interface of Solr to be inquired about index;
Result is sorted, according to the keyword degree of correlation, result for retrieval is sorted;
Information is returned, and, according to the video ID retrieved, Query Database, obtain detailed video information, according to displaying contents, generates the XML file, turns back to client.
6. according to the Internet video of the described a kind of movement-based terminal of any one in claim 1-5 and online query and the control method for playing back of TV programme, it is characterized in that, described method also comprises the step of authentication, for the identity to client before online query and broadcasting, is authenticated.
7. according to the Internet video of the described a kind of movement-based terminal of any one in claim 1-6 and online query and the control method for playing back of TV programme, it is characterized in that, for the remote control interface of described mobile terminal remote-controlled television set, comprise a plurality of scene interfaces that can mutually switch.
8. the online query of the Internet video of a movement-based terminal and TV programme and broadcasting control system, it is extracted by all kinds of video source and the television schedule information on network, and realize the server end inquiry of video information and the online broadcasting of video by mobile terminal, with the inquiry that realizes TV programme control television for play, this system specifically comprises:
The network video information extraction module comprises: server end is formulated extracting rule and is taked the video information on unified data structure storage internet video website;
Internet video true address extraction module, comprise: server end utilizes the video source web page address in video information, obtain the video source webpage source data through decompression and Unified coding, again according to the video ID in video information and video source webpage source data, extract the video source true address of video website, and take unified data structure to be stored video true address information;
The television schedule information extraction module comprises: server end, according to the layout of TV guide website and webpage data, is formulated extracting rule, extracts programme distant information and the information of extracting is stored;
The Internet video information extraction that described mobile terminal is stored by server end as client is carried out online query and is obtained video information, play online by described video true address information, by the programme distant information extracted, carry out online query and remote-controlled television set carries out the TV programme broadcasting.
9. the online query of the Internet video of a kind of movement-based terminal according to claim 8 and TV programme and broadcasting control system, it is characterized in that, described programme distant information extraction module is for being written into the channel information table, read a line at every turn, the information read is processed, and the schedule information page of a synthetic every day, resolved after download, then input database, complete programme distant information and extract;
Described network video information extraction module is for extracting the video essential information, video classification information and video creation information, wherein, described video essential information comprises video title, video presentation and video tab, described video classification packets of information is drawn together subordinate channel, visual classification and affiliated special edition, and described video creation information comprises video uploader information and video uplink time.
10. the Internet video of a kind of movement-based terminal according to claim 8 or claim 9 and online query and the broadcasting control system of TV programme, it is characterized in that, described system also comprises program alarm clock calling module, for inquiry wanted to watch the setting of the programs alarm clock calling.
CN201310308593.3A 2013-07-22 2013-07-22 Internet video and the online query of TV programme and control method for playing back and system Active CN103428525B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310308593.3A CN103428525B (en) 2013-07-22 2013-07-22 Internet video and the online query of TV programme and control method for playing back and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310308593.3A CN103428525B (en) 2013-07-22 2013-07-22 Internet video and the online query of TV programme and control method for playing back and system

Publications (2)

Publication Number Publication Date
CN103428525A true CN103428525A (en) 2013-12-04
CN103428525B CN103428525B (en) 2016-08-31

Family

ID=49652600

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310308593.3A Active CN103428525B (en) 2013-07-22 2013-07-22 Internet video and the online query of TV programme and control method for playing back and system

Country Status (1)

Country Link
CN (1) CN103428525B (en)

Cited By (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103678694A (en) * 2013-12-26 2014-03-26 乐视网信息技术(北京)股份有限公司 Method and system for establishing reverse index file of video resources
CN103716720A (en) * 2013-12-26 2014-04-09 乐视网信息技术(北京)股份有限公司 Data adaptation method and system of video data
CN103778256A (en) * 2014-02-26 2014-05-07 赛特斯信息科技股份有限公司 Method for realizing extraction of Internet audiovisual programs based on context
CN103796046A (en) * 2013-12-24 2014-05-14 Tcl集团股份有限公司 Video source address detection method and device
WO2016000563A1 (en) * 2014-07-03 2016-01-07 U3D有限公司 Method for unifying tool and information coming from multiple information sources, and computer program product and device using same
CN105578306A (en) * 2015-12-24 2016-05-11 深圳创维-Rgb电子有限公司 Method and system for the aged to control smart TV and smart TV
CN105634791A (en) * 2015-07-05 2016-06-01 东莞康佳电子有限公司 Cloud intelligent control system based on Android intelligent liquid crystal display television platform
CN105825143A (en) * 2016-03-07 2016-08-03 乐视移动智能信息技术(北京)有限公司 Application program data writing and reading method and device
CN103686452B (en) * 2013-12-06 2017-02-08 北京普瑞众合国际科技有限公司 Addition processing method for video associated information
US9626157B2 (en) 2014-07-03 2017-04-18 Able World International Limited Method of projecting a workspace and system using the same
CN106792696A (en) * 2017-01-11 2017-05-31 揭军平 The access management method of intelligent display device two-dimensional code scanning, apparatus and system
US9727391B2 (en) 2014-07-08 2017-08-08 Able World International Limited Method for performing task on unified information units in a personal workspace
US9792092B2 (en) 2014-07-03 2017-10-17 Able World International Limited Method of unifying information and tool from a plurality of information sources and computer program product and matterizer using the same
CN107396189A (en) * 2017-08-17 2017-11-24 四川长虹电器股份有限公司 System and method based on internet upgrading OSD
CN108347471A (en) * 2018-01-02 2018-07-31 武汉斗鱼网络科技有限公司 Obtain the method, apparatus and system of third party's user information
CN108491524A (en) * 2018-03-27 2018-09-04 深圳创维-Rgb电子有限公司 Video pushing method, device and computer readable storage medium
CN109600625A (en) * 2018-12-20 2019-04-09 深圳创维-Rgb电子有限公司 A kind of program searching method, device, equipment and medium
CN111176650A (en) * 2018-11-09 2020-05-19 阿里巴巴集团控股有限公司 Parser generation method, search method, server, and storage medium
CN112399210A (en) * 2019-08-13 2021-02-23 青岛海尔多媒体有限公司 Multimedia playing equipment and control method and device thereof
US11360828B2 (en) 2014-07-08 2022-06-14 Able World International Limited Method for combining unified matters in personal workspace and system using the same
CN115426510A (en) * 2022-08-24 2022-12-02 北京嗨动视觉科技有限公司 Programming method, programming device, electronic equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030084461A1 (en) * 2001-10-25 2003-05-01 Khoi Hoang Method and apparatus for transmitting non-VOD services
CN101521797A (en) * 2009-03-11 2009-09-02 深圳市融创天下科技发展有限公司 Digital television content transmitting system
CN101969546A (en) * 2009-09-30 2011-02-09 突触计算机系统(上海)有限公司 Method and device for providing electric program, publishing and presenting advertisement
CN102111674A (en) * 2010-12-22 2011-06-29 深圳市五巨科技有限公司 System and method for playing on-line video by mobile terminal and mobile terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030084461A1 (en) * 2001-10-25 2003-05-01 Khoi Hoang Method and apparatus for transmitting non-VOD services
CN101521797A (en) * 2009-03-11 2009-09-02 深圳市融创天下科技发展有限公司 Digital television content transmitting system
CN101969546A (en) * 2009-09-30 2011-02-09 突触计算机系统(上海)有限公司 Method and device for providing electric program, publishing and presenting advertisement
CN102111674A (en) * 2010-12-22 2011-06-29 深圳市五巨科技有限公司 System and method for playing on-line video by mobile terminal and mobile terminal

Cited By (30)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103686452B (en) * 2013-12-06 2017-02-08 北京普瑞众合国际科技有限公司 Addition processing method for video associated information
CN103796046A (en) * 2013-12-24 2014-05-14 Tcl集团股份有限公司 Video source address detection method and device
CN103796046B (en) * 2013-12-24 2018-08-31 Tcl集团股份有限公司 A kind of video source address detection method and device
CN103716720A (en) * 2013-12-26 2014-04-09 乐视网信息技术(北京)股份有限公司 Data adaptation method and system of video data
CN103678694A (en) * 2013-12-26 2014-03-26 乐视网信息技术(北京)股份有限公司 Method and system for establishing reverse index file of video resources
CN103778256B (en) * 2014-02-26 2017-02-01 赛特斯信息科技股份有限公司 Method for realizing extraction of Internet audiovisual programs based on context
CN103778256A (en) * 2014-02-26 2014-05-07 赛特斯信息科技股份有限公司 Method for realizing extraction of Internet audiovisual programs based on context
WO2016000563A1 (en) * 2014-07-03 2016-01-07 U3D有限公司 Method for unifying tool and information coming from multiple information sources, and computer program product and device using same
US9626157B2 (en) 2014-07-03 2017-04-18 Able World International Limited Method of projecting a workspace and system using the same
US9792092B2 (en) 2014-07-03 2017-10-17 Able World International Limited Method of unifying information and tool from a plurality of information sources and computer program product and matterizer using the same
US9934007B2 (en) 2014-07-03 2018-04-03 Able World International Limited Method for operating tool in working environment and machine using such method
US9727391B2 (en) 2014-07-08 2017-08-08 Able World International Limited Method for performing task on unified information units in a personal workspace
US11360828B2 (en) 2014-07-08 2022-06-14 Able World International Limited Method for combining unified matters in personal workspace and system using the same
CN105634791A (en) * 2015-07-05 2016-06-01 东莞康佳电子有限公司 Cloud intelligent control system based on Android intelligent liquid crystal display television platform
CN105578306A (en) * 2015-12-24 2016-05-11 深圳创维-Rgb电子有限公司 Method and system for the aged to control smart TV and smart TV
CN105825143A (en) * 2016-03-07 2016-08-03 乐视移动智能信息技术(北京)有限公司 Application program data writing and reading method and device
CN106792696A (en) * 2017-01-11 2017-05-31 揭军平 The access management method of intelligent display device two-dimensional code scanning, apparatus and system
CN106792696B (en) * 2017-01-11 2023-04-07 揭军平 Access management method, device and system for two-dimensional code scanning for intelligent display equipment
CN107396189A (en) * 2017-08-17 2017-11-24 四川长虹电器股份有限公司 System and method based on internet upgrading OSD
CN108347471B (en) * 2018-01-02 2021-07-23 武汉斗鱼网络科技有限公司 Method, device and system for acquiring third-party user information
CN108347471A (en) * 2018-01-02 2018-07-31 武汉斗鱼网络科技有限公司 Obtain the method, apparatus and system of third party's user information
US11265621B2 (en) 2018-03-27 2022-03-01 Shenzhen Skyworth-Rgb Electronic Co., Ltd. Video push method, device and computer-readable storage medium
CN108491524A (en) * 2018-03-27 2018-09-04 深圳创维-Rgb电子有限公司 Video pushing method, device and computer readable storage medium
CN111176650A (en) * 2018-11-09 2020-05-19 阿里巴巴集团控股有限公司 Parser generation method, search method, server, and storage medium
CN111176650B (en) * 2018-11-09 2023-04-18 阿里巴巴集团控股有限公司 Parser generation method, search method, server, and storage medium
CN109600625A (en) * 2018-12-20 2019-04-09 深圳创维-Rgb电子有限公司 A kind of program searching method, device, equipment and medium
CN109600625B (en) * 2018-12-20 2021-06-01 深圳创维-Rgb电子有限公司 Program searching method, device, equipment and medium
CN112399210A (en) * 2019-08-13 2021-02-23 青岛海尔多媒体有限公司 Multimedia playing equipment and control method and device thereof
CN115426510A (en) * 2022-08-24 2022-12-02 北京嗨动视觉科技有限公司 Programming method, programming device, electronic equipment and storage medium
CN115426510B (en) * 2022-08-24 2024-02-02 北京嗨动视觉科技有限公司 Program arrangement method, program arrangement device, electronic apparatus, and storage medium

Also Published As

Publication number Publication date
CN103428525B (en) 2016-08-31

Similar Documents

Publication Publication Date Title
CN103428525B (en) Internet video and the online query of TV programme and control method for playing back and system
CN111901674B (en) Video playing control method and device
CN103986787B (en) The method and system that automatic acquisition video upgrades
US10333767B2 (en) Methods, systems, and media for media transmission and management
US10515142B2 (en) Method and apparatus for extracting webpage information
US20120317136A1 (en) Systems and methods for domain-specific tokenization
US20130014014A1 (en) User interface with available multimedia content from multiple multimedia websites
CN106489150A (en) For recognize and preserve media asset a part system and method
JP6806762B2 (en) Methods and devices for pushing information
CN102497452B (en) Online streaming media service method based on embedded terminal
CN101715104B (en) Network interaction reading system and method for user and content management
CN104820668A (en) Compression of serialized data for communication from a client-side application
CN106649446B (en) Information pushing method and device
CN104025084A (en) Historical browsing session management
KR20150083336A (en) Server, method for providing service thereof, display device and method for displaying thereof
CN104284250A (en) Video processing method and device, server and client device
CN104321743A (en) Method and system for developing applications for consulting content and services on a telecommunications network
WO2006009414A1 (en) Extended package scheme to support application program downloading, and system and method for application program service using the same
US20130002540A1 (en) Operation information generation device
CN101645786B (en) Method for issuing blog content and business processing device thereof
CN104270656A (en) Pushed message delay processing method and system, intelligent receiving terminal and mobile terminal
CN112449250B (en) Method, device, equipment and medium for downloading video resources
CN105122829B (en) The pertinent program information for being used for broadcast media content and streaming medium content is provided
CN103957460A (en) Method and device for generating television receiving terminal desktop application
CN101888470A (en) Device and method for providing general program guide and terminal device and system thereof

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant