CN102170587A - Method and device for automatically identifying high frequency turner models - Google Patents

Method and device for automatically identifying high frequency turner models Download PDF

Info

Publication number
CN102170587A
CN102170587A CN 201110054840 CN201110054840A CN102170587A CN 102170587 A CN102170587 A CN 102170587A CN 201110054840 CN201110054840 CN 201110054840 CN 201110054840 A CN201110054840 A CN 201110054840A CN 102170587 A CN102170587 A CN 102170587A
Authority
CN
China
Prior art keywords
tuner
model
memory cell
initialization
tuner model
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN 201110054840
Other languages
Chinese (zh)
Inventor
张德亮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Coship Electronics Co Ltd
Original Assignee
Shenzhen Coship Electronics 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 Coship Electronics Co Ltd filed Critical Shenzhen Coship Electronics Co Ltd
Priority to CN 201110054840 priority Critical patent/CN102170587A/en
Publication of CN102170587A publication Critical patent/CN102170587A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Circuits Of Receivers In General (AREA)

Abstract

The present invention provides a method for automatically identifying high frequency turner models. In the method, when initialization of a high frequency turner is judged as a failure or a saved high frequency turner model is judged as vacant, the identification times of the high frequency turner modelis increased by 1; when the identification times of the high frequency turner model is verified less than a preset threshold, the high frequency turner with a saved initialization program set is initialized; and when the initialization of the high frequency turner is judged as successful, the high frequency turner model is obtained and saved. The invention also provides a device for automatically identifying high frequency turner models. When the turner model is not successfully obtained or the initialization of the high frequency turner is judged as a failure by a control unit, the identification times of the saved high frequency turner model is increased by 1; when the identification times of the saved high frequency turner model is judged less than the preset threshold, the high frequency turner with a read initialization program set is initialized; and when the initialization of the high frequency turner is successful, the high frequency turner model is obtained and saved. By using the method and the device of the invention, the high frequency turner models can be identified correctly, thereby raising the universality.

Description

