CN104661075B - A kind of data processing method and receiving terminal for digital television - Google Patents

A kind of data processing method and receiving terminal for digital television Download PDF

Info

Publication number
CN104661075B
CN104661075B CN201510059927.7A CN201510059927A CN104661075B CN 104661075 B CN104661075 B CN 104661075B CN 201510059927 A CN201510059927 A CN 201510059927A CN 104661075 B CN104661075 B CN 104661075B
Authority
CN
China
Prior art keywords
data
character
transmission standard
character transmission
head
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.)
Active
Application number
CN201510059927.7A
Other languages
Chinese (zh)
Other versions
CN104661075A (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 Skyworth Digital Technology Co Ltd
Shenzhen Skyworth Software Co Ltd
Original Assignee
Shenzhen Skyworth Digital Technology Co Ltd
Shenzhen Skyworth Software 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 Shenzhen Skyworth Digital Technology Co Ltd, Shenzhen Skyworth Software Co Ltd filed Critical Shenzhen Skyworth Digital Technology Co Ltd
Priority to CN201510059927.7A priority Critical patent/CN104661075B/en
Publication of CN104661075A publication Critical patent/CN104661075A/en
Application granted granted Critical
Publication of CN104661075B publication Critical patent/CN104661075B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The embodiment of the present invention provides a kind of data processing method and receiving terminal for digital television.Method therein includes the following steps:Condition of acceptance receiving front-end is for the data transmitted by the identification code of local terminal;Obtain the data head of the data;Character transmission standard according to corresponding to the data head calls character decoder to be decoded processing to the data;Export the data after decoding process.Also accordingly disclose receiving terminal for digital television.The embodiment of the present invention simply and easily realizes the decoding process to data, can improve the efficiency of data decoding process.

Description

A kind of data processing method and receiving terminal for digital television
Technical field
The present invention relates to digital TV fields, and in particular to a kind of data processing method and receiving terminal for digital television.
Background technology
At present, digital television program is divided into free flow program and scrambled program, wherein scrambled program by operator in CA (Conditional Access, condition reception) front end carries out program scrambling realization, by receiving terminal for digital television during broadcasting The normal play to realize scrambled program is descrambled to it, usual scrambled program is sponsored program.It CA front ends not only can be right Program is scrambled, and can also be sent the notification message from operator, such as mail, roll titles etc., be facilitated operator's needle User is notified to property.
But due to the having differences property of font that every country is shown, the CA front ends of operator are there is also diversity, at present Neither one unified data in CA front ends send standard, therefore in project development process, be frequently encountered data character and show Abnormal or mess code situation, current solution are made a concrete analysis of according to specific project, consulting operator transmission data The character transmission standard of Shi Caiyong or the data sent by operator and the data actually obtained compare and push away CA front ends come counter Character transmission standard, corresponding character transcoder is then individually integrated in receiving terminal for digital television to realize data just Often display.It is not only cumbersome but also time-consuming to integrate character transcoder individually for each project, can influence to a certain extent project process, Reduce development efficiency.
Invention content
The embodiment of the present invention provides a kind of data processing method and receiving terminal for digital television, simply and easily realization pair The decoding process of data can improve the efficiency of data decoding process.
First aspect of the embodiment of the present invention provides a kind of data processing method, it may include:
Condition of acceptance receiving front-end is for the data transmitted by the identification code of local terminal;
Obtain the data head of the data;
Character transmission standard according to corresponding to the data head calls character decoder to be decoded place to the data Reason;
Export the data after decoding process.
Second aspect of the embodiment of the present invention provides a kind of receiving terminal for digital television, it may include:
Receiving module, for condition of acceptance receiving front-end for the data transmitted by the identification code of local terminal;
Acquisition module, for obtaining the data head of the data;
Decoder module for the character transmission standard according to corresponding to the data head, calls character decoder to described Data are decoded processing;
Output module, for exporting the data after decoding process.
In embodiments of the present invention, by obtaining number of the condition reception front end for the data transmitted by the identification code of local terminal According to head, and the character transmission standard according to corresponding to data head calls mark of the character decoder to condition reception front end for local terminal Know the data transmitted by code and be decoded processing, export the data after decoding process, simply and easily realize the decoding to data Processing improves the efficiency of data processing, enhances flexibility and the practicability of Character decoder device.
Description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, to embodiment or will show below There is attached drawing needed in technology description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention, for those of ordinary skill in the art, without creative efforts, can be with Other attached drawings are obtained according to these attached drawings.
Fig. 1 is a kind of flow diagram of data processing method provided in an embodiment of the present invention;
Fig. 2 is the flow diagram of another data processing method provided in an embodiment of the present invention;
Fig. 3 is the flow diagram of another data processing method provided in an embodiment of the present invention;
Fig. 4 is a kind of structure diagram of receiving terminal for digital television provided in an embodiment of the present invention;
Fig. 5 is the structure diagram of decoder module provided in an embodiment of the present invention.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present invention, the technical solution in the embodiment of the present invention is carried out clear, complete Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, those of ordinary skill in the art are obtained every other without making creative work Embodiment shall fall within the protection scope of the present invention.
Receiving terminal for digital television provided in an embodiment of the present invention can be various types of set-top boxes, including SD machine top Box, high definition set top box, low dominant frequency set-top box etc. can also include set-top box and the combined all-in-one machine of DTV.
In overseas in the development process of project, due to the having differences property of font that the Carrier Requirements of every country are shown, There is also diversity for the CA front ends of various countries, transmit the character transmission standard used during data and also there is diversity, research and develop Personnel are frequently encountered the data of display and data that the CA front ends are sent are inconsistent or go out during exploration project The situation of existing mess code data, the prior art in the receiving terminal for digital television by integrating the word with being used during transmission data The corresponding Character decoder device of transmission standard is accorded with, can only solve the problems, such as under current environment there is certain limitation.Therefore this hair The Character decoder device that bright embodiment provides includes at least one and corresponding decoding process of character transmission standard, the character solution Code device is integrated in the receiving terminal for digital television, if the Character decoder device is including opposite with some character transmission standard The decoding process answered, research staff can supplement corresponding with some described character transmission standard in the Character decoder device Decoding process is to improve the Character decoder device.
It describes in detail below in conjunction with attached drawing 1- attached drawings 3 to data processing method of the embodiment of the present invention.
Fig. 1 is referred to, is a kind of flow diagram of data processing method provided in an embodiment of the present invention, this method can wrap Include step S101- steps S104.
S101, condition of acceptance receiving front-end is for the data transmitted by the identification code of local terminal.
Wherein, for the CA of receiving terminal for digital television, (Conditional Access, condition connect the identification code of the local terminal Receive) card number, each receiving terminal for digital television has different and uniquely CA card numbers, operator pass through CA front ends, i.e., described item Part receiving front-end pointedly sends the letters such as program, notification message according to the CA card numbers to the receiving terminal for digital television Breath.The receiving terminal for digital television receives the CA front ends for the data transmitted by the identification code of local terminal, and the data can To include but not limited to the data such as advertisement information, roll titles, circular mail, payment information, prompting message.
S102 obtains the data head of the data.
Specifically, the receiving terminal for digital television obtains the CA front ends for the data transmitted by the identification code of local terminal Data head, the data head in embodiments of the present invention is the first character of the data.At present, due to each country For basic ASCII, (American Standard Code for Information Interchange, U.S. information exchange Standard code) character definition with use when it is identical, therefore represent using the basic ascii character data of the data Head.Ascii character shares 256, and preceding 128 characters are the basic ascii character, and rear 128 characters are extension ASCII words Symbol, different countries might have different formulation standards for the extension ascii character.
S103, the character transmission standard according to corresponding to the data head call character decoder to carry out the data Decoding process.
Specifically, before the receiving terminal for digital television can obtain the CA by obtaining the character value of the data head Transmit the character transmission standard used during the data in end.Wherein, the character transmission standard according to the language of different zones and It is different, therefore International Organization for standardization and International Electrotechnical Commission combine and have formulated a series of 8 character set standards, i.e., ISO8859, to meet multilingual needs, and the ISO8859 is compatible with the ASCII.
The receiving terminal for digital television determines character transmission standard according to the character value of the data head, described in calling Processing is decoded to the data with the character transmission standard corresponding decoding process in Character decoder device, but not It is that the character values of all data heads has corresponding character transmission standard, only when the data head is non-visible character, Have a character transmission standard corresponding to the non-visible character, thus the receiving terminal for digital television need first to judge it is described Whether data head is the non-visible character.Wherein, the character value of the non-visible character be less than preset character value, i.e., ten six System number 0x20.
When the data head is the non-visible character, show that the character value of the data head is less than the preset word Identifier value, character transmission standard of the receiving terminal for digital television according to corresponding to the data head are called in character decoder Corresponding decoding process is decoded processing to the data.For example, when the character value of the data head is 0x01, show institute It states data head and character transmission standard that data behind use is ISO8599-1 West Europe character standard;When the data head Character value when being 0x12, show the data head and character transmission standard that data behind use is Korean characters collection KSC5601 standards;When the character value of the data head is 0x13, show the data head and the word that data behind use Symbol transmission standard is GB2312 standards.
When the data head is character visible, show that the character value of the data head is more than the preset character value, The corresponding character transmission standard of character value with the data head, therefore the number are not present in existing character transmission standard Word television reception terminal needs to obtain current character transmission standard, and is the data weight according to the current character transmission standard New encapsulation of data head, the data head Resealed are the non-visible character, call in the Character decoder device with it is described current The corresponding decoding process of character transmission standard is decoded processing to the data Resealed.If the Digital TV Receiving is whole Holding the data after detecting decoding process, there are mess code data, need to obtain correct current character transmission standard again and to described Data are decoded processing.
S104 exports the data after decoding process.
Specifically, the receiving terminal for digital television exports the data after decoding process to display end, so that described aobvious Show that end can normally show the data that the CA front ends are sent, wherein, the display end can be that DTV etc. shows equipment.
In embodiments of the present invention, by obtaining number of the condition reception front end for the data transmitted by the identification code of local terminal According to head, and the character transmission standard according to corresponding to data head calls mark of the character decoder to condition reception front end for local terminal Know the data transmitted by code and be decoded processing, export the data after decoding process, simply and easily realize the decoding to data Processing improves the efficiency of data processing, enhances flexibility and the practicability of Character decoder device.
Fig. 2 is referred to, for the flow diagram of another data processing method provided in an embodiment of the present invention, this method can Including step S201- steps S207.
S201, condition of acceptance receiving front-end is for the data transmitted by the identification code of local terminal.
Wherein, CA card number of the identification code of the local terminal for receiving terminal for digital television, each receiving terminal for digital television With different and unique CA card numbers, operator is directed to by CA front ends, i.e., described condition reception front end according to the CA card numbers Property send program, the information such as notification message to the receiving terminal for digital television.The receiving terminal for digital television receives institute CA front ends are stated for the data transmitted by the identification code of local terminal, the data can include but is not limited to advertisement information, roll word The data such as curtain, circular mail, payment information, prompting message.
S202 obtains the data head of the data.
Specifically, the receiving terminal for digital television obtains the CA front ends for the data transmitted by the identification code of local terminal Data head, the data head in embodiments of the present invention is the first character of the data.
S203 judges whether the data head is non-visible character.
The receiving terminal for digital television determines character transmission standard according to the character value of the data head, described in calling Processing is decoded to the data with the character transmission standard corresponding decoding process in Character decoder device, but not It is that the character values of all data heads has corresponding character transmission standard, only when the data head is non-visible character, Have a character transmission standard corresponding to the non-visible character, thus the receiving terminal for digital television need first to judge it is described Whether data head is the non-visible character.Wherein, the character value of the non-visible character be less than preset character value, i.e., ten six System number 0x20.
S204, the character transmission standard according to corresponding to the data head call character decoder to carry out the data Decoding process.
Specifically, when the result judged is is, it is the non-visible character and the data to show the data head The character value of head is less than the preset character value, character of the receiving terminal for digital television according to corresponding to the data head Transmission standard calls corresponding decoding process in character decoder to be decoded processing to the data.For example, when the data When the character value of head is 0x01, shows the data head and character transmission standard that data behind use is ISO8599-1 West Europe character standard;When the character value of the data head is 0x12, shows the data head and data behind use Character transmission standard is Korean characters collection KSC5601 standards;When the character value of the data head is 0x13, show the data The character transmission standard that head and data behind use is GB2312 standard.
S205 obtains current character transmission standard and is Resealed according to the current character transmission standard for the data Data head.
Specifically, when the result judged is no, show the data head for character visible and the word of the data head Identifier value is more than the preset character value, is not present in existing character transmission standard corresponding with the character value of the data head Character transmission standard, therefore the receiving terminal for digital television needs to be adopted when obtaining the condition reception front end delivery data Current character transmission standard, and data head is Resealed for the data according to the current character transmission standard, again The data head of encapsulation is the non-visible character, in the specific implementation, non-visible corresponding to by the current character transmission standard Character is added to data and as the data head of the data, and the length of the data Resealed is than the length of the data More characters, call later in the Character decoder device with the corresponding decoding process counterweight of the current character transmission standard The data newly encapsulated are decoded processing.
The receiving terminal for digital television obtains the condition reception front end delivery number according to the region setting information of local terminal According to when used current character transmission standard and as the first character transmission standard, the receiving terminal for digital television is also Used current character transmission standard when can obtain the condition reception front end delivery data to the operator of the local terminal And as the second character transmission standard.
S206 calls character decoder to solve the data Resealed according to the current character transmission standard Code processing.
Specifically, preferentially according to the first character transmission standard call in the Character decoder device with first character The corresponding decoding process of transmission standard is decoded processing to the data Resealed, at this point, decoding process need to be detected Data afterwards whether there is mess code data, when the result of detection is no, show that the first character transmission standard is correct Current character transmission standard;When the result of detection is when being, to obtain the second character transmission standard and according to second word It is data encapsulation of data head again to accord with transmission standard, and character decoder is called to institute according to the second character transmission standard It states the data encapsulated again and is decoded processing.
S207 exports the data after decoding process.
Specifically, the receiving terminal for digital television exports the data after decoding process to display end, so that described aobvious Show that end can normally show the data that the CA front ends are sent, wherein, the display end can be that DTV etc. shows equipment.
In embodiments of the present invention, by obtaining number of the condition reception front end for the data transmitted by the identification code of local terminal According to head, and the character transmission standard according to corresponding to data head calls mark of the character decoder to condition reception front end for local terminal Know the data transmitted by code and be decoded processing, export the data after decoding process, simply and easily realize the decoding to data Processing can not only improve the efficiency of data processing, moreover it is possible to reduce the error rate of data processing, enhance the flexible of Character decoder device Property and practicability.
Fig. 3 is referred to, for the flow diagram of another data processing method provided in an embodiment of the present invention, this method can Including step S301- steps S310.
S301, condition of acceptance receiving front-end is for the data transmitted by the identification code of local terminal.
S302 obtains the data head of the data.
S303 judges whether the data head is non-visible character.
S304, the character transmission standard according to corresponding to the data head call character decoder to carry out the data Decoding process.
Step S201- steps S204 in the embodiment of the present invention can be found in the step S201- steps of embodiment shown in Fig. 2 S204, details are not described herein.
S305, it is used current when obtaining the condition reception front end delivery data according to the region setting information of local terminal Character transmission standard and as the first character transmission standard.
Specifically, when the result judged is no, show the data head for character visible and the word of the data head Identifier value is more than the preset character value, is not present in existing character transmission standard corresponding with the character value of the data head Character transmission standard, therefore when condition reception front end delivery data are obtained according to the region setting information of local terminal used Current character transmission standard and as the first character transmission standard.Wherein, the region setting information of the local terminal includes The category of language set by geographical location, local terminal residing for local terminal.For example, the region setting letter of the receiving terminal for digital television It is Korean to cease for South Korea, category of language, and the first character transmission standard that setting information is got according to the region is KSC5601 standards.
S306 is detected and be whether there is mess code data according to the data after the first character transmission standard decoding process.
Specifically, since the same area setting information may include more than one character transmission standard, first character Transmission standard is not necessarily correct current character transmission standard, can according to the data after the first character standard decoding process It can there are mess code data, it is therefore desirable to detect according to the data after the first character transmission standard decoding process with the presence or absence of disorderly Code data.For example, the region of India is vast, the character transmission standard more than one that CA front ends use.
S307 calls character decoder to solve the data Resealed according to the first character transmission standard Code processing.
Specifically, when the result of detection is no, show that the first character transmission standard is passed for correct current character Defeated standard continues character decoder to be called to be decoded the data Resealed according to the first character transmission standard Processing.
S308, used current character when obtaining the condition reception front end delivery data to the operator of the local terminal Transmission standard and as the second character transmission standard.
Specifically, when the result of detection is when being, shows that the first character transmission standard is not correct current character Transmission standard, thus to the local terminal operator obtain the condition reception front end delivery data when used current character Transmission standard and as the second character transmission standard.Since the operator of the local terminal is sent out by the CA front ends to local terminal Data are sent, therefore the second character transmission standard obtained to the operator of the local terminal is correct current character transmission standard.
S309 calls character decoder to solve the data encapsulated again according to the second character transmission standard Code processing.
Specifically, the non-visible character corresponding to the second character transmission standard is added to the data and as institute The data head for stating data encapsulates the data again, the data encapsulated again than the data length more than a word Symbol is called in the Character decoder device and is encapsulated again to described with the corresponding decoding process of the second character transmission standard Data are decoded processing.If the Character decoder device does not include and the corresponding decoding side of the second character transmission standard Formula, research staff can be supplemented in the Character decoder device with the corresponding decoding process of the second character transmission standard with Improve the Character decoder device.
S310 exports the data after decoding process.
Specifically, the receiving terminal for digital television exports the data after decoding process to display end, so that described aobvious Show that end can normally show the data that the CA front ends are sent, wherein, the display end can be that DTV etc. shows equipment.
In embodiments of the present invention, by obtaining number of the condition reception front end for the data transmitted by the identification code of local terminal According to head, and the character transmission standard according to corresponding to data head calls mark of the character decoder to condition reception front end for local terminal Know the data transmitted by code and be decoded processing, export the data after decoding process, simply and easily realize the decoding to data Processing can not only improve the efficiency of data processing, moreover it is possible to reduce the error rate of data processing, enhance the flexible of Character decoder device Property and practicability.
It is situated between in detail to receiving terminal for digital television provided in an embodiment of the present invention below in conjunction with attached drawing 4 and attached drawing 5 It continues.It should be noted that attached drawing 4 and attached terminal shown in fig. 5, for performing the method for Fig. 1-embodiment illustrated in fig. 3 of the present invention, For convenience of description, it illustrates only and is not disclosed with the relevant part of the embodiment of the present invention, particular technique details, please refer to this hair Bright Fig. 1-embodiment shown in Fig. 3.
Fig. 4 is referred to, for a kind of structure diagram of receiving terminal for digital television provided in an embodiment of the present invention, the number Word television reception terminal 10 may include:Receiving module 101, acquisition module 102, decoder module 103 and output module 104.
Receiving module 101, for condition of acceptance receiving front-end for the data transmitted by the identification code of local terminal.
In the specific implementation, the 101 condition of acceptance receiving front-end of receiving module is for the number transmitted by the identification code of local terminal According to.Wherein, CA card number of the identification code of the local terminal for the receiving terminal for digital television 10, each receiving terminal for digital television With different and unique CA card numbers, operator is directed to by CA front ends, i.e., described condition reception front end according to the CA card numbers Property send program, the information such as notification message to the receiving terminal for digital television 10.The receiving terminal for digital television 10 connects The CA front ends are received for the data transmitted by the identification code of local terminal, the data can include but is not limited to advertisement information, rolling The data such as dynamic subtitle, circular mail, payment information, prompting message.
Acquisition module 102, for obtaining the data head of the data.
In the specific implementation, the acquisition module 102 is used for the receiving terminal for digital television 10 according to the receiving module 101 obtain the data head of the CA front ends for the data transmitted by the identification code of local terminal, in embodiments of the present invention described Data head is the first character of the data.
Decoder module 103 for the character transmission standard according to corresponding to the data head, calls character decoder to institute It states data and is decoded processing.
In the specific implementation, the decoder module 103 is according to corresponding to the data head that the acquisition module 102 is got Character transmission standard, call character decoder processing is decoded to the data.The receiving terminal for digital television 10 is logical Crossing the character value for the data head that the acquisition module 102 obtains can obtain using during data described in the CA front end deliveries Character transmission standard.Wherein, the character transmission standard is different according to the language of different zones, therefore international standard Change tissue and International Electrotechnical Commission, which combine, has formulated a series of 8 character set standards, i.e. ISO8859 is multilingual to meet Needs, and the ISO8859 is compatible with the ASCII.
The receiving terminal for digital television 10 determines character transmission standard according to the character value of the data head, calls institute It states in Character decoder device and processing is decoded to the data with the character transmission standard corresponding decoding process, but simultaneously The character value of not all data head has corresponding character transmission standard, only when the data head is non-visible character, Just there is the character transmission standard corresponding to the non-visible character, therefore the receiving terminal for digital television 10 needs first to judge Whether the data head is the non-visible character.Wherein, the character value of the non-visible character is less than preset character value, i.e., Hexadecimal number 0x20.
When the data head is the non-visible character, show that the character value of the data head is less than the preset word Identifier value, character transmission standard of the receiving terminal for digital television 10 according to corresponding to the data head call character decoder In corresponding decoding process processing is decoded to the data.For example, when the character value of the data head is 0x01, show The character transmission standard that the data head and data behind use is ISO8599-1 West Europe character standard;When the data When the character value of head is 0x12, shows the data head and character transmission standard that data behind use is Korean characters collection KSC5601 standards;When the character value of the data head is 0x13, show the data head and the word that data behind use Symbol transmission standard is GB2312 standards.
When the data head is character visible, show that the character value of the data head is more than the preset character value, The corresponding character transmission standard of character value with the data head, therefore the number are not present in existing character transmission standard Word television reception terminal 10 needs to obtain current character transmission standard, and is the data according to the current character transmission standard Data head is Resealed, the data head Resealed is the non-visible character, calls in the Character decoder device and works as with described The preceding corresponding decoding process of character transmission standard is decoded processing to the data Resealed.If the Digital TV Receiving Terminal 10 detects the data after decoding process there are mess code data, need to obtain correct current character transmission standard and right again The data are decoded processing.
Output module 104, for exporting the data after decoding process.
In the specific implementation, the receiving terminal for digital television 10 by the output module 104 by the number after decoding process According to output to display end, so that the display end can normally show the data that the CA front ends are sent, wherein, the display end Can be that DTV etc. shows equipment.
In embodiments of the present invention, by obtaining number of the condition reception front end for the data transmitted by the identification code of local terminal According to head, and the character transmission standard according to corresponding to data head calls mark of the character decoder to condition reception front end for local terminal Know the data transmitted by code and be decoded processing, export the data after decoding process, simply and easily realize the decoding to data Processing improves the efficiency of data processing, enhances flexibility and the practicability of Character decoder device.
Fig. 5 is referred to, is the structure diagram of decoder module provided in an embodiment of the present invention, the decoder module 103 can Including:Judging unit 1031, the first decoding unit 1032,1033 and second decoding unit 1034 of encapsulation unit, wherein, the envelope It fills unit 1033 and includes the first acquisition subelement 1133 and encapsulation subelement 1233, second decoding unit 1034 includes detection Subelement 1234, second obtains subelement 1334 and decoding subunit 1434.
Judging unit 1031, for judging whether the data head is non-visible character.
In the specific implementation, the judging unit 1031 judges whether the data head is non-visible character, it is described non-visible The character value of character is less than preset character value, i.e. hexadecimal number 0x20.The receiving terminal for digital television 10 is according to described The character value of data head determines character transmission standard, calls corresponding with the character transmission standard in the Character decoder device Decoding process the data are decoded with processing, but the character value of not all data head has corresponding character to pass Defeated standard only when the data head is non-visible character, just there is the character transmission mark corresponding to the non-visible character Standard, therefore the judging unit 1031 needs first to judge whether the data head is the non-visible character.
First decoding unit 1032, for when the result judged is is, the character according to corresponding to the data head to pass Defeated standard calls character decoder to be decoded processing to the data.
In the specific implementation, when the judging result of the judging unit 1031 is when being, shows that the data head is described non- Character visible and the character value of the data head are less than the preset character value, and first decoding unit 1032 is according to institute The character transmission standard corresponding to data head is stated, corresponding decoding process in character decoder is called to be decoded the data Processing.For example, when the character value of the data head is 0x01, show the data head and the character that data behind use Transmission standard is ISO8599-1 West Europe character standard;When the data head character value be 0x12 when, show the data head and The character transmission standard that data behind use is Korean characters collection KSC5601 standard;When the character value of the data head is During 0x13, show the data head and character transmission standard that data behind use is GB2312 standard.
Encapsulation unit 1033, for when the result judged is no, obtaining current character transmission standard and being worked as according to described Preceding character transmission standard Reseals data head for the data.
In the specific implementation, when the judging result of the judging unit 1031 is no, it is visible word to show the data head Accord with and the character value of the data head be more than the preset character value, be not present in existing character transmission standard with it is described The corresponding character transmission standard of character value of data head, therefore the encapsulation unit 1033 is needed before obtaining the condition reception End transmission data when used current character transmission standard, and according to the current character transmission standard for the data again Encapsulation of data head, the data head Resealed are the non-visible character.The encapsulation unit 1033 includes first and obtains son list Member 1133 and encapsulation subelement 1233.
First obtains subelement 1133, used current character during for obtaining the condition reception front end delivery data Transmission standard.
In the specific implementation, described first obtains subelement 1133 preferentially according to the region setting information acquisition item of local terminal Used current character transmission standard and as the first character transmission standard when part receiving front-end transmits data, if described First character transmission standard is not correct current transmission standard, then described first obtains fortune of the subelement 1133 to the local terminal Seek used current character transmission standard and as the second character when quotient obtains the condition reception front end delivery data Transmission standard.Wherein, the region setting information of the local terminal includes the geographical location residing for local terminal, the language kind set by local terminal Class.For example, the region setting information of the receiving terminal for digital television is South Korea, category of language is Korean, set according to the region The first character transmission standard that confidence breath is got is KSC5601 standards.
Subelement 1233 is encapsulated, it is described for the non-visible character corresponding to the current character transmission standard to be added to Data and as the data head of the data.
In the specific implementation, the current word that the encapsulation subelement 1233 obtains the described first acquisition subelement 1133 It accords with the non-visible character corresponding to transmission standard and is added to the data and as the data head of the data, the number Resealed According to length than the data length more than a character.
Second decoding unit 1034, for calling character decoder to Resealing according to the current character transmission standard Data be decoded processing.
In the specific implementation, the current word that second decoding unit 1034 is got according to the encapsulation unit 1033 Transmission standard is accorded with to call in the Character decoder device with the corresponding decoding process of current character transmission standard to described heavy The data newly encapsulated are decoded processing, and the current character transmission standard may be the first character transmission standard, also may be used It can be the second character transmission standard.
Whether detection sub-unit 1234 deposits for detecting according to the data after the first character transmission standard decoding process In mess code data.
In the specific implementation, due to the same area setting information may include more than one character transmission standard, described first Character transmission standard is not necessarily correct current character transmission standard, according to the number after the first character standard decoding process According to there may be mess code data, it is therefore desirable to detect according to whether the data after the first character transmission standard decoding process deposit In mess code data.For example, the region of India is vast, the character transmission standard more than one that CA front ends use.
Second obtains subelement 1334, for when the result of detection is when being, obtains the second character transmission standard simultaneously It is data encapsulation of data head again according to the second character transmission standard.
In the specific implementation, when the testing result of the detection sub-unit 1234 is when being, shows first character transmission Standard is not correct current character transmission standard, therefore the operator of the second acquisition subelement 1334 to the local terminal obtains Used current character transmission standard and as the second character transmission mark when taking the condition reception front end delivery data It is accurate.Due to the local terminal operator by the CA front ends to local terminal transmission data, obtained to the operator of the local terminal The the second character transmission standard taken is correct current character transmission standard.
Decoding subunit 1434, for character decoder being called to be sealed again to described according to the second character transmission standard The data of dress are decoded processing.
In the specific implementation, the decoding subunit 1434 by described second acquisition subelement 1334 get described second Non-visible character corresponding to character transmission standard is added to the data, and the data head as the data is to the data Encapsulated again, the data encapsulated again than the data length more than a character, call in the Character decoder device with The corresponding decoding process of second character transmission standard is decoded processing to the data encapsulated again.If the word Accord with decoder do not include with the corresponding decoding process of the second character transmission standard, research staff can be in the character solution It supplements with the corresponding decoding process of the second character transmission standard to improve the Character decoder device in code device.
The embodiment of the present invention can be ensured that the data after decoding process are normally shown in display end, avoid mess code data Occur, reduce the error rate of data processing, while enhance flexibility and the practicability of Character decoder device.
One of ordinary skill in the art will appreciate that realizing all or part of flow in above-described embodiment method, being can be with Relevant hardware is instructed to complete by computer program, the program can be stored in a computer read/write memory medium In, the program is when being executed, it may include such as the flow of the embodiment of above-mentioned each method.Wherein, the storage medium can be magnetic Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access Memory, RAM) etc..
The above disclosure is only the preferred embodiments of the present invention, cannot limit the right model of the present invention with this certainly It encloses, therefore equivalent variations made according to the claims of the present invention, is still within the scope of the present invention.

