CN105335484A - Digital satellite receiver database rapid update method - Google Patents

Digital satellite receiver database rapid update method Download PDF

Info

Publication number
CN105335484A
CN105335484A CN201510662932.7A CN201510662932A CN105335484A CN 105335484 A CN105335484 A CN 105335484A CN 201510662932 A CN201510662932 A CN 201510662932A CN 105335484 A CN105335484 A CN 105335484A
Authority
CN
China
Prior art keywords
satellite receiver
digital satellite
database
parameter
parameters
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
Application number
CN201510662932.7A
Other languages
Chinese (zh)
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.)
Sichuan Changhong Electric Co Ltd
Original Assignee
Sichuan Changhong Electric Co Ltd
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 Sichuan Changhong Electric Co Ltd filed Critical Sichuan Changhong Electric Co Ltd
Priority to CN201510662932.7A priority Critical patent/CN105335484A/en
Publication of CN105335484A publication Critical patent/CN105335484A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
    • G06F16/972Access to data in other repository systems, e.g. legacy data or dynamic Web page generation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/23Updating

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention relates to a digital satellite receiver; an existing digital satellite receiver uses long time to update the database, and manually modifying program parameters for updating the database may easily cause errors; the novel digital satellite receiver database rapid update method comprises the following steps: firstly, a system parses webpage source codes of a program website so as to obtain flag words of the to-be-updated parameters; secondarily, the system obtains line codes of the line in which the flag words are located according to the flag words, and obtains the needed parameters according to the flag words; then, the system writes the obtained parameters into an XML file; finally, the digital satellite receiver obtains the XML file, parses the parameters, assigns the parameters to the digital satellite receiver database, and stores the database in a digital satellite receiver FLASH. The digital satellite receiver rapid update method is suitable for updating the digital satellite receiver database.

Description

