CN102970595A - Set-top-box-based data processing method, system and device - Google Patents

Set-top-box-based data processing method, system and device Download PDF

Info

Publication number
CN102970595A
CN102970595A CN2012104939950A CN201210493995A CN102970595A CN 102970595 A CN102970595 A CN 102970595A CN 2012104939950 A CN2012104939950 A CN 2012104939950A CN 201210493995 A CN201210493995 A CN 201210493995A CN 102970595 A CN102970595 A CN 102970595A
Authority
CN
China
Prior art keywords
programme information
listing
program
interim
information
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
CN2012104939950A
Other languages
Chinese (zh)
Other versions
CN102970595B (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.)
Shenzhen Konka Holding Group Co Ltd
Original Assignee
Konka Group 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 Konka Group Co Ltd filed Critical Konka Group Co Ltd
Priority to CN201210493995.0A priority Critical patent/CN102970595B/en
Publication of CN102970595A publication Critical patent/CN102970595A/en
Application granted granted Critical
Publication of CN102970595B publication Critical patent/CN102970595B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a set-top-box-based data processing method, system and device. The method comprises the following steps of: during program information searching, automatically constructing a program database which is used for storing program information, correspondingly constructing an index table, and storing the program database and the index table in a storage device of a set-top box; receiving user operating instructions, acquiring corresponding program information from the program database through the index table, and meanwhile, creating a temporary program table so as to store the corresponding program information; and carrying out corresponding operation on the program information in the temporary program table according to the user operating instructions, and displaying. According to the method, the system and the device, the database is organized into a program database layer, an index layer and an operating layer, so that the content updating frequency of the storage device is reduced when the program information is operated and managed; and meanwhile, due to a manner that update logs are stored, the erasing/rewriting frequency and range of the storage device are further reduced, the risk of program data loss is reduced, and the service life of the device is prolonged.

Description