Claims (8)

1. a kind of data processing method, which is characterized in that including:
Condition of acceptance receiving front-end is for the data transmitted by the identification code of local terminal;
Obtain the data head of the data;
Judge whether the data head is non-visible character, the character value of the non-visible character is less than preset character value, institute The character value of non-visible character is stated there are corresponding character transmission standard, the preset character value is hexadecimal number 0x20;
When the result judged is is, the character transmission standard according to corresponding to the data head calls character decoder to institute It states data and is decoded processing;
When the result judged is no, used current character transmission mark during the condition reception front end delivery data is obtained It is accurate;
Non-visible character corresponding to the current character transmission standard is added to the data and as the number of the data According to head;
Character decoder is called to be decoded processing to the data Resealed according to the current character transmission standard;
Export the data after decoding process.
2. according to the method described in claim 1, it is characterized in that, described obtain the condition reception front end delivery data when institute The current character transmission standard of use, including:
Used current character transmission when obtaining the condition reception front end delivery data according to the region setting information of local terminal Standard and as the first character transmission standard;
Or to the operator of the local terminal obtain the condition reception front end delivery data when used current character transmit Standard and as the second character transmission standard.
3. according to the method described in claim 2, it is characterized in that, described call character according to the current character transmission standard Decoder is decoded processing to the data Resealed, including:
Detection whether there is mess code data according to the data after the first character transmission standard decoding process;
When the result of detection is when being, obtains the second character transmission standard and be institute according to the second character transmission standard State data encapsulation of data head again;
Character decoder is called to be decoded processing to the data encapsulated again according to the second character transmission standard.
4. method according to any one of claims 1 to 3, which is characterized in that the Character decoder device includes at least one With the corresponding decoding process of character transmission standard.
5. a kind of receiving terminal for digital television, which is characterized in that including:
Receiving module, for condition of acceptance receiving front-end for the data transmitted by the identification code of local terminal;
Acquisition module, for obtaining the data head of the data;
Judging unit, for judging whether the data head is non-visible character, the character value of the non-visible character is less than in advance If character value, there are corresponding character transmission standard, the preset character value is ten for the character value of the non-visible character Senary number 0x20;
First decoding unit, for when the result judged is is, the character transmission standard according to corresponding to the data head to be adjusted Processing is decoded to the data with Character decoder device;
First obtains subelement, for when the result judged is no, being adopted when obtaining the condition reception front end delivery data Current character transmission standard;
Subelement is encapsulated, for the non-visible character corresponding to the current character transmission standard to be added to the data and is made Data head for the data;
Second decoding unit, for according to the current character transmission standard call character decoder to the data that Reseal into Row decoding process;
Output module, for exporting the data after decoding process.
6. terminal according to claim 5, which is characterized in that described first, which obtains subelement, is specifically used for according to local terminal When region setting information obtains the condition reception front end delivery data used current character transmission standard and as First character transmission standard;
The first acquisition subelement is specifically additionally operable to obtain the condition reception front end delivery number to the operator of the local terminal According to when used current character transmission standard and as the second character transmission standard.
7. terminal according to claim 6, which is characterized in that second decoding unit includes:
Detection sub-unit whether there is mess code number for detecting according to the data after the first character transmission standard decoding process According to;
Second obtains subelement, for when the result of detection is when being, to obtain the second character transmission standard and according to described Second character transmission standard is data encapsulation of data head again;
Decoding subunit, for calling character decoder to the data encapsulated again according to the second character transmission standard It is decoded processing.
8. according to claim 5 to 7 any one of them terminal, which is characterized in that the Character decoder device includes at least one With the corresponding decoding process of character transmission standard.
CN201510059927.7A 2015-02-04 2015-02-04 A kind of data processing method and receiving terminal for digital television Active CN104661075B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510059927.7A CN104661075B (en) 2015-02-04 2015-02-04 A kind of data processing method and receiving terminal for digital television

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510059927.7A CN104661075B (en) 2015-02-04 2015-02-04 A kind of data processing method and receiving terminal for digital television