A kind of method and device of automatic identification tuner model
Technical field
The present invention relates to receiving terminal for digital television, particularly a kind of method and device of automatic identification tuner model.
Background technology
Present receiving terminal for digital television, such as set-top box, on the receiving side signal formula, mainly be divided into satellite receiving terminal, wired receiving terminal and ground receiving terminal, this receiving terminal for digital television of three types can adopt mainboard, and the tuner platelet corresponding with the receiving side signal formula of same type; In other words, under the situation that adopts identical mainboard,, just can design the receiving terminal for digital television that satisfies above-mentioned any type, reduce development cost to a certain extent, shorten the development time as long as change the tuner platelet.Wherein, the circuit board of tuner platelet tuner that has been integrated and demodulation module; Changing different tuner platelets is actually and changes tuner model and the demodulation module corresponding with tuner be integrated on this tuner platelet.
In the process of receiving terminal for digital television of a certain receiving side signal formula of exploitation, be the key point of exploitation receiving terminal for digital television to the correct identification of tuner model.Fig. 1 is the structural representation of existing receiving terminal for digital television.As shown in Figure 1, the memory cell 102 that comprises of the mainboard 10 in the existing receiving terminal for digital television stores tuner model and the initialize routine corresponding with the tuner model; When the control unit 101 that comprises at mainboard 10 is connected with tuner platelet 12 by interface circuit 11, the control unit 101 of mainboard 10 is according to the tuner model that reads from memory cell 102, read the initialize routine of this model correspondence from memory cell 102, carry out initialization by the tuner (not shown in figure 1) that 11 pairs of interface circuits are integrated on the tuner platelet 12.In the existing receiving terminal for digital television, the tuner model is to be written into memory cell 102 when the control unit 101 of mainboard 10 starts for the first time; If this receiving terminal for digital television is changed to the another kind of receiving side signal formula that adopts, then can keep mainboard 10 and connecting circuit 11, the tuner platelet 12 of only changing the different model tuner integrated gets final product; But, the tuner model that be stored in the memory cell 102 of mainboard 10 this moment is not carried out real-time update according to the replacing of tuner platelet, the control unit 101 of mainboard 10 is still according to the initialize routine of the tuner model correspondence of preserving in the memory cell 102, tuner on the tuner platelet after changing is carried out initialization, because this moment, tuner and initialize routine did not match, might cause the initialization failure of the tuner on the tuner platelet after the replacing, and then prolong the development time.
In the existing receiving terminal for digital television, mainboard can not be realized the correct identification to the tuner model fully, has reduced versatility.
Summary of the invention
In view of this, the object of the present invention is to provide a kind of method of automatic identification tuner model, this method can correctly be discerned the tuner model, has improved versatility.
The object of the present invention is to provide a kind of device of automatic identification tuner model, this device can correctly be discerned the tuner model, has improved versatility.
For achieving the above object, technical scheme of the present invention specifically is achieved in that
A kind of method of automatic identification tuner model, described method comprises:
Judgement is empty to the initialization failure of tuner or the tuner model of preserving, and then tuner model identification number of times is increased 1, when confirming tuner model identification number of times less than preset threshold value, utilizes the initialize routine set pair tuner of preserving to carry out initialization;
Judgement is then obtained tuner model and preservation to the initialization success of tuner.
Preferably, describedly after being increased 1, tuner model identification number of times further comprises:
Judge when tuner model identification number of times reaches preset threshold value, the tuner model of preserving is emptied.
In the said method, described judgement comprises the initialization failure of tuner:
When utilizing the initialize routine corresponding that tuner is carried out initialization, judge initialization failure, when perhaps utilizing the initialize routine set pair tuner of preserving to carry out initialization, judge initialization failure tuner to tuner with the tuner model of preserving.
Preferably, the described tuner model of obtaining also further comprises after the preservation: tuner model identification number of times is reverted to initial value.
Preferably, the described tuner model is emptied further comprises afterwards: tuner model identification number of times is reverted to initial value.
A kind of device of automatic identification tuner model, this device comprises:
First memory cell is used to preserve tuner model and initialize routine collection;
Second memory cell is used to preserve tuner model identification number of times and preset threshold value.
Control unit, read tuner model and the initialize routine corresponding from first memory cell with this tuner model, successfully do not obtain the tuner model or to the initialization failure of tuner judging, the tuner model identification number of times that second memory cell is preserved increases 1, the tuner model identification number of times of preserving in judging second memory cell is less than preset threshold value, the initialize routine collection that utilization is read from first memory cell carries out initialization to tuner; Control unit is judged the initialization success to tuner, obtains the tuner model, and the tuner model is stored in first memory cell.
Preferably, described control unit is after the tuner model identification number of times that second memory cell is preserved increases 1, judge that further the tuner model identification number of times of preserving in second memory cell reaches preset threshold value, empties the tuner model of preserving in first memory cell.
In the said apparatus, described control unit judges that the initialization failure to tuner comprises:
When the described control unit utilization initialize routine corresponding with the tuner model of preservation carried out initialization to tuner, judgement is to the initialization failure of tuner, perhaps utilize the initialize routine set pair tuner of preserving to carry out initialization, judge initialization failure tuner.
Preferably, after described control unit was stored in first memory cell with the tuner model, further the identification of the tuner model in second memory cell number of times was set to initial value.
Preferably, after described control unit emptied the tuner model of preserving in first memory cell, further the identification of the tuner model in second memory cell number of times was set to initial value.
As seen from the above technical solutions, the invention provides a kind of method and device of automatic identification tuner model, do not obtaining the initialize routine corresponding or judging when the initialization of tuner failed with the tuner model, integrated tuner carries out initialization on the initialize routine set pair tuner platelet that utilization is preserved, to improve success rate, improved versatility to the identification of tuner model.
Description of drawings
Fig. 1 is the structural representation of existing receiving terminal for digital television.
Fig. 2 discerns the method flow diagram of tuner model automatically for the present invention.
Fig. 3 discerns the structural representation of the device of tuner model automatically for the present invention.
Embodiment
For make purpose of the present invention, technical scheme, and advantage clearer, below with reference to the accompanying drawing embodiment that develops simultaneously, the present invention is described in more detail.
Fig. 2 discerns the method flow diagram of tuner model automatically for the present invention.Now in conjunction with Fig. 2, the method for the present invention being discerned automatically the tuner model describes, and is specific as follows:
Step 201: the tuner model of reading and saving;
After receiving terminal for digital television starts, read the tuner model of having preserved.
Above-mentioned tuner model can be written in the storage medium of this receiving terminal for digital television when receiving terminal for digital television starts for the first time, perhaps is set to sky.
Step 202: judge whether the tuner model that reads is empty, if, execution in step 203, otherwise execution in step 206;
Step 203: tuner model identification number of times increases 1:
Among the present invention, it is exactly to utilize the initialize routine set pair tuner of preserving to carry out an initialization that tuner model identification number of times increases 1.
Wherein, the initialize routine collection comprises a plurality of initialize routines corresponding with the tuner model, and the initialize routine collection that utilizes that the present invention mentions has carried out an initialization, what refer to is to call the initialize routine collection one time, utilizes initialize routine to concentrate all initialize routines that comprise that tuner has been carried out initialization operation.
Step 204: judge whether tuner model identification number of times reaches preset threshold value, if, execution in step 210, otherwise execution in step 205;
The one default threshold value in order to judge tuner model identification number of times is stored in the storage medium of receiving terminal for digital television, is absorbed in the Infinite Cyclic process when avoiding, and then shortens and develop the spent time the tuner initialization.
Wherein, preset threshold value can be provided with according to the systematic function and the user's request of receiving terminal for digital television, such as: 2 times, 3 inferior.
Step 205: call the initialize routine collection of having preserved and carry out initialization, execution in step 207 afterwards;
The initialize routine collection of preserving in the storage medium of call number television receive terminal carries out initialization to tuner; Particularly, call the initialize routine collection, utilize initialize routine to concentrate a plurality of initialize routines that comprise, seriatim tuner is carried out initialization, wait for the numerical value of the expression initialization result of tuner feedback, so that further judge which initialize routine and tuner coupling that initialize routine is concentrated.
The tuner that the present invention mentions can be integrated on the tuner platelet with demodulation module, and at this moment, this step also can be utilized the initialize routine collection by the interface circuit that is connected with the tuner platelet, and tuner integrated on the tuner platelet is carried out initialization.
Step 206: utilize the initialize routine corresponding to carry out initialization with the tuner model;
Utilize the tuner model of the non-NULL that reads in the step 201, concentrate, search the initialize routine corresponding, utilize initialize routine that tuner is carried out initialization with the tuner model from the initialize routine that the storage medium of receiving terminal for digital television is preserved.
Because this step is to utilize the initialize routine of the tuner model correspondence of the non-NULL of preserving in the storage medium of receiving terminal for digital television, tuner is carried out initialization, might there be the integrated unmatched problem of tuner model on the tuner model of non-NULL of preservation and the tuner platelet, need then further to verify whether initialization is successful, i.e. step 207.
Step 207: whether the initialization of judging tuner is successful, if, execution in step 208, otherwise execution in step 203;
When tuner is carried out initialization,, then judge the initialize routine that exists with tuner model coupling, execution in step 208 if receive numerical value from the expression initialization success of tuner; If receive numerical value, then judge the initialize routine that does not exist with tuner model coupling, execution in step 203 from the expression initialization failure of tuner.
In this step, tuner is carried out the content that initialized concrete grammar belongs to prior art, do not repeat them here.
Step 208: obtain tuner model and preservation, tuner model identification number of times is reverted to initial value;
After the initialization success, obtain the tuner model that completes successfully initialized initialize routine correspondence, and this tuner model is write in the storage medium of receiving terminal for digital television and preserve, and the tuner model of preserving on the storage medium with receiving terminal for digital television identification number of times reverts to initial value.
The tuner model of obtaining in this step can be the tuner model that reads in the step 201, after also can be the initialize routine collection that adopts step 205 and carrying out initialization, according to successfully carrying out the tuner model that initialized initialize routine is determined; The initial value of tuner model identification number of times of the present invention can rule of thumb be provided with.
Step 209: enter normal operating conditions, execution in step 212 afterwards;
After the initialization success, realized correct identification to the tuner model, all hardware of forming receiving terminal for digital television enters normal operating conditions.
Step 210: the tuner model is emptied, tuner model identification number of times is reverted to initial value;
Repeatedly can't correctly discern under the situation of tuner model, the tuner model of preserving in the storage medium with receiving terminal for digital television empties, and the tuner model of preserving in the storage medium with receiving terminal for digital television identification number of times reverts to initial value.
Step 211: enter abnormal operating state, execution in step 212 afterwards;
After the initialization failure of judging tuner, fail correctly to discern the tuner model on the tuner platelet, receiving terminal for digital television enters abnormal operating state.
Above-mentioned abnormal operating state can be frequently restarts or state such as alarm.
Step 212: finish.
Fig. 3 discerns the structural representation of the device of tuner model automatically for the present invention.Now in conjunction with Fig. 3, the device of the present invention being discerned automatically the tuner model describes, and is specific as follows:
The device that the present invention discerns the tuner model automatically can be integrated in order on the equipment of discerning the tuner model, in following embodiment of the present invention, only the mainboard 30 that is integrated in receiving terminal for digital television with the device of automatic identification tuner model is an example, and the apparatus structure of the present invention being discerned automatically the tuner model describes.
The device that the present invention discerns the tuner model automatically comprises control unit 301, first memory cell 302 and second memory cell 303.Wherein, control unit 301 connects the tuner 32 that is integrated in tuner platelet (not shown among Fig. 3) by interface circuit 31.
First memory cell 302 is used to preserve tuner model and initialize routine collection.The initialize routine collection that first memory cell 302 is preserved is the set of a plurality of initialize routines corresponding with the tuner model.First memory cell 302 can adopt existing flash memories (Flash ROM).
Second memory cell 303 is used to preserve a tuner model identification number of times and a predetermined threshold value.Predetermined threshold value can be provided with according to systematic function and user's request.
Control unit 301 writes first memory cell 302 with the tuner model of outside input, and the predetermined threshold value that the outside is imported writes second memory cell 303, and the identification of the tuner model in second memory cell 303 number of times is set to initial value.The initial value of tuner model identification number of times can rule of thumb be provided with, such as 0 or 1.
Control unit 301 is after startup, read the tuner model from first memory cell 302, when confirming the tuner model non-NULL that reads, initialize routine from first memory cell 302 is concentrated and is read the initialize routine corresponding with this tuner model, by interface circuit 11, utilize initialize routine that tuner 32 is carried out initialization; When control unit 301 is failed for sky or to the initialization of tuner 32 in the tuner model of confirming to read, the tuner model identification number of times that second memory cell 303 is preserved increases 1, judge that whether the tuner model identification number of times of preserving in second memory cell 303 is less than preset threshold value, if less than preset threshold value, the initialize routine collection that utilization is read from first memory cell 302, by interface circuit 11, tuner 32 is carried out initialization; Reach preset threshold value if control unit 201 is judged, the tuner model of preserving in first memory cell 302 is emptied, the tuner model identification number of times of preserving in second memory cell 303 is reverted to initial value.
Control unit 301 obtains the tuner model and is stored in first memory cell 302 when the initialization success of confirming tuner 32, and the tuner model identification number of times of preserving in second memory cell 303 is reverted to initial value.
Control unit 301 when the numerical value that receives from the expression initialization success of tuner 32, is judged the initialization success to tuner 32 when carrying out initialization by 11 pairs of tuners of interface circuit 32; When receiving the numerical value of failing, judge initialization failure to tuner 32 from the expression initialization of tuner 32.
In the above-mentioned preferred embodiment of the present invention, when not obtaining the tuner model or judging initialization failure to tuner, utilize the initialize routine collection of having preserved, tuner is carried out initialization, with success rate and the versatility that improves automatic identification; When judgement is failed to the initialization of tuner, can further limit the spent time of exploitation by the tuner model identification number of times that is provided with.
In sum, more than be preferred embodiment of the present invention only, be not to be used to limit protection scope of the present invention.Within the spirit and principles in the present invention all, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (10)