The method that digital satellite receiver database upgrades fast
Technical field
The present invention relates to digital satellite receiver, particularly the database update of digital satellite receiver.
Background technology
Digital satellite receiver is a kind of widely used Digital TV Receiving decoding device, and a receiver can connect multiple antenna by devices such as DISEQC, receives the program of multiple satellite, so transponder is many, program is many.It is as follows that current satellite receiver program database upgrades the difficulty run into:
The number of satellites that can receive is many, and transponder number is many, and program number is many.
Carry out program searching by receiver and carry out more new database, consuming time very long.
Manual modification or add satellite/transponder/program parameter and carry out more new database, efficiency is not high and easily mistake.
Summary of the invention
Technical matters to be solved by this invention, is just to provide a kind of digital satellite receiver to solve digital satellite receiver database update length consuming time in prior art, and manual modification program parameter is the new database problem of easily makeing mistakes more.
The present invention solve the technical problem, and the technical scheme of employing is, the method that digital satellite receiver database upgrades fast is characterized in that, comprises following step:
The web page source code of step 1, system analysis program site, therefrom obtains the banner word of required undated parameter;
The line code that step 2, system are expert at according to banner word acquisition banner word, then obtain desired parameters according to banner word;
Step 3, system will obtain parameter read-in XML file;
Step 4, digital satellite receiver obtain XML file, analytic parameter, and by parameter assignment to digital satellite receiver database, and preserve the FLASH of database to digital satellite receiver.
Concrete, in described step 1, required undated parameter at least comprises satellite information, transponder information and programme information.
Concrete, described satellite information at least comprises satellite designation and longitude thereof.
Concrete, described transponder information at least comprises frequency, symbol rate, polarization mode, FEC, tsid, originalnetworkid.
Concrete, described programme information at least comprises programm name, serviceid, video PID, video type, PCRPID, Audio PID, audio types and sound accompanying language.
Concrete, in described step 4, digital satellite receiver obtains XML file by serial ports, internet or USB mode.
The invention has the beneficial effects as follows: the present invention passes through analyzing web page data on computers, from the source code of large length, required content that undated parameter is expert at is obtained by banner word, thus only analysis row content carries out parsing acquisition desired parameters, can fast resolving source code, undated parameter needed for quick obtaining; After obtaining corresponding satellite/transponder/program parameter, export according to the form xml specified, save as the local file on hard disc of computer or USB, then Set Top Box is by the mode such as serial ports, internet, USB, obtain this file content, then resolve content acquisition satellite/transponder/program parameter according to specified format xml, corresponding for parameter assignment to receiver database, preserve the FLASH of database to digital satellite receiver, the method can improve the efficiency that program database upgrades greatly.
Accompanying drawing explanation
Fig. 1 is the process flow diagram of digital satellite receiver database update in the embodiment of the method that upgrades fast of digital satellite receiver database of the present invention.
Embodiment
Technical scheme of the present invention is described in detail below in conjunction with drawings and Examples:
The present invention is directed to digital satellite receiver database update length consuming time in prior art, manual modification program parameter is the new database problem of easily makeing mistakes more, a kind of method that digital satellite receiver database upgrades fast is provided, first, the web page source code of system analysis program site, therefrom obtains the banner word of required undated parameter; Secondly, the line code that system is expert at according to banner word acquisition banner word, then obtain desired parameters according to banner word; Then, system will obtain parameter read-in XML file; Finally, digital satellite receiver obtains XML file, analytic parameter, and by parameter assignment to digital satellite receiver database, and preserve the FLASH of database to digital satellite receiver.The present invention passes through analyzing web page data on computers, from the source code of large length, required content that undated parameter is expert at is obtained by banner word, thus only analyze row content and carry out parsings acquisition desired parameters, can fast resolving source code, undated parameter needed for quick obtaining; After obtaining corresponding satellite/transponder/program parameter, export according to the form xml specified, save as the local file on hard disc of computer or USB, then Set Top Box is by the mode such as serial ports, internet, USB, obtain this file content, then resolve content acquisition satellite/transponder/program parameter according to specified format xml, corresponding for parameter assignment to receiver database structure body, preserve database to FLASH, the method can improve the efficiency that program database upgrades greatly.
Embodiment
General thought of the present invention is the web data by analyzing program site on computers, obtain corresponding satellite/transponder/program parameter, export according to the form of specifying (xml), save as the local file on hard disc of computer or USB, then Set Top Box is by the mode such as serial ports, internet, USB, obtain this file content, resolve content according to specified format (xml) again and obtain satellite/transponder/program parameter, corresponding for parameter assignment to receiver database, preserve the FLASH of database to digital satellite receiver.The method can improve the efficiency that program database upgrades greatly.
Concrete database update flow process as shown in Figure 1.
First, system obtains the webpage of program, resolves program web page source code, obtains the banner word of all kinds of required undated parameter.
Wherein, the parameter of acquisition generally includes:
Satellite: title/longitude;
Transponder: frequency/symbol rate/polarization mode/FEC/tsid/originalnetworkid;
Program: programm name/serviceid/ video PID/ video type/PCRPID/ Audio PID/audio types/sound accompanying language etc.
Then, obtain the content of the line code that banner word is expert at according to banner word, the parameter needed for obtaining according to banner word again in this content.From the source code of large length, obtain required content that undated parameter is expert at by banner word, thus only analyze row content and carry out parsing acquisition desired parameters, can fast resolving source code, undated parameter needed for quick obtaining
Secondly, the parameter obtained is write xml file by form by system.
Concrete, xml content format is as follows:
Finally, digital satellite receiver accesses xml file content by the mode such as serial ports, internet, USB, and resolution data obtains satellite/transponder/program parameter, by parameter assignment to receiver database, and preserves the FLASH of database to digital satellite receiver.
Wherein, the parameter array parsed comprises:
Satellite: title/longitude;
Transponder: frequency/symbol rate/polarization mode/FEC/tsid/originalnetworkid;
Program: programm name/serviceid/ video PID/ video type/PCRPID/ Audio PID/audio types/sound accompanying language etc.
The method that digital satellite receiver database provided by the invention upgrades fast, its cardinal principle adopts easy software to obtain web data spanned file, receiver file reading obtains parameter assignment to database, manually add the mode of amendment or searching programs before substituting, thus promote the efficiency of database update greatly.

Claims (6)

1. the method that upgrades fast of digital satellite receiver database, is characterized in that, comprise following step:
The web page source code of step 1, system analysis program site, therefrom obtains the banner word of required undated parameter;
The line code that step 2, system are expert at according to banner word acquisition banner word, then obtain desired parameters according to banner word;
Step 3, system will obtain parameter read-in XML file;
Step 4, digital satellite receiver obtain XML file, analytic parameter, and by parameter assignment to digital satellite receiver database, and preserve the FLASH of database to digital satellite receiver.
2. the method that upgrades fast of digital satellite receiver database according to claim 1, it is characterized in that, in described step 1, required undated parameter at least comprises satellite information, transponder information and programme information.
3. the method that upgrades fast of digital satellite receiver database according to claim 2, it is characterized in that, described satellite information at least comprises satellite designation and longitude thereof.
4. the method that upgrades fast of digital satellite receiver database according to claim 2, it is characterized in that, described transponder information at least comprises frequency, symbol rate, polarization mode, FEC, tsid, originalnetworkid.
5. the method that upgrades fast of digital satellite receiver database according to claim 2, it is characterized in that, described programme information at least comprises programm name, serviceid, video PID, video type, PCRPID, Audio PID, audio types and sound accompanying language.
6. the method that upgrades fast of digital satellite receiver database according to claim 1, it is characterized in that, in described step 4, digital satellite receiver obtains XML file by serial ports, internet or USB mode.
CN201510662932.7A 2015-10-14 2015-10-14 Digital satellite receiver database rapid update method Pending CN105335484A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510662932.7A CN105335484A (en) 2015-10-14 2015-10-14 Digital satellite receiver database rapid update method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510662932.7A CN105335484A (en) 2015-10-14 2015-10-14 Digital satellite receiver database rapid update method