A kind of data processing method based on set-top box, system and device
Technical field
The present invention relates to data of set top box library management field, in particular a kind of data processing method based on set-top box, system and device.
Background technology
When in the prior art programme information of storing in the set-top box being carried out operational administrative, generally need directly the data of (such as FLASH) in the data memory device are operated, and be shown to user's the initial data of programme information for directly from memory device, obtaining.When the user wishes that institute divides into groups to programme information or during the operation such as ordering, need to realize by the program data that rewrites in the memory device, namely the content in the memory device is wiped and rewritten, because the characteristic of general memory device (FLASH) is for wiping first rear rewriting, such as the DISPLAY ORDER that will wish to adjust 2 programme informations, if these 2 programs are stored in respectively the different B lock in the memory device, then need first these 2 Block are wiped first the programme information that writes again after the adjustment order, therefore have the danger of loss of data.And when wishing that as the user program carried out sequencing display, need to upgrade on a large scale so that program data wherein sorts according to the order that the user expects the data content in the memory device, if the user has successively repeatedly carried out sorting operation to described programme information, then need the data in the memory device are repeatedly upgraded on a large scale.
Therefore, the program data operational administrative mode of the direct based on data storage aspect of prior art can cause frequently wiping and rewriteeing the data memory device, cause memory device to shorten useful life, and there is the danger of loss of data, because each renewal relates to the renewal of mass data in the memory device, therefore need to take more system resource and have the long processing time simultaneously.
Therefore, prior art has yet to be improved and developed.
Summary of the invention
The technical problem to be solved in the present invention is, defects for prior art, a kind of data processing method based on set-top box, system and device are provided, data storages and data management operations are separated the technical problem that memory device is frequently wiped and rewritten that has existed when having solved the operational administrative program information data.
The technical scheme that technical solution problem of the present invention adopts is as follows:
A kind of data processing method based on set-top box wherein, comprises step:
A, when searching programs information, automatically make up a program database that is used for the programme information that memory search arrives, and corresponding structure one is used for each programme information of storage at the concordance list of the position of described program database, and with described program database and index table stores in the set-top box memory device;
B, reception user operational order obtain respective program information by described concordance list from described program database, generate simultaneously the respective program information that an interim listing obtains with storage;
C, according to user's operational order the programme information in the described interim listing is carried out corresponding operation, upgrade described interim listing and wherein programme information is shown.
Described data processing method based on set-top box, wherein, described step B specifically comprises step:
In B1, when start, generate the copy of a described concordance list automatically in internal memory, receive user's operational order, obtain the position of respective program information in program database according to the copy of described concordance list;
B2, obtain respective program information from described program database correspondence position, in internal memory, generate the respective program information that an interim listing obtains with storage.
Described data processing method based on set-top box wherein, specifically comprises step among the described step C:
C1, when user's operational order is the sorting operation instruction, the programme information in the described interim listing is carried out sorting operation;
C2, when user's operational order is the division operation instruction, the programme information in the described interim listing is carried out division operation;
C3, when user's operational order is the edit operation instruction, the programme information in the described interim listing is carried out edit operation;
C4, upgrade described interim listing and wherein programme information is shown.
Described data processing method based on set-top box wherein, also comprises step after the described step C:
The operation that D, record carry out the programme information in the described interim listing is detailed, and described operation detail is stored in the log area that sets in advance in the memory device.
Described data processing method based on set-top box wherein, also comprises step before the described steps A:
Data field and log area are set in the set-top box memory device in advance, and described data field is used for storing described program database and concordance list, and it is detailed to the operation of each programme information that described log area is used for storage.
Described data processing method based on set-top box wherein, also comprises step among the described step D:
Write when full when described log area, according to the operation detail to each programme information that described log area is preserved the program database in the described data field and concordance list are upgraded, empty described log area after the renewal.
A kind of data control system based on set-top box wherein, comprises being arranged in the memory device data storage layer, and the data operation layer that is arranged in internal memory, wherein:
Comprise a program database and a concordance list in the described data storage layer, be respectively applied to memory search to programme information and the position of each programme information in described program database;
Described data operation layer be used for to receive user's operational order and obtains respective program information from described data storage layer, generates simultaneously an interim listing and to store described programme information; Also be used for according to user's operational order the programme information of described interim listing being carried out the operation of correspondence, and the programme information in the interim listing is shown.
Described system, wherein, described data operation layer also is used for generating the copy of a described concordance list when start, but the position of each programme information of copy quick obtaining in program database by described concordance list.
Described system, wherein, described data operation layer specifically is used for, and when receiving user's sorting operation instruction, the programme information in the described interim listing is carried out sorting operation; When receiving user's division operation instruction, the programme information in the described interim listing is carried out division operation; When receiving user's edit operation instruction, the programme information in the described interim listing is carried out edit operation;
Described data storage layer also is used for, record is detailed and store the log area of setting up in advance into to the operation of each programme information, and write when full when described log area, according to the operation detail to each programme information that described log area is preserved described program database and concordance list are upgraded, and emptied described log area after upgrading.
A kind of TV-set top box wherein, has adopted described system.
A kind of data processing method based on set-top box provided by the present invention, system and device, it is by the mode in laminated tissue data of set top box storehouse, data storage and data manipulation are separated, frequent to what memory device was wiped and rewritten when having reduced greatly the operational administrative program information data, be conducive to prolong useful life of memory device; Also need not simultaneously the mass data in the direct control memory device, reduced the risk of obliterated data, improved the speed of response of user's operational order; In addition, to the renewal operation that concrete programme information carries out, further reduced the renewal frequency to memory device by record.
Description of drawings
Fig. 1 is the flow chart of the embodiment of a kind of data processing method based on set-top box of the present invention.
Fig. 2 is the schematic diagram of concordance list among the embodiment of a kind of data processing method based on set-top box of the present invention.
Fig. 3 is the schematic diagram of a kind of data operation system based on set-top box of the present invention.
Embodiment
For making purpose of the present invention, technical scheme and advantage clearer, clear and definite, developing simultaneously referring to accompanying drawing, the present invention is described in more detail for embodiment.Should be appreciated that specific embodiment described herein only in order to explain the present invention, is not intended to limit the present invention.
See also Fig. 1, Fig. 1 is the flow chart of the embodiment of a kind of data processing method based on set-top box of the present invention.In the present embodiment, described data processing method based on set-top box may further comprise the steps:
Step S110, when searching programs information, automatically make up a program database that is used for the programme information that memory search arrives, and corresponding structure one is used for each programme information of storage at the concordance list of the position of described program database, and with described program database and index table stores in the set-top box memory device.
Described program database is used for the various information of each program of storage, such as serverid, program category, program names etc., automatically finishes making up and storage when each program searching.Described program database is comprised of some program storage unit, all raw informations that a program is stored as the room in each program storage unit.In the present embodiment, the priority position of described program storage unit in program database can by program searched to sequencing determine.
Better, concordance list described in the present embodiment is the quick indexing table of each programme information of storage position in described program database.If described program database can be stored N programme information, N program storage unit namely arranged, so described concordance list is corresponding also N indexing units, the memory location sequence number of each indexing units programme information of storage in described program database.And, described concordance list can carry out basic classification to the program in the program database, as shown in Figure 2, such as being categorized as: TV class, broadcast type, program request class etc., the position of storage TV class programme information correspondence in described program database in 1-A0 indexing units of described concordance list, storage program request class programme information corresponding position in described program database in A0-A1 indexing units, by that analogy, stored broadcast class programme information corresponding position etc. in described program database in A1-N indexing units.Can further improve the speed of the memory location of searching each dissimilar programme informations by classified index, especially wish a certain class programme information is managed when operation the user, greatly improve the speed of response user instruction.
Step S120, reception user operational order obtain respective program information by described concordance list from described program database, generate simultaneously the respective program information that an interim listing obtains with storage.When described program data library storage N programme information, corresponding described interim listing is a memory headroom that can hold at most N programme information.
Step S130, according to user's operational order the programme information in the described interim listing is carried out corresponding operation, upgrade described interim listing and wherein programme information is shown.Be specially in the present embodiment: when user's operational order is the sorting operation instruction, the programme information in the described interim listing is carried out sorting operation; When user's operational order is the division operation instruction, the programme information in the described interim listing is carried out division operation; When user's operational order is the edit operation instruction, the programme information in the described interim listing is carried out edit operation; Upgrade again described interim listing and wherein programme information is shown.
Better, the user also comprises step after operating program data by step S130 in the present embodiment, record is detailed to the operation of each programme information in the described interim listing, and store in the log area that sets in advance in the memory device described operation is detailed, as record at every turn to as described in programme information carries out in the interim listing name revise, arrange hiding, hobby arranges etc., and operation is detailed in a Update log.In the present embodiment, also comprise data field and log area are set in described memory device in advance, described data field is used for storing described program database and concordance list, described log area is used for storing described Update log, and, when described log area is write when full, according in the described Update log operation detail of each programme information being carried out corresponding renewal to program database and the concordance list of described data field, if such as a programme information having been carried out repeatedly operation of the same type, as repeatedly having revised the name of a certain programme information, then according to detailed described program database and the concordance list of upgrading of last operation, if a programme information has been carried out polytype operation, then upgrade according to detailed program database and the concordance list to described data field of the multiple operation of recording; And after finishing, renewal empties described log area and described Update log.
Better, automatically read concordance list from described data field during each start, and in internal memory, generate the copy of a described concordance list, namely set up the memory mapping of a described concordance list, reexamine described log area, such as log area operation note to certain programme information (such as program M) is arranged, the index value of program M in the memory mapping of the corresponding described concordance list of renewal then, memory mapping fast finding that can be by described concordance list is to the accurate location of respective program in program database.
Particularly among the embodiment, based on data manipulation method described above, it is as follows that the user carries out once the concrete steps to TV class program sorting operation:
21, elder generation finds TV class programme information position in data warehouse fast according to the memory mapping of described concordance list.
22, correspondence position obtains all TV class programme informations from described program database, and is stored in the interim listing in the internal memory.
23, receive user's ordering instruction (as carrying out ascending sort etc. by program name or serviceid), the programme information in the described interim listing is carried out corresponding sorting operation.
24, the described interim listing of traversal behind the ranking replacement shows wherein programme information.Because this operation is only for interim listing, therefore the location order of the programme information in the described program database is also unaffected, namely program database and concordance list can not upgrade described in memory device this moment, there be not wiping and rewrite operation of described memory device yet, be conducive to prolong the useful life of memory device, also reduce simultaneously the risk of obliterated data, improved the response speed to user's operational order.
Among the embodiment, based on data manipulation method described above, the operating procedure that the user once revises program M name is as follows particularly:
31, the memory mapping according to described concordance list finds program M position in program database fast.
32, correspondence position obtains the information of program M from described program database, and is stored in the internal memory in the interim listing.
33, receive user's modify instruction, program M in the described interim listing is revised as program H, and record is to the described operation detail of program M and be saved in the described log area, such as the program names M before the record modification, amended program names H, and the information such as time of retouching operation.
34, upgrade described interim listing and wherein programme information shown that namely original program M is shown as program H after renewal.
Because only edit the programme information in the interim listing this moment, therefore, still be " program M " this moment in described program database and the concordance list.Only have when described log area is full and just described program database and concordance list are upgraded, corresponding " the program M " that wipes wherein is rewritten as " program H ".
Therefore, the described data processing method based on set-top box of present embodiment, by data storage and data manipulation are separated, greatly reduced the renewal frequency of data storage layer data, also reduced the number of rewrites of wiping to memory device, therefore shortened the time delay of response user data operational order, reduced the danger of loss of data, prolonged service life of equipment and shortened.
Based on above-described embodiment, the present invention also provides a kind of embodiment of the data control system based on set-top box, as shown in Figure 3, comprise being arranged in memory device data storage layer 10, and the data operation layer 20 that is arranged in internal memory, wherein:
A program database 101 that comprises in the described data storage layer 10 and a concordance list 102, described program database is used for the programme information that memory search arrives, and described concordance list is used for each programme information of storage in the position of described program database; Specifically as described in the above-mentioned embodiment.
Described data operation layer 20 is used for receiving user's operational order and obtains corresponding programme information from described data storage layer, generates simultaneously an interim listing 201 to store described programme information; Also be used for according to user's operational order operations such as the programme information of described interim listing divide into groups, sorts, arranges, and the programme information in the interim listing is shown.
Better, data operation layer described in the present embodiment 20 also specifically is used for, and when receiving user's sorting operation instruction, the programme information in the described interim listing is carried out sorting operation; When receiving user's division operation instruction, the programme information in the described interim listing is carried out division operation; When receiving user's edit operation instruction, the programme information in the described interim listing is carried out edit operation.
Better, described data operation layer 20 generates the copy 202 of a described concordance list when also being used for start, according to the position of copy quick obtaining respective program information in program database of described concordance list.
Better, described data storage layer 10 also is used for, when programme information operates in to described program temporary table, record the detailed log area to setting up in advance of described operation, and write when full when described log area, the operation detail of the corresponding programme information of preserving according to described log area is upgraded described program database and concordance list, empties described log area again.Specifically as described in the above-mentioned embodiment.
The present invention also provides a kind of TV-set top box that adopts the data control system based on set-top box described above.
In sum, a kind of data processing method based on set-top box provided by the present invention, system and device, by the data of set top box storehouse is organized as program database, concordance list, with three levels of interim listing, the frequency of when having reduced greatly the operational administrative programme information storage content having been upgraded, so that the programme information operation is separated with the bottom data storage, method by Update log when simultaneously concrete programme information being upgraded has further reduced wiping and rewrite frequencies memory device, greatly reduce the danger that program data information is lost, also improved user's experience simultaneously and prolonged service life of equipment.
Should be understood that application of the present invention is not limited to above-mentioned giving an example, for those of ordinary skills, can be improved according to the above description or conversion that all these improvement and conversion all should belong to the protection range of claims of the present invention.