Publications (2)

Publication Number Publication Date
CN104661075A CN104661075A (en) 2015-05-27
CN104661075B true CN104661075B (en) 2018-07-03

Family

ID=53251689

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510059927.7A Active CN104661075B (en) 2015-02-04 2015-02-04 A kind of data processing method and receiving terminal for digital television

Country Status (1)

Country Link
CN (1) CN104661075B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111131871B (en) * 2019-12-03 2021-03-19 海信视像科技股份有限公司 Method and display equipment for displaying EPG (electronic program guide) user interface during program playing

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1852416A (en) * 2005-09-28 2006-10-25 华为技术有限公司 Method and system for realizing combined authorization of enciphering system
CN101350910A (en) * 2008-09-04 2009-01-21 郑海涛 Method for separating machine and card of digital television receive terminal
CN102722544A (en) * 2012-05-24 2012-10-10 北京国双科技有限公司 Method and device for decoding character strings
WO2013144585A1 (en) * 2012-03-26 2013-10-03 Sony Corporation Conditional access method and apparatus for simultaneously handling multiple television programmes
CN103561317A (en) * 2013-11-04 2014-02-05 深圳国微技术有限公司 Conditional access card CAM and data processing method
CN104092514A (en) * 2014-07-08 2014-10-08 深圳市同洲电子股份有限公司 Encoding mode switching method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1852416A (en) * 2005-09-28 2006-10-25 华为技术有限公司 Method and system for realizing combined authorization of enciphering system
CN101350910A (en) * 2008-09-04 2009-01-21 郑海涛 Method for separating machine and card of digital television receive terminal
WO2013144585A1 (en) * 2012-03-26 2013-10-03 Sony Corporation Conditional access method and apparatus for simultaneously handling multiple television programmes
CN102722544A (en) * 2012-05-24 2012-10-10 北京国双科技有限公司 Method and device for decoding character strings
CN103561317A (en) * 2013-11-04 2014-02-05 深圳国微技术有限公司 Conditional access card CAM and data processing method
CN104092514A (en) * 2014-07-08 2014-10-08 深圳市同洲电子股份有限公司 Encoding mode switching method and device

Also Published As

Publication number Publication date
CN104661075A (en) 2015-05-27

Similar Documents

Publication Publication Date Title
KR20140123086A (en) Systems and methods for enabling stations to connect to wireless hotspots using non-unicode service set identification information
CN111327687B (en) Data transmission method and device, electronic equipment and storage medium
TW201143363A (en) Transmission and handling of three-dimensional video content
CN108495120A (en) A kind of video frame detection, processing method, apparatus and system
CN106658756A (en) Method and device for recognizing connection between terminal device and hotspot
CN103248420A (en) Methods, systems and devices for detecting and identifying fiber connection
US20110170454A1 (en) Terminals, systems and methods for transmitting continual service multiplex configuration information
CN104661075B (en) A kind of data processing method and receiving terminal for digital television
CN100505859C (en) A ponit-to-multipoint wireless display method
CN105610730A (en) Method and system for message interaction between CPU and network equipment
CN112291223A (en) Solution for mobile phone terminal not supporting 5G message
CN108076532A (en) A kind of accidental access method
KR20100022912A (en) Method and apparatus for transmitting broadcast data and method and apparatus for receiving broadcast data
CN106160982A (en) Information processing method and electronic equipment
CN103916242A (en) Encryption and decryption method of transmission data based on audio interface
CN104125593B (en) A kind of information processing method and electronic equipment
CN106230948A (en) Service end and advertisement pushing device and method
CN104065559A (en) Email marking method and device
CN101420512A (en) CMMB mobile television rod having Micro SC memory card reader
CN104348955A (en) A method, device and terminal for determining user interface display language of SIM card
CN201750507U (en) Conditional access (CA) equipment based on USB interface
CN104602099B (en) A kind of method and device of Subtitle Demonstration
CN108512803A (en) Remind the method and device of change account bound phone number
CN102841928A (en) Method and device for securely transmitting and receiving inter-network file
CN103686336B (en) Video playing control method 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