1. automatic method of identification tuner model is characterized in that described method comprises:
Judgement is empty to the initialization failure of tuner or the tuner model of preserving, and then tuner model identification number of times is increased 1, when confirming tuner model identification number of times less than preset threshold value, utilizes the initialize routine set pair tuner of preserving to carry out initialization;
Judgement is then obtained tuner model and preservation to the initialization success of tuner.
2. method according to claim 1 is characterized in that, describedly further comprises after tuner model identification number of times is increased 1:
Judge when tuner model identification number of times reaches preset threshold value, the tuner model of preserving is emptied.
3. method according to claim 1 and 2 is characterized in that, described judgement comprises the initialization failure of tuner:
When utilizing the initialize routine corresponding that tuner is carried out initialization, judge initialization failure, when perhaps utilizing the initialize routine set pair tuner of preserving to carry out initialization, judge initialization failure tuner to tuner with the tuner model of preserving.
4. method according to claim 1 is characterized in that, the described tuner model of obtaining also further comprises after the preservation: tuner model identification number of times is reverted to initial value.
5. method according to claim 2 is characterized in that, the described tuner model is emptied further comprises afterwards: tuner model identification number of times is reverted to initial value.
6. automatic device of identification tuner model is characterized in that this device comprises:
First memory cell is used to preserve tuner model and initialize routine collection;
Second memory cell is used to preserve tuner model identification number of times and preset threshold value.
Control unit, read tuner model and the initialize routine corresponding from first memory cell with this tuner model, successfully do not obtain the tuner model or to the initialization failure of tuner judging, the tuner model identification number of times that second memory cell is preserved increases 1, the tuner model identification number of times of preserving in judging second memory cell is less than preset threshold value, the initialize routine collection that utilization is read from first memory cell carries out initialization to tuner; Control unit is judged the initialization success to tuner, obtains the tuner model, and the tuner model is stored in first memory cell.
7. device according to claim 6, it is characterized in that, described control unit is after the tuner model identification number of times that second memory cell is preserved increases 1, judge that further the tuner model identification number of times of preserving in second memory cell reaches preset threshold value, empties the tuner model of preserving in first memory cell.
8. according to claim 6 or 7 described devices, it is characterized in that described control unit judges that the initialization failure to tuner comprises:
When the described control unit utilization initialize routine corresponding with the tuner model of preservation carried out initialization to tuner, judgement is to the initialization failure of tuner, perhaps utilize the initialize routine set pair tuner of preserving to carry out initialization, judge initialization failure tuner.
9. device according to claim 6 is characterized in that, after described control unit was stored in first memory cell with the tuner model, further the identification of the tuner model in second memory cell number of times was set to initial value.
10. device according to claim 7 is characterized in that, after described control unit emptied the tuner model of preserving in first memory cell, further the identification of the tuner model in second memory cell number of times was set to initial value.
CN 201110054840 2011-03-07 2011-03-07 Method and device for automatically identifying high frequency turner models Pending CN102170587A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201110054840 CN102170587A (en) 2011-03-07 2011-03-07 Method and device for automatically identifying high frequency turner models

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201110054840 CN102170587A (en) 2011-03-07 2011-03-07 Method and device for automatically identifying high frequency turner models