Claims (10)

1. the data processing method based on set-top box is characterized in that, comprises step:
A, when searching programs information, automatically make up a program database that is used for the programme information that memory search arrives, and corresponding structure one is used for each programme information of storage at the concordance list of the position of described program database, and with described program database and index table stores in the set-top box memory device;
B, reception user operational order obtain respective program information by described concordance list from described program database, generate simultaneously the respective program information that an interim listing obtains with storage;
C, according to user's operational order the programme information in the described interim listing is carried out corresponding operation, upgrade described interim listing and wherein programme information is shown.
2. described data processing method based on set-top box according to claim 1 is characterized in that described step B specifically comprises step:
In B1, when start, generate the copy of a described concordance list automatically in internal memory, receive user's operational order, obtain the position of respective program information in program database according to the copy of described concordance list;
B2, obtain respective program information from described program database correspondence position, in internal memory, generate the respective program information that an interim listing obtains with storage.
3. described data processing method based on set-top box according to claim 1 is characterized in that, specifically comprises step among the described step C:
C1, when user's operational order is the sorting operation instruction, the programme information in the described interim listing is carried out sorting operation;
C2, when user's operational order is the division operation instruction, the programme information in the described interim listing is carried out division operation;
C3, when user's operational order is the edit operation instruction, the programme information in the described interim listing is carried out edit operation;
C4, upgrade described interim listing and wherein programme information is shown.
4. described data processing method based on set-top box according to claim 1 is characterized in that, also comprises step after the described step C:
The operation that D, record carry out the programme information in the described interim listing is detailed, and described operation detail is stored in the log area that sets in advance in the memory device.
5. described data processing method based on set-top box according to claim 4 is characterized in that, also comprises step before the described steps A:
Data field and log area are set in the set-top box memory device in advance, and described data field is used for storing described program database and concordance list, and it is detailed to the operation of each programme information that described log area is used for storage.
6. described data processing method based on set-top box according to claim 5 is characterized in that, also comprises step among the described step D:
Write when full when described log area, according to the operation detail to each programme information that described log area is preserved the program database in the described data field and concordance list are upgraded, empty described log area after the renewal.
7. the data control system based on set-top box is characterized in that, comprise being arranged in the memory device data storage layer, and the data operation layer that is arranged in internal memory, wherein:
Comprise a program database and a concordance list in the described data storage layer, be respectively applied to memory search to programme information and the position of each programme information in described program database;
Described data operation layer be used for to receive user's operational order and obtains respective program information from described data storage layer, generates simultaneously an interim listing and to store described programme information; Also be used for according to user's operational order the programme information of described interim listing being carried out the operation of correspondence, and the programme information in the interim listing is shown.
8. system according to claim 7 is characterized in that, described data operation layer also is used for generating the copy of a described concordance list when start, but the position of each programme information of copy quick obtaining in program database by described concordance list.
9. system according to claim 7 is characterized in that, described data operation layer specifically is used for, and when receiving user's sorting operation instruction, the programme information in the described interim listing is carried out sorting operation; When receiving user's division operation instruction, the programme information in the described interim listing is carried out division operation; When receiving user's edit operation instruction, the programme information in the described interim listing is carried out edit operation;
Described data storage layer also is used for, record is detailed and store the log area of setting up in advance into to the operation of each programme information, and write when full when described log area, according to the operation detail to each programme information that described log area is preserved described program database and concordance list are upgraded, and emptied described log area after upgrading.
10. a TV-set top box is characterized in that, adopts the arbitrary described system of claim 7-9.
CN201210493995.0A 2012-11-28 2012-11-28 A kind of data processing method, system and device based on set-top box Active CN102970595B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210493995.0A CN102970595B (en) 2012-11-28 2012-11-28 A kind of data processing method, system and device based on set-top box

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210493995.0A CN102970595B (en) 2012-11-28 2012-11-28 A kind of data processing method, system and device based on set-top box