Publications (1)

Publication Number Publication Date
CN105335484A true CN105335484A (en) 2016-02-17

Family

ID=55286011

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510662932.7A Pending CN105335484A (en) 2015-10-14 2015-10-14 Digital satellite receiver database rapid update method

Country Status (1)

Country Link
CN (1) CN105335484A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112486055A (en) * 2020-10-29 2021-03-12 上海航天控制技术研究所 Satellite remote control data on-site retention method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080235262A1 (en) * 2007-03-21 2008-09-25 Holm Aaron H Digital file management system with file mapping for high resolution and other images
CN101409804A (en) * 2008-11-13 2009-04-15 四川长虹电器股份有限公司 Method for automatically updating search parameter of digital satellite broadcast system
CN102033870A (en) * 2009-09-24 2011-04-27 中国移动通信集团公司 Data searching method and device
CN102238428A (en) * 2010-04-29 2011-11-09 鸿富锦精密工业(深圳)有限公司 Set top box (STB) and method for rapidly constructing television program table

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080235262A1 (en) * 2007-03-21 2008-09-25 Holm Aaron H Digital file management system with file mapping for high resolution and other images
CN101409804A (en) * 2008-11-13 2009-04-15 四川长虹电器股份有限公司 Method for automatically updating search parameter of digital satellite broadcast system
CN102033870A (en) * 2009-09-24 2011-04-27 中国移动通信集团公司 Data searching method and device
CN102238428A (en) * 2010-04-29 2011-11-09 鸿富锦精密工业(深圳)有限公司 Set top box (STB) and method for rapidly constructing television program table

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
张丽娜: "基于RSS的种子信息聚合与抽取模型的研究与实现", 《中国优秀硕士学位论文全文数据库 信息科技辑》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112486055A (en) * 2020-10-29 2021-03-12 上海航天控制技术研究所 Satellite remote control data on-site retention method
CN112486055B (en) * 2020-10-29 2022-03-18 上海航天控制技术研究所 Satellite remote control data on-site retention method

Similar Documents

Publication Publication Date Title
CN109933752B (en) Method and device for exporting electronic document
CN105447099B (en) Log-structuredization information extracting method and device
KR101312902B1 (en) Triggerless interactive television
CN102073534B (en) Data analysis method and device
CN103733636A (en) System and method for caching an electronic program guide
CN101292528B (en) Pmcp extension metadata, data stream generating device, digital data broadcasting emission system and digital data broadcasting emission method thereof
CN103531218A (en) Online multimedia file editing method and system
CN104699714A (en) Method and device for transferring files of book edition format into files of EPUB format
CN103702176A (en) HLS (http live streaming) protocol-based video downloading method and device
CN104412605A (en) Transmission device, information processing method, program, reception device, and application linking system
CA2978235A1 (en) Reception apparatus, reception method, transmission apparatus, and transmission method for a location based filtering of emergency information
CN102203734B (en) Conditional processing method and apparatus
CN110020236B (en) Webpage parsing method, device, storage medium, processor and equipment
CN105335484A (en) Digital satellite receiver database rapid update method
CN112449250A (en) Method, device, equipment and medium for downloading video resources
CN103747280A (en) Method for creating a program and device thereof
CN106961626B (en) Method and device for automatically complementing and arranging video meta-information
CN101527835A (en) Method for transmitting mobile multimedia broadcasting program message and corresponding device
CN102508688B (en) Method for solving media label information messy codes of multi-media file of android system
CN102026033A (en) Method for displaying Myanmar by set-top box (STB)
CN107302722B (en) DTV code stream decoding method and device
CN103778256A (en) Method for realizing extraction of Internet audiovisual programs based on context
CN101521799A (en) DTV EPG broadcasting and checking method, DTV EPG broadcasting and checking system and terminal
CN102065229B (en) Method and device for manufacturing and broadcasting universal caption
Deng et al. Combinatorial testing on implementations of html5 support

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20160217