CN107402817A - Save method, apparatus, set top box and the storage medium of internal memory - Google Patents
Save method, apparatus, set top box and the storage medium of internal memory Download PDFInfo
- Publication number
- CN107402817A CN107402817A CN201710646859.3A CN201710646859A CN107402817A CN 107402817 A CN107402817 A CN 107402817A CN 201710646859 A CN201710646859 A CN 201710646859A CN 107402817 A CN107402817 A CN 107402817A
- Authority
- CN
- China
- Prior art keywords
- epg data
- character
- top box
- set top
- internal memory
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/50—Allocation of resources, e.g. of the central processing unit [CPU]
- G06F9/5005—Allocation of resources, e.g. of the central processing unit [CPU] to service a request
- G06F9/5011—Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resources being hardware resources other than CPUs, Servers and Terminals
- G06F9/5016—Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resources being hardware resources other than CPUs, Servers and Terminals the resource being the memory
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
- G06F40/12—Use of codes for handling textual entities
- G06F40/151—Transformation
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/433—Content storage operation, e.g. storage operation in response to a pause request, caching operations
Abstract
The embodiment of the invention discloses a kind of method, apparatus, set top box and storage medium for saving internal memory.Wherein, method includes:Original EPG data is obtained from program stream;According to the character map to prestore, original EPG data is encoded, is converted into the target EPG data of single byte;By in the internal memory of target EPG character datas storage to set top box distribution.Set top box is according to character map, the big original EPG data of memory space will be accounted for encode, be converted into accounting for the target EPG data of the smaller single byte of memory space, for identical memory source, bigger information content can be stored, effectively increases the utilization ratio of EPG modules internal memory in set top box.
Description
Technical field
The present invention relates to TV technology, more particularly to a kind of method, apparatus for saving internal memory, set top box and storage to be situated between
Matter.
Background technology
Consider that the set top box to circulate on the market, usual memory configurations are relatively low, for example, set top box is usual for financial cost
The internal memory that data storage can be used for for electronic program guides (Electronic Program Guide, EPG) module assignment is usual
No more than 10M.During set-top-box opening, substantial amounts of EPG data can be loaded into the internal memory that set top box distributes in advance by EPG modules
In, the processing mode of existing EPG data loading is, by way of Unicode (Unicode, Unicode, single code) codings
EPG data is encoded, the character data after coding is stored in chained list.
But by way of Unicode codings, the character data amount of acquisition is excessive, cause in set top box configuration
In the case of depositing resource-constrained, set top box can distribute to the internal memory of EPG modules, and the data volume that can be stored is very limited.Therefore, most
The internal memory of set top box is utilized to limits, just seems and is even more important.
The content of the invention
To solve Related Technical Issues, the present invention provides a kind of method, apparatus for saving internal memory, set top box and storage and is situated between
Matter, to save the internal memory of set top box, improve the utilization ratio of set top box memory source.
To achieve the above object, the embodiment of the present invention adopts the following technical scheme that:
In a first aspect, the embodiments of the invention provide a kind of method for saving internal memory, applied to set top box, methods described bag
Include:
Original EPG data is obtained from program stream;
According to the character map to prestore, the original EPG data is encoded, is converted into the target EPG data of single byte;
By in the internal memory of target EPG character datas storage to set top box distribution.
Second aspect, the embodiments of the invention provide a kind of device for saving internal memory, it is configured at set top box, described device bag
Include:
Data acquisition module, for obtaining original EPG data from program stream;
Data coding module, for according to the character map that prestores, by the original EPG data code conversion into individual character
The target EPG data of section;
Data memory module, for the target EPG data to be stored in the internal memory of set top box.
The third aspect, the embodiments of the invention provide a kind of set top box, including:
One or more processors;
Storage device, for storing one or more programs;
When one or more of programs are by one or more of computing devices so that one or more of processing
The method that device realizes the saving internal memory provided such as aforementioned first aspect.
Fourth aspect, the embodiments of the invention provide a kind of computer-readable recording medium, is stored thereon with computer journey
Sequence, the method that the saving internal memory provided such as aforementioned first aspect is provided when the program is executed by processor.
The beneficial effect that technical scheme provided in an embodiment of the present invention is brought:
The character map needed for coding is prestored in the technical program, in set-top-box system, according to the character map,
The original EPG data obtained from program stream is encoded, the target EPG data of single byte is converted into, by the target of single byte
EPG data storage is to set top box in the internal memory of EPG module assignments;Set top box is big by memory space is accounted for according to character map
Original EPG data coding, be converted into accounting for the target EPG data of the smaller single byte of memory space, provided for identical internal memory
Source, bigger information content can be stored, effectively increase the utilization ratio of EPG modules internal memory in set top box.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, institute in being described below to the embodiment of the present invention
The accompanying drawing needed to use is briefly described, it should be apparent that, drawings in the following description are only some implementations of the present invention
Example, for those of ordinary skill in the art, on the premise of not paying creative work, it can also be implemented according to the present invention
The content of example and these accompanying drawings obtain other accompanying drawings.
Fig. 1 is a kind of schematic flow sheet of method for saving internal memory provided in an embodiment of the present invention;
Fig. 2 is the schematic flow sheet of another method for saving internal memory provided in an embodiment of the present invention;
Fig. 3 is a kind of schematic flow sheet of optional embodiment of S250 in Fig. 2;
Fig. 4 is the schematic flow sheet of another method for saving internal memory provided in an embodiment of the present invention;
Fig. 5 is a kind of configuration diagram of device for saving internal memory provided in an embodiment of the present invention;
Fig. 6 is a kind of structural representation of set top box provided in an embodiment of the present invention.
Embodiment
For make present invention solves the technical problem that, the technical scheme that uses and the technique effect that reaches it is clearer, below
The technical scheme of the embodiment of the present invention will be described in further detail with reference to accompanying drawing, it is clear that described embodiment is only
It is part of the embodiment of the present invention, rather than whole embodiments.Based on the embodiment in the present invention, those skilled in the art exist
The every other embodiment obtained under the premise of creative work is not made, belongs to the scope of protection of the invention.
Refer to Fig. 1, its be it is provided in an embodiment of the present invention it is a kind of save internal memory method schematic flow sheet, this implementation
The method of example is applied to the scene optimized to set top box internal memory, can be by the dress of saving internal memory provided in an embodiment of the present invention
Put to perform, the device can be realized by the way of software and/or hardware, and be configured in set top box.As shown in figure 1, this reality
The method for applying example is applied to set top box, specifically may include steps of:
S110, original EPG data is obtained from program stream.
Exemplary, when program searching is carried out after set-top-box opening, corresponding program stream is obtained, further extracts program
Original EPG (Electronic Program Guide, electronic program guides) data in code stream.
The character map that S120, basis prestore, original EPG data is encoded, is converted into the target EPG numbers of single byte
According to.
Preferably, original EPG data is the Unicode codes of double byte, and target EPG data is the extension ASCII of single byte
Code, wherein, Unicode codes are double byte, and extension ASCII character (scope 0x80-0xFF) shares 128.
In one embodiment, it is Russian character to be known a priori by corresponding to original EPG data, the coded system used for
Unicode is encoded, and according to international standard, 33 Russian characters correspond to 33 Unicode codes respectively.The character map to prestore
In, 33 Russian characters and corresponding Unicode codes are preserved, and it is not corresponding also to preserve 33 Unicode code divisions
Extend ASCII character.According to the mapping relations of Unicode codes in character map and extension ASCII character, by the original of double byte
EPG data encodes, and is converted into the extension ASCII character of single byte, obtains the target EPG data of single byte.
In S130, the internal memory for distributing the storage of target EPG character datas to set top box.
In one embodiment, production cost is limited to, the memory configurations of common set top box are relatively low, can be EPG modules point
The internal memory matched somebody with somebody is usually more than 10M, for storing EPG data.By the extension ASCII character of single byte, the original of double byte is substituted
Unicode codes, store the data link table in internal memory, and required memory space can reduce half or so.
To sum up, in the present embodiment, the character map needed for coding is prestored in set-top-box system, is reflected according to the character
Firing table, the original EPG data obtained from program stream is encoded, the target EPG data of single byte is converted into, by single byte
The storage of target EPG data is to set top box in the internal memory of EPG module assignments;It is empty will to account for storage according to character map for set top box
Between big original EPG data coding, be converted into accounting for the target EPG data of the smaller single byte of memory space, in identical
Resource is deposited, bigger information content can be stored, effectively increases the utilization ratio of EPG modules internal memory in set top box.
Fig. 2 is refer to, it is the schematic flow sheet of another method for saving internal memory provided in an embodiment of the present invention, upper
On the basis of stating embodiment, optionally, before S110, the method for the saving internal memory can also include:
EPG data is corresponded into each Unicode codes corresponding to character in languages, and extension ASCII character maps one by one, generates
Character map simultaneously preserves;
The internal memory of the system of the set top box, and set top box distribution is initialized;
Program searching instruction is received, is instructed according to program searching, obtains program stream.
Hereby it is achieved that previously generate character map in set-top-box system and preserve, initialize set-top-box system and
The internal memory of EPG modules, and obtain program stream.
Further, the character map that the basis prestores, original EPG data is encoded, is converted into the mesh of single byte
EPG data is marked, can be included:
Temporal cache is created, original EPG data is stored in temporal cache;
Thread is created, original EPG data is obtained from temporal cache;
From character map, extension ASCII character corresponding with Unicode codes is searched;
According to extension ASCII character, original EPG data is encoded, is converted into the target EPG data of single byte.
Thus, there is provided one kind encodes original EPG data, is converted into the optional embodiment of target EPG data.
Based on above-mentioned optimization, as shown in Fig. 2 the technical scheme that the present embodiment provides is specific as follows:
S210, original EPG data is corresponded to each Unicode codes corresponding to character in languages, and extension ASCII character is one by one
Mapping, generate character map and preserve.
Exemplary, character map can be that generation preserves or passed through download online when set top box dispatches from the factory
Mode obtain.When set top box need to only perform the method for saving internal memory of the present embodiment in first time, this step is performed, with generation
And character map is preserved, new character map need not be regenerated during subsequent treatment, directly invoke the character map.
In one embodiment, according to international standard, character map save 33 Russian characters and it is corresponding 33 it is double
The Unicode codes of byte, meanwhile, according to custom rule, the character map also saving and 33 Unicode codes codings pair
The extension ASCII character (33) answered, the i.e. character map save 33 Russian characters and correspond to Unicode codes, extending
Mapping relations in the range of ASCII character.
S220, the system to set top box, and the internal memory of set top box distribution are initialized.
Exemplary, set top box is before searching programs information, and first by the system of set top box, and set top box is EPG modules
The internal memory of distribution is initialized, while also flash is initialized.
S230, program searching instruction is received, instructed according to program searching, obtain program stream.
Exemplary, program searching instruction can be that the instruction that remote control is sent or system program are produced when running
Raw instruction.
S240, original EPG data is obtained from program stream.
The character map that S250, basis prestore, original EPG data is encoded, is converted into the target EPG numbers of single byte
According to.
As shown in figure 3, optional, S250 may include steps of:
S351, temporal cache is created, original EPG data is stored in temporal cache.
S352, thread is created, original EPG data is obtained from temporal cache.
S353, from character map, search it is corresponding with Unicode codes extends ASCII character.
S354, according to extension ASCII character, original EPG data is encoded, is converted into the target EPG data of single byte.
In S260, the internal memory for distributing the storage of target EPG character datas to set top box.
Exemplary, after the target EPG character datas storage of single byte to the internal memory of EPG modules, temporal cache is discharged,
Return again to S230 and obtain new program stream, meanwhile, also periodically delete target EPG character datas expired in internal memory so that
In limited memory headroom, more effective data messages are stored.
To sum up, in the present embodiment, original EPG data is corresponded to each word in languages by set top box according to custom rule
Unicode codes corresponding to symbol, and extension ASCII character map one by one, generate character map, will be from according to the character map
The original EPG data coding obtained in program stream, the target EPG data of single byte is converted into, by the target EPG numbers of single byte
According to storage to set top box in the internal memory of EPG module assignments;Set top box will account for big original of memory space according to character map
EPG data encodes, and is converted into accounting for the target EPG data of the smaller single byte of memory space, for identical memory source, can deposit
The bigger information content of storage, effectively increase the utilization ratio of EPG modules internal memory in set top box.
Fig. 4 is refer to, it is the schematic flow sheet of another method for saving internal memory provided in an embodiment of the present invention, upper
On the basis of stating embodiment, optionally, after S130, it can also include:
Receive EPG key signals;
According to EPG key signals, extension ASCII character is obtained from internal memory;
From character map, Unicode codes corresponding with extension ASCII character are searched;
According to the character library to prestore, it is determined that EPG information character corresponding with Unicode codes.
Hereby it is achieved that the single byte stored in internal memory is extended into ASCII character phase-reversal coding, it is converted into what set top box can recognize that
Unicode codes, so that set top box is converted into corresponding language character and by showing screen display according to recognizable Unicode codes
Show.
Based on above-mentioned optimization, as shown in figure 4, the technical scheme that the present embodiment provides is specific as follows:
S410, original EPG data is obtained from program stream.
The character map that S420, basis prestore, original EPG data is encoded, is converted into the target EPG numbers of single byte
According to.
In S430, the internal memory for distributing the storage of target EPG character datas to set top box.
S440, receive EPG key signals.
S450, according to EPG key signals, extension ASCII character is obtained from internal memory.
S460, from character map, search with extending the corresponding Unicode codes of ASCII character.
The character library that S470, basis prestore, it is determined that EPG information character corresponding with Unicode codes.
In one embodiment, set top box also prestores character library, and according to international standard, 33 Russian words are stored with character library
The mapping relations of symbol and corresponding Unicode codes, EPG information character is Russian character.When user needs to check EPG information, press
EPG keys on lower remote control, EPG key signals are sent to set top box, set top box obtains the expansion of storage from the internal memory of EPG modules
Open up ASCII character, call character map, according to the mapping relations stored in character map, it is determined that with the extension ASCII character pair
The Unicode codes answered, recall the character library to prestore, according to the mapping relations stored in character library, it is determined that corresponding with the Unicode codes
Russian character, and Russian character is shown by display screen.
Fig. 5 is refer to, it is a kind of configuration diagram of device for saving internal memory provided in an embodiment of the present invention.This implementation
The device for the saving internal memory that example provides, the method for the saving internal memory provided with previous embodiment, belongs to same inventive concept,
The detail content of not detailed description in the present embodiment, it refer to the embodiment of the method for foregoing saving internal memory.
As shown in figure 5, the device 500 for the saving internal memory that the present embodiment provides, configuration and set top box, can specifically be included such as
Lower content:
Data acquisition module 510, for obtaining original EPG data from program stream.
Data coding module 520, for according to the character map that prestores, by original EPG data code conversion into individual character
The target EPG data of section.
Data memory module 530, for target EPG data to be stored in the internal memory of set top box.
To sum up, in the present embodiment, the character map needed for coding is prestored in set-top-box system, is reflected according to the character
Firing table, the original EPG data obtained from program stream is encoded, the target EPG data of single byte is converted into, by single byte
The storage of target EPG data is to set top box in the internal memory of EPG module assignments;It is empty will to account for storage according to character map for set top box
Between big original EPG data coding, be converted into accounting for the target EPG data of the smaller single byte of memory space, in identical
Resource is deposited, bigger information content can be stored, effectively increases the utilization ratio of EPG modules internal memory in set top box.
On the basis of above-mentioned technical proposal, the original EPG data be double byte Unicode codes, the target EPG
Data are the extension ASCII character of single byte.
On the basis of above-mentioned technical proposal, described device 500, include well:
Character map generation module, it is described corresponding to each character for original EPG data to be corresponded in languages
Unicode codes, and the extension ASCII character map one by one, generate the character map and preserve.
On the basis of above-mentioned technical proposal, the data coding module 520, it is specifically used for:
Temporal cache is created, the original EPG data is stored in the temporal cache;
Thread is created, the original EPG data is obtained from the temporal cache;
From the character map, the extension ASCII character corresponding with the Unicode codes is searched;
According to the extension ASCII character, the original EPG data is encoded, is converted into the target EPG numbers of the single byte
According to.
On the basis of above-mentioned technical proposal, described device 500, in addition to:
Signal receiving module, for receiving EPG key signals;
ASCII character acquisition module is extended, for according to the EPG key signals, the extension to be obtained from the internal memory
ASCII character;
Unicode code searching moduls, it is corresponding with the extension ASCII character for from the character map, searching
The Unicode codes;
EPG information character determining module, the character library to be prestored for basis, it is determined that EPG corresponding with the Unicode codes believes
Cease character.
On the basis of above-mentioned technical proposal, described device 500, in addition to:
Program stream acquisition module, for receiving program searching instruction, instructed according to the program searching, obtain the section
Mesh code stream.
On the basis of above-mentioned technical proposal, described device 500, in addition to:
Initialization module, the internal memory for the system to the set top box, and set top box distribution are initialized.
Fig. 6 is refer to, it is a kind of structural representation of set top box provided in an embodiment of the present invention.Fig. 6, which is shown, to be suitable to
For realizing the block diagram of the exemplary set-top box 12 of embodiment of the present invention.The set top box 12 that Fig. 6 is shown is only an example,
Any restrictions should not be brought to the function and use range of the embodiment of the present invention.
As shown in fig. 6, set top box 12 is showed in the form of universal set-top box (STB) equipment.The component of set top box 12 can include but
It is not limited to:One or more processor or processing unit 16, system storage 28, connection different system component (including be
Unite memory 28 and processing unit 16) bus 18.
Bus 18 represents the one or more in a few class bus structures, including memory bus or Memory Controller,
Peripheral bus, graphics acceleration port, processor or the local bus using any bus structures in a variety of bus structures.Lift
For example, these architectures include but is not limited to industry standard architecture (ISA) bus, MCA (MAC)
Bus, enhanced isa bus, VESA's (VESA) local bus and periphery component interconnection (PCI) bus.
Set top box 12 typically comprises various computing systems computer-readable recording medium.These media can be it is any can be by machine top
The usable medium that box 12 accesses, including volatibility and non-volatile media, moveable and immovable medium.
System storage 28 can include the computer system readable media of form of volatile memory, such as arbitrary access
Memory (RAM) 30 and/or cache memory 32.Set top box 12 may further include other removable/nonremovable
, volatile/non-volatile computer system storage medium.Only as an example, it is not removable to can be used for read-write for storage system 34
Dynamic, non-volatile magnetic media (Fig. 6 do not show, commonly referred to as " hard disk drive ").Although not shown in Fig. 6, it can provide
For the disc driver to may move non-volatile magnetic disk (such as " floppy disk ") read-write, and to may move anonvolatile optical disk
The CD drive of (such as CD-ROM, DVD-ROM or other optical mediums) read-write.In these cases, each driver can
To be connected by one or more data media interfaces with bus 18.Memory 28 can include at least one program product,
The program product has one group of (for example, at least one) program module, and these program modules are configured to perform each implementation of the invention
The function of example.
Program/utility 40 with one group of (at least one) program module 42, such as memory 28 can be stored in
In, such program module 42 include but is not limited to operating system, one or more application program, other program modules and
Routine data, the realization of network environment may be included in each or certain combination in these examples.Program module 42 is usual
Perform the function and/or method in embodiment described in the invention.
Set top box 12 can also be logical with one or more external equipments 14 (such as keyboard, sensing equipment, display 24 etc.)
Letter, can also enable a user to the equipment communication interacted with the set top box 12 with one or more, and/or with causing the set top box
12 any equipment (such as network interface card, the modem etc.) communications that can be communicated with one or more of the other computing device.
This communication can be carried out by input/output (I/O) interface 22.Also, set top box 12 can also pass through network adapter 20
With one or more network (such as LAN (LAN), wide area network (WAN) and/or public network, such as internet) communication.
As illustrated, network adapter 20 is communicated by bus 18 with other modules of set top box 12.It should be understood that although in Fig. 6 not
Show, set top box 12 can be combined and use other hardware and/or software module, included but is not limited to:Microcode, device drives
Device, redundant processing unit, external disk drive array, RAID system, tape drive and data backup storage system etc..
Processing unit 16 is stored in program in system storage 28 by operation, so as to perform various function application and
Data processing, such as the method for realizing the saving internal memory that the embodiment of the present invention is provided.
The embodiment of the present invention additionally provides a kind of computer-readable recording medium, is stored thereon with computer program, the journey
When sequence is executed by processor, the method for saving internal memory that the embodiment of the present invention is provided is realized, this method includes:
Original EPG data is obtained from program stream;
According to the character map to prestore, the original EPG data is encoded, is converted into the target EPG data of single byte;
By in the internal memory of target EPG character datas storage to set top box distribution.
The computer-readable recording medium of the embodiment of the present invention, one or more computer-readable media can be used
Any combination.Computer-readable medium can be computer-readable signal media or computer-readable recording medium.Computer
Readable storage medium storing program for executing for example may be-but not limited to-the system of electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor, dress
Put or device, or it is any more than combination.More specifically example (non exhaustive list) bag of computer-readable recording medium
Include:It is electrical connection, portable computer diskette, hard disk, random access memory (RAM) with one or more wires, read-only
Memory (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disc read-only storage
(CD-ROM), light storage device, magnetic memory device or above-mentioned any appropriate combination.In this document, it is computer-readable
Storage medium can be it is any include or the tangible medium of storage program, the program can be commanded execution system, device or
Device use or in connection.
Computer-readable signal media can include in a base band or as carrier wave a part propagation data-signal,
Wherein carry computer-readable program code.The data-signal of this propagation can take various forms, including but unlimited
In electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be that computer can
Any computer-readable medium beyond storage medium is read, the computer-readable medium, which can send, propagates or transmit, to be used for
By instruction execution system, device either device use or program in connection.
The program code included on computer-readable medium can be transmitted with any appropriate medium, including --- but it is unlimited
In wireless, electric wire, optical cable, RF etc., or above-mentioned any appropriate combination.
It can be write with one or more programming languages or its combination for performing the computer that operates of the present invention
Program code, described program design language include object oriented program language-such as Java, Smalltalk, C++,
Also include conventional procedural programming language-such as " C " language or similar programming language.Program code can be with
Fully perform, partly perform on the user computer on the user computer, the software kit independent as one performs, portion
Divide and partly perform or performed completely on remote computer or set top box on the remote computer on the user computer.
Be related in the situation of remote computer, remote computer can pass through the network of any kind --- including LAN (LAN) or
Wide area network (WAN)-be connected to subscriber computer, or, it may be connected to outer computer (such as carried using Internet service
Pass through Internet connection for business).
Pay attention to, above are only presently preferred embodiments of the present invention and institute's application technology principle.It will be appreciated by those skilled in the art that
The invention is not restricted to specific embodiment described here, can carry out for a person skilled in the art various obvious changes,
Readjust and substitute without departing from protection scope of the present invention.Therefore, although being carried out by above example to the present invention
It is described in further detail, but the present invention is not limited only to above example, without departing from the inventive concept, also
Other more equivalent embodiments can be included, and the scope of the present invention is determined by scope of the appended claims.
Claims (10)
- A kind of 1. method for saving internal memory, applied to set top box, it is characterised in that methods described includes:Original EPG data is obtained from program stream;According to the character map to prestore, the original EPG data is encoded, is converted into the target EPG data of single byte;By in the internal memory of target EPG character datas storage to set top box distribution.
- 2. the method as described in claim 1, it is characterised in that the original EPG data be double byte Unicode codes, institute State the extension ASCII character that target EPG data is single byte.
- 3. method as claimed in claim 2, it is characterised in that described the step of original EPG data is obtained from program stream Before, in addition to:Original EPG data is corresponded into the Unicode codes corresponding to each character in languages, and the extension ASCII character is one by one Mapping, generates the character map and preserves.
- 4. method as claimed in claim 3, it is characterised in that the character map that the basis prestores, by the original EPG Data encoding, the step of being converted into the target EPG data of single byte, including:Temporal cache is created, the original EPG data is stored in the temporal cache;Thread is created, the original EPG data is obtained from the temporal cache;From the character map, the extension ASCII character corresponding with the Unicode codes is searched;According to the extension ASCII character, the original EPG data is encoded, is converted into the target EPG data of the single byte.
- 5. method as claimed in claim 4, it is characterised in that described that the machine is arrived into target EPG character datas storage After step in the internal memory of top box distribution, in addition to:Receive EPG key signals;According to the EPG key signals, the extension ASCII character is obtained from the internal memory;From the character map, the Unicode codes corresponding with the extension ASCII character are searched;According to the character library to prestore, it is determined that EPG information character corresponding with the Unicode codes.
- 6. the method as described in claim 1, it is characterised in that described the step of original EPG data is obtained from program stream Before, in addition to:Program searching instruction is received, is instructed according to the program searching, obtains the program stream.
- 7. the method as described in any one of claim 1~6, it is characterised in that described that original EPG numbers are obtained from program stream According to the step of before, in addition to:The internal memory of the system of the set top box, and set top box distribution is initialized.
- 8. a kind of device for saving internal memory, is configured at set top box, it is characterised in that described device includes:Data acquisition module, for obtaining original EPG data from program stream;Data coding module, for according to the character map that prestores, by the original EPG data code conversion into single byte Target EPG data;Data memory module, for the target EPG data to be stored in the internal memory of set top box.
- A kind of 9. set top box, it is characterised in that including:One or more processors;Storage device, for storing one or more programs;When one or more of programs are by one or more of computing devices so that one or more of processors are real The now method of the saving internal memory as described in any in claim 1~7.
- 10. a kind of computer-readable recording medium, is stored thereon with computer program, it is characterised in that the program is by processor The method that the saving internal memory as described in any in claim 1~7 is realized during execution.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710646859.3A CN107402817A (en) | 2017-08-01 | 2017-08-01 | Save method, apparatus, set top box and the storage medium of internal memory |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710646859.3A CN107402817A (en) | 2017-08-01 | 2017-08-01 | Save method, apparatus, set top box and the storage medium of internal memory |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107402817A true CN107402817A (en) | 2017-11-28 |
Family
ID=60401691
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710646859.3A Pending CN107402817A (en) | 2017-08-01 | 2017-08-01 | Save method, apparatus, set top box and the storage medium of internal memory |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107402817A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109739553A (en) * | 2019-02-01 | 2019-05-10 | 深圳创维-Rgb电子有限公司 | One parameter configuration method, device, terminal and storage medium |
CN110147330A (en) * | 2019-05-23 | 2019-08-20 | 深圳市创维软件有限公司 | A kind of caching method of character pattern data, device, equipment and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1748418A (en) * | 2003-02-05 | 2006-03-15 | 皇家飞利浦电子股份有限公司 | Method of coding and transmitting epg data, coder and receiver |
US20060092052A1 (en) * | 2002-01-31 | 2006-05-04 | Microsoft Corporation | Generating and searching compressed data |
CN101621642A (en) * | 2008-06-30 | 2010-01-06 | 乐金电子(中国)研究开发中心有限公司 | Digital television set and character displaying method thereof |
US8010980B1 (en) * | 2003-09-03 | 2011-08-30 | Microsoft Corporation | EPG data |
CN105100877A (en) * | 2015-07-27 | 2015-11-25 | 四川长虹电器股份有限公司 | Realization method for digital television equipment to receive large quantity of electronic program guide information |
-
2017
- 2017-08-01 CN CN201710646859.3A patent/CN107402817A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060092052A1 (en) * | 2002-01-31 | 2006-05-04 | Microsoft Corporation | Generating and searching compressed data |
CN1748418A (en) * | 2003-02-05 | 2006-03-15 | 皇家飞利浦电子股份有限公司 | Method of coding and transmitting epg data, coder and receiver |
US8010980B1 (en) * | 2003-09-03 | 2011-08-30 | Microsoft Corporation | EPG data |
CN101621642A (en) * | 2008-06-30 | 2010-01-06 | 乐金电子(中国)研究开发中心有限公司 | Digital television set and character displaying method thereof |
CN105100877A (en) * | 2015-07-27 | 2015-11-25 | 四川长虹电器股份有限公司 | Realization method for digital television equipment to receive large quantity of electronic program guide information |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109739553A (en) * | 2019-02-01 | 2019-05-10 | 深圳创维-Rgb电子有限公司 | One parameter configuration method, device, terminal and storage medium |
CN110147330A (en) * | 2019-05-23 | 2019-08-20 | 深圳市创维软件有限公司 | A kind of caching method of character pattern data, device, equipment and storage medium |
CN110147330B (en) * | 2019-05-23 | 2023-09-01 | 深圳市创维软件有限公司 | Word matrix data caching method, device, equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111090628B (en) | Data processing method and device, storage medium and electronic equipment | |
KR101634134B1 (en) | System, method, and computer program product for decompression of block compressed images | |
CN114501062B (en) | Video rendering coordination method, device, equipment and storage medium | |
WO2021244194A1 (en) | Register reading/writing method, chip, subsystem, register group, and terminal | |
CN108416744A (en) | Image processing method, device, equipment and computer readable storage medium | |
US20190140982A1 (en) | Communication Methods and Systems, Electronic Devices, and Computer Clusters | |
CN107516526A (en) | A kind of audio source tracking localization method, device, equipment and computer-readable recording medium | |
CN109104491A (en) | A kind of micro services call method, device, server and storage medium | |
US20230176929A1 (en) | Resource allocation method and apparatus based on edge computing | |
CN111901414A (en) | Realization method and realization system of secure desktop transmission protocol based on virtualization environment | |
CN105229695A (en) | The compression and decompression based on subset of graph data | |
CN108415939A (en) | Dialog process method, apparatus, equipment and computer readable storage medium based on artificial intelligence | |
CN103873886A (en) | Image information processing method, device and system | |
CN107402817A (en) | Save method, apparatus, set top box and the storage medium of internal memory | |
CN103444152A (en) | Transforming HTTP requests into Web services trust messages for security processing | |
CN106548049A (en) | A kind of code process method and apparatus | |
CN109446202A (en) | Identifier allocation method, device, server and storage medium | |
CN110807111A (en) | Three-dimensional graph processing method and device, storage medium and electronic equipment | |
CN106850149A (en) | A kind of data transmission method, device, equipment and storage medium | |
CN104679489A (en) | System and method for internally setting web browser in online game client side | |
CN102883213A (en) | Subtitle extraction method and device | |
US11729349B2 (en) | Method, electronic device, and computer program product for video processing | |
CN114205359A (en) | Video rendering coordination method, device and equipment | |
CN107707945A (en) | Method, apparatus, set top box and the storage medium of set top box compatibility dcss equipment | |
CN108694631A (en) | Method, apparatus, equipment and the storage medium of adjust automatically keyword bid |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20171128 |
|
RJ01 | Rejection of invention patent application after publication |