Publications (2)

Publication Number Publication Date
CN102970595A true CN102970595A (en) 2013-03-13
CN102970595B CN102970595B (en) 2018-08-28

Family

ID=47800413

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210493995.0A Active CN102970595B (en) 2012-11-28 2012-11-28 A kind of data processing method, system and device based on set-top box

Country Status (1)

Country Link
CN (1) CN102970595B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1882056A (en) * 2005-06-15 2006-12-20 联想(北京)有限公司 Program commending method based on electronic program guide
US20070277198A1 (en) * 1997-07-03 2007-11-29 Matsushita Electric Industrial Co., Ltd. System for processing program information
CN101202862A (en) * 2007-08-31 2008-06-18 深圳市同洲电子股份有限公司 Method and system for generating digital television business
CN101271454A (en) * 2007-03-23 2008-09-24 百视通网络电视技术发展有限责任公司 Multimedia content association search and association engine system for IPTV
CN101959006A (en) * 2010-09-25 2011-01-26 深圳市迎风传讯科技有限公司 Set top box and method for processing programs by same

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070277198A1 (en) * 1997-07-03 2007-11-29 Matsushita Electric Industrial Co., Ltd. System for processing program information
CN1882056A (en) * 2005-06-15 2006-12-20 联想(北京)有限公司 Program commending method based on electronic program guide
CN101271454A (en) * 2007-03-23 2008-09-24 百视通网络电视技术发展有限责任公司 Multimedia content association search and association engine system for IPTV
CN101202862A (en) * 2007-08-31 2008-06-18 深圳市同洲电子股份有限公司 Method and system for generating digital television business
CN101959006A (en) * 2010-09-25 2011-01-26 深圳市迎风传讯科技有限公司 Set top box and method for processing programs by same