Publications (1)

Publication Number Publication Date
CN102170587A true CN102170587A (en) 2011-08-31

Family

ID=44491540

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201110054840 Pending CN102170587A (en) 2011-03-07 2011-03-07 Method and device for automatically identifying high frequency turner models

Country Status (1)

Country Link
CN (1) CN102170587A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105455904A (en) * 2015-12-25 2016-04-06 珠海市司迈科技有限公司 Recognition circuit of medical operation electrode
CN114090093A (en) * 2021-11-30 2022-02-25 深圳创维-Rgb电子有限公司 Tuner self-adapting method, device, equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1801909A (en) * 2005-01-07 2006-07-12 大同股份有限公司 Method for setting television tuner automatically
CN201114410Y (en) * 2007-09-05 2008-09-10 青岛海信电器股份有限公司 High-frequency header selection and switch circuit and debugging device using this circuit
CN101888471A (en) * 2010-07-19 2010-11-17 福建新大陆通信科技股份有限公司 Set top box capable of identifying various tuners automatically and identification method thereof

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1801909A (en) * 2005-01-07 2006-07-12 大同股份有限公司 Method for setting television tuner automatically
CN201114410Y (en) * 2007-09-05 2008-09-10 青岛海信电器股份有限公司 High-frequency header selection and switch circuit and debugging device using this circuit
CN101888471A (en) * 2010-07-19 2010-11-17 福建新大陆通信科技股份有限公司 Set top box capable of identifying various tuners automatically and identification method thereof

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105455904A (en) * 2015-12-25 2016-04-06 珠海市司迈科技有限公司 Recognition circuit of medical operation electrode
CN114090093A (en) * 2021-11-30 2022-02-25 深圳创维-Rgb电子有限公司 Tuner self-adapting method, device, equipment and storage medium
CN114090093B (en) * 2021-11-30 2024-02-06 深圳创维-Rgb电子有限公司 Tuner adaptive method, apparatus, device and storage medium