Also Published As

Publication number Publication date
CN102970595B (en) 2018-08-28

Similar Documents

Publication Publication Date Title
US20190220266A1 (en) Upgrading Bundled Applications In A Distributed Computing System
US11099937B2 (en) Implementing clone snapshots in a distributed storage system
US20190213085A1 (en) Implementing Fault Domain And Latency Requirements In A Virtualized Distributed Storage System
CN102508784B (en) Data storage method of flash memory card in video monitoring equipment, and system thereof
US9720614B2 (en) Allocating storage for cloned data
US9977804B2 (en) Index updates using parallel and hybrid execution
CN110413282B (en) Redundant resource processing method, device, equipment and storage medium
CN106970958B (en) A kind of inquiry of stream file and storage method and device
CN103186622B (en) The update method of index information and device in a kind of text retrieval system
US20150347470A1 (en) Run-time decision of bulk insert for massive data loading
CN110532059B (en) Quota management method and device for K8s cluster management software
CN105141672A (en) Method, device and system for data storage
CN107679136A (en) The storage method and storage system of slide fastener table
EP2778962B1 (en) Silo-aware databases
CN104052626A (en) Method, device and system for configuring network element data
KR20120034383A (en) Automatic map update system and method thereof
CN109388644B (en) Data updating method and device
CN111414422B (en) Data distribution method, device, equipment and storage medium
CN102469357B (en) Method and system for storing user operation data and receiving terminal of digital television
TWI706343B (en) Sample playback data access method, device and computer equipment
US9600517B2 (en) Convert command into a BULK load operation
JP2008225686A (en) Data arrangement management device and method in distributed data processing platform, and system and program
CN114637499B (en) Visualization component processing method, device, equipment and medium
CN115904876A (en) Method, system, terminal and medium for solving conflict of log data in different formats
CN102970595A (en) Set-top-box-based data processing method, system and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20200628

Address after: 23 / F, Guangdong hi tech District

Patentee after: Shenzhen Konka Holding Group Co., Ltd

Address before: 518053 overseas Chinese town, Shenzhen, Guangdong, Nanshan District

Patentee before: KONKA GROUP Co.,Ltd.

TR01 Transfer of patent right