Similar Documents

Publication Publication Date Title
CN100412894C (en) Memory card and its initial setting method
CN110134415A (en) A kind of controller and its method for upgrading software and device
CN102279776B (en) Error checking and correcting ability testing method and device
CN101178661B (en) Realization method and apparatus of FLASH integrate BOOTROM
CN109358882B (en) Method and device for upgrading firmware of television terminal
CN102609741B (en) A kind of method of exchanges data between mobile device and inside and outside portion storage card thereof
CN103473098A (en) Starting method of boot program and relevant device
CN111949285B (en) Method, device, equipment and storage medium for upgrading firmware of expansion chip
CN102339264B (en) A kind of satellite borne electronic system equipment plug and play control method and system
CN104320317A (en) Method and device for transmitting state of Ethernet physical layer chip
CN103501327A (en) Downloading method and device based on mobile terminal application
CN109766140A (en) A kind of localization method and device that set-top box starting is abnormal
CN102170587A (en) Method and device for automatically identifying high frequency turner models
CN105472377A (en) Television debugging method and apparatus thereof
CN100498753C (en) Method for accessing on-site programmable gate array internal memory through I2C interface
CN103064309A (en) Needle selector address confirming method and system
CN102866900A (en) Method and system for updating configuration data of FPGA (Field Programmable Gate Array) control unit
CN105828196A (en) Intelligent television data processing method and device
CN103823725A (en) Debugging device and debugging method
CN100435099C (en) Method for upgrading program of embedded system
CN102547410A (en) Digital television (TV) terminal as well as upgrading method and device thereof
CN106843805A (en) A kind of 8031 Series MCU download online modules and implementation method
CN102929676A (en) Quick adapting method of terminal device based on Android operation system
CN102955545A (en) Computer
CN105791514A (en) Application starting monitoring 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
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20110831