CN109640183B - Method for solving frequency drift of analog television, storage medium and electronic equipment - Google Patents

Method for solving frequency drift of analog television, storage medium and electronic equipment Download PDF

Info

Publication number
CN109640183B
CN109640183B CN201811593203.0A CN201811593203A CN109640183B CN 109640183 B CN109640183 B CN 109640183B CN 201811593203 A CN201811593203 A CN 201811593203A CN 109640183 B CN109640183 B CN 109640183B
Authority
CN
China
Prior art keywords
frequency
television
frequency fine
fine
tuning
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
CN201811593203.0A
Other languages
Chinese (zh)
Other versions
CN109640183A (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 RGB Electronics Co Ltd
Original Assignee
Shenzhen Skyworth RGB 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 Skyworth RGB Electronics Co Ltd filed Critical Shenzhen Skyworth RGB Electronics Co Ltd
Priority to CN201811593203.0A priority Critical patent/CN109640183B/en
Publication of CN109640183A publication Critical patent/CN109640183A/en
Application granted granted Critical
Publication of CN109640183B publication Critical patent/CN109640183B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing 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/443OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing 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/438Interfacing the downstream path of the transmission network originating from a server, e.g. retrieving encoded video stream packets from an IP network
    • H04N21/4383Accessing a communication channel
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing 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/442Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Databases & Information Systems (AREA)
  • Software Systems (AREA)
  • Channel Selection Circuits, Automatic Tuning Circuits (AREA)
  • Circuits Of Receivers In General (AREA)

Abstract

The invention discloses a method for solving frequency drift of an analog television, a storage medium and electronic equipment, wherein the method comprises the following steps: when detecting that the television end enters the analog television channel, initializing a frequency fine-tuning device arranged in the television end and creating a broadcast for monitoring the playing state of a television end program; when the broadcast of the television program is monitored to be abnormal through the broadcast, the frequency fine tuning device is started to carry out frequency fine tuning on the television; and when the frequency fine-tuning device performs fine tuning for the preset cycle times or fine tuning to the normal playing of the television program, closing the frequency fine-tuning device. Reticulation, stripe, distortion and white vertical bar interference can be effectively avoided, and frequency fine adjustment is more intelligent, comprehensive and safe. The system is more smooth and stable, and the user experience is improved.

Description

Method for solving frequency drift of analog television, storage medium and electronic equipment
Technical Field
The invention relates to the technical field of software application, in particular to a method, a storage medium and electronic equipment for solving frequency drift of an analog television.
Background
When a user watches an analog television program, an unstable moire phenomenon sometimes occurs on an individual channel, because the frequency of the channel transmission equipment drifts, and at the moment, if the frequency drift is not processed in place, the problems of moire, stripe, distortion and white vertical bar interference easily occur on a television image.
At present, the Android TV equipment is too simple and not intelligent for an analog TV, and an automatic fine-tuning module does not stop in time after exiting an analog TV channel to cause system restart and the like.
Accordingly, the prior art is yet to be improved and developed.
Disclosure of Invention
In view of the above-mentioned deficiencies of the prior art, an object of the present invention is to provide a method, a storage medium, and an electronic device for solving frequency drift of an analog television, which are used to solve the problem of abnormal playing of television images caused by unreasonable methods used in the prior art for solving the problem of frequency drift of the analog television.
The technical scheme of the invention is as follows:
a method for accounting for analog television frequency drift, comprising the steps of:
when detecting that the television end enters the analog television channel, initializing a frequency fine-tuning device arranged in the television end and creating a broadcast for monitoring the playing state of a television end program;
when the broadcast of the television program is monitored to be abnormal through the broadcast, the frequency fine tuning device is started to carry out frequency fine tuning on the television;
and when the frequency fine-tuning device performs fine tuning for the preset cycle times or fine tuning to the normal playing of the television program, closing the frequency fine-tuning device.
The method for solving the frequency drift of the analog television, wherein, when the broadcast of the television end program is monitored to be abnormal through the broadcast, the step of starting the frequency fine tuning device to perform frequency fine tuning on the television end comprises the following steps:
when the broadcast of the television program is monitored to be abnormal through the broadcast, starting the frequency fine-tuning device and establishing a starting success flag bit;
and carrying out frequency fine adjustment on the television end through the frequency fine adjustment device.
The method for solving the frequency drift of the analog television, wherein the step of starting the frequency fine-tuning device to perform frequency fine-tuning on the television end, further comprises the following steps:
when the television end receives an instruction of exiting the analog television channel, whether the frequency fine tuning device works is judged by detecting the flag bit state of the frequency fine tuning device;
and when the flag bit state of the frequency fine-tuning device is detected to be a flag bit which is successfully started, the frequency fine-tuning device is firstly closed, and then the analog television channel is withdrawn.
The method for solving the frequency drift of the analog television is characterized in that the abnormal program playing of the television end comprises program playing failure or unstable program playing.
The method for solving the frequency drift of the analog television, wherein the step of starting the frequency fine-tuning device to perform frequency fine-tuning on the television terminal, specifically comprises the following steps:
the frequency fine-tuning device carries out offset search type frequency fine-tuning on the television terminal by adopting an offset amplitude algorithm.
The method for solving the frequency drift of the analog television, wherein the frequency fine tuning device further comprises the following steps after performing offset search type frequency fine tuning on the television end by adopting an offset amplitude algorithm:
in the offset searching process, if the frequency fine-tuning device is finely tuned to the normal playing of the television program, the frequency fine-tuning device is closed.
The method for solving the frequency drift of the analog television, wherein the frequency fine tuning device further comprises the following steps after performing offset search type frequency fine tuning on the television end by adopting an offset amplitude algorithm:
and after the frequency fine-tuning device searches for the preset times in a circulating way, the frequency fine-tuning device is automatically closed.
The method for solving the frequency drift of the analog television, wherein the offset amplitude algorithm comprises the following steps:
acquiring a maximum fine tuning offset value M and offset times N required by a television end, wherein N is a natural number more than or equal to 1;
firstly, obtaining the frequency of a current program as an intermediate value, searching for offset from the intermediate value to a maximum value, searching for offset from the intermediate value to a minimum value, and circulating for N times;
in the process of cycling from 1 to N times, the current time is the j-th time, and the amplitude of offset search of each cycle of cycling N times is M/(2 x j).
A storage medium having stored therein a plurality of instructions adapted to be loaded by a processor and to carry out the steps of the method of resolving analog television frequency drift as described above.
An electronic device, comprising a processor adapted to implement instructions; and a memory adapted to store a plurality of instructions adapted to be loaded by the processor and to perform the steps of the method of accounting for analog television frequency drift as described above.
Has the advantages that: the method for solving the frequency drift of the analog television can intelligently start, pause and close the frequency fine tuning function according to different hardware types and different signal states, dynamically configure the amplitude and the frequency during fine tuning, and reasonably optimize the use frequency of hardware resources. The method can effectively avoid the interference of cobwebbing, stripes, distortion and white vertical bars, and the system is more smooth and stable.
Drawings
FIG. 1 is a flow chart of a preferred embodiment of a method for resolving frequency drift of an analog television according to the present invention.
Fig. 2 is a block diagram of an electronic device according to a preferred embodiment of the invention.
Detailed Description
The invention provides a method for solving frequency drift of an analog television, and the invention is further described in detail below in order to make the purpose, technical scheme and effect of the invention clearer and clearer. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Referring to fig. 1, fig. 1 is a flowchart illustrating a method for solving frequency drift of an analog television according to a preferred embodiment of the present invention, as shown in fig. 1, the method for solving frequency drift of an analog television includes the steps of:
s10, when the television end is detected to enter the analog television channel, initializing a frequency fine-tuning device arranged in the television end and creating a broadcast for monitoring the playing state of the television end program;
s20, when the broadcast of the television program is monitored to be abnormal through the broadcast, starting the frequency fine tuning device to perform frequency fine tuning on the television;
and S30, when the frequency fine tuning device finishes fine tuning for the preset cycle times or fine tuning to the normal playing of the television program, closing the frequency fine tuning device.
Specifically, when the existing method is used for solving the problem of frequency drift in an analog television, a frequency fine-tuning device starts to work after entering an analog television channel, the check is always performed in a circulating manner, a large amount of hardware resources are consumed, and a played television program is easy to generate cross hatch, stripes, distortion and white vertical bar interference.
In order to solve the problems, a monitoring broadcast is created after a television end enters an analog television channel, the broadcast can monitor a program playing state signal in real time, after the change of the playing state signal of the current television end program is detected, a detection result is immediately notified to a frequency fine adjustment device, the frequency fine adjustment device carries out fine adjustment on the frequency of transmission equipment with frequency drift, and if the fine adjustment is successful, the held hardware resource is immediately paused to be yielded. The problem that the frequency fine-tuning device always performs cyclic check and consumes system resources is effectively solved.
Specifically, when a user uses a remote controller or other equipment to issue an instruction to watch an analog television program, a Native layer of an Android system receives the instruction and enters a TV analog television channel; after entering the analog television channel, initializing a frequency fine-tuning device, and creating a broadcast for monitoring a broadcast program state signal, wherein the broadcast can monitor the state of the broadcast program in real time: if the program is successfully played, the program is failed to be played and the program is not stably played, the result detection is immediately notified to the frequency fine-tuning device after the change of the playing state of the current program is detected. Starting to play the program, if the playing fails or is unstable, monitoring the broadcast of the playing state and immediately informing the frequency fine-tuning function module to start fine-tuning work; if the playing is normal, no processing is needed; if the intelligent fine adjustment is successful, immediately suspending the frequency fine adjustment device to make the held hardware resources available;
in some embodiments, the step S20 specifically includes:
when the broadcast of the television program is monitored to be abnormal through the broadcast, starting a frequency fine-tuning device; after the frequency fine-tuning device is started, the Android system maintains a start flag, for example, the start flag is set as SUCCESS, the pause or stop flag is set as FAILED, and the frequency of the channel transmission equipment is fine-tuned after the start flag is set. Through setting up the start mark, be convenient for supervise the operating condition of frequency micromatic setting.
In some embodiments, when a user does not want to watch a current program and sends an instruction of exiting an analog channel, the system Native layer receives the instruction and prepares to exit the analog television channel; firstly, detecting whether a frequency fine-tuning device works; if the system is detected to have a successful start mark, the frequency fine-tuning device is deactivated, the related API of the driving layer is called, the hardware resource held by the API is released, the playing of the program is stopped, and the analog television channel is exited. The problem that the television black screen is restarted due to illegal use of hardware resources such as tuner and the like and crash when a system directly exits an analog television channel under the condition that a frequency fine-tuning device is started is solved.
In some embodiments, when performing frequency fine tuning on a device of a transmission channel, a frequency fine tuning apparatus may have a case of unsuccessful fine tuning, and in order to avoid that the frequency fine tuning apparatus continuously occupies hardware resources, the frequency fine tuning apparatus may perform control by setting a number of times of loop search, that is, setting a number of times of execution search of the frequency fine tuning apparatus, and when the specified number of times of loop search is executed, the frequency fine tuning apparatus is stopped regardless of whether frequency tuning is successful, so as to make way of the hardware resources.
Further, the working principle of the frequency fine adjustment device for frequency fine adjustment is that firstly, the maximum offset and the offset times are reasonably configured according to different hardware performances; performing offset search according to an offset amplitude algorithm, and immediately suspending fine tuning work if fine tuning is successful in the search process; if the fine adjustment is still not successful after the loop search is carried out for the specified times, the fine adjustment work is immediately suspended.
The offset amplitude algorithm acquires a maximum fine tuning offset value M and offset times N required by current hardware from a system configuration item; firstly, obtaining the frequency of a current program as an intermediate value, searching for offset from the intermediate value to a maximum value, searching for offset from the intermediate value to a minimum value, and circulating for N times; in the process of cycling from 1 to N times, the current time is the jth time, the amplitude of offset search of each round of cycling N times is M/(2 x j), the amplitude is a dynamic value, and as the number of cycling times is increased, the smaller the amplitude of offset is, and the precision during fine adjustment is increased; by using the dynamic calculation mode, the range of the dynamic change offset amplitude is reduced, the fine adjustment precision is improved, and the fine adjustment success probability is increased.
The present invention also provides a storage medium storing a plurality of instructions adapted to be loaded by a processor and to perform the steps of the above-described method for resolving analog television frequency drift.
The present invention also provides a mobile terminal, wherein, as shown in fig. 2, the mobile terminal comprises a processor 10 adapted to implement instructions; and a storage device 20 adapted to store a plurality of instructions adapted to be loaded by the processor 10 and to perform the method for accounting for analog television frequency drift as described above.
In particular, the processor 10 may be, in some embodiments, a central processing unit, microprocessor or other data processing chip for executing program code or processing data stored in the memory device 20.
The storage device 20 may in some embodiments be an internal storage unit of the apparatus, such as a hard disk or a memory of the apparatus. The storage device 20 may also be an external memory of the apparatus in other embodiments, such as a plug-in hard disk, a removable memory Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), etc. provided on the apparatus.
Further, the storage device 20 may also include both an internal storage unit and an external storage device of the apparatus. The storage device 20 is used for storing application software installed in the apparatus and various data. The storage device 20 may also be used to temporarily store data that has been output or is to be output.
In summary, the method for solving the frequency drift of the analog television provided by the invention can intelligently start, pause and close the frequency fine tuning function according to different hardware types and different signal states, dynamically configure the amplitude and the frequency during fine tuning, reasonably optimize the use frequency of hardware resources, and really realize intelligent control. Reticulation, stripe, distortion and white vertical bar interference can be effectively avoided, and frequency fine adjustment is more intelligent, comprehensive and safe. The system is more smooth and stable, and the user experience is improved. It is to be understood that the invention is not limited to the examples described above, but that modifications and variations may be effected thereto by those of ordinary skill in the art in light of the foregoing description, and that all such modifications and variations are intended to be within the scope of the invention as defined by the appended claims.

Claims (8)

1. A method for resolving frequency drift in an analog television, comprising the steps of:
when detecting that the television end enters the analog television channel, initializing a frequency fine-tuning device arranged in the television end and creating a broadcast for monitoring the playing state of a television end program;
when the broadcast of the television program is monitored to be abnormal through the broadcast, starting the frequency fine-tuning device and establishing a starting success flag bit;
carrying out frequency fine adjustment on the television end through the frequency fine adjustment device;
when the frequency fine-tuning device performs fine tuning for a preset cycle number or fine tuning to the normal playing of the television program, the frequency fine-tuning device is closed;
when the television end receives an instruction of exiting the analog television channel, whether the frequency fine tuning device works is judged by detecting the flag bit state of the frequency fine tuning device;
and when the flag bit state of the frequency fine-tuning device is detected to be a flag bit which is successfully started, the frequency fine-tuning device is firstly closed, and then the analog television channel is withdrawn.
2. The method of claim 1, wherein the abnormal program play of the tv end comprises a program play failure or a program play instability.
3. The method for solving the frequency drift of the analog television according to claim 1, wherein the step of starting the frequency fine-tuning device to perform frequency fine tuning on the television terminal comprises:
the frequency fine-tuning device carries out offset search type frequency fine-tuning on the television terminal by adopting an offset amplitude algorithm.
4. The method as claimed in claim 3, wherein the frequency fine tuning device further comprises, after performing offset search type frequency fine tuning on the tv end by using an offset amplitude algorithm:
in the offset searching process, if the frequency fine-tuning device is finely tuned to the normal playing of the television program, the frequency fine-tuning device is closed.
5. The method as claimed in claim 3, wherein the frequency fine tuning device further comprises, after performing offset search type frequency fine tuning on the tv end by using an offset amplitude algorithm:
and after the frequency fine-tuning device searches for the preset times in a circulating way, the frequency fine-tuning device is automatically closed.
6. The method of resolving analog television frequency drift of claim 3, wherein said offset magnitude algorithm comprises the steps of:
acquiring a maximum fine tuning offset value M and offset times N required by a television end, wherein N is a natural number more than or equal to 1;
firstly, obtaining the frequency of a current program as an intermediate value, searching for offset from the intermediate value to a maximum value, searching for offset from the intermediate value to a minimum value, and circulating for N times;
in the process of cycling from 1 to N times, the current time is the j-th time, and the amplitude of offset search of each cycle of cycling N times is M/(2 x j).
7. A storage medium having stored thereon instructions adapted to be loaded by a processor and to perform the steps of the method of resolving analog television frequency drift of any of claims 1 to 6.
8. An electronic device comprising a processor adapted to implement instructions; and a memory adapted to store a plurality of instructions adapted to be loaded by the processor and to perform the steps of the method of resolving analog television frequency drift as claimed in any one of claims 1 to 6.
CN201811593203.0A 2018-12-25 2018-12-25 Method for solving frequency drift of analog television, storage medium and electronic equipment Active CN109640183B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811593203.0A CN109640183B (en) 2018-12-25 2018-12-25 Method for solving frequency drift of analog television, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811593203.0A CN109640183B (en) 2018-12-25 2018-12-25 Method for solving frequency drift of analog television, storage medium and electronic equipment

Publications (2)

Publication Number Publication Date
CN109640183A CN109640183A (en) 2019-04-16
CN109640183B true CN109640183B (en) 2021-08-31

Family

ID=66077465

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811593203.0A Active CN109640183B (en) 2018-12-25 2018-12-25 Method for solving frequency drift of analog television, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN109640183B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1787619A (en) * 2004-12-06 2006-06-14 乐金电子(中国)研究开发中心有限公司 Manually searching device for TV analog signal and method thereof
CN102316287A (en) * 2010-07-09 2012-01-11 北京创毅视讯科技有限公司 Method and device for demodulating analogue television signal
CN107888855A (en) * 2017-11-14 2018-04-06 四川长虹电器股份有限公司 The method of simulated television tuning

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170272484A1 (en) * 2016-03-21 2017-09-21 Le Holdings (Beijing) Co., Ltd. Method and electronic device for automatically adjusting multimedia data flow based on online playing

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1787619A (en) * 2004-12-06 2006-06-14 乐金电子(中国)研究开发中心有限公司 Manually searching device for TV analog signal and method thereof
CN102316287A (en) * 2010-07-09 2012-01-11 北京创毅视讯科技有限公司 Method and device for demodulating analogue television signal
CN107888855A (en) * 2017-11-14 2018-04-06 四川长虹电器股份有限公司 The method of simulated television tuning

Also Published As

Publication number Publication date
CN109640183A (en) 2019-04-16

Similar Documents

Publication Publication Date Title
CN110162343B (en) Application starting method and device, electronic equipment and storage medium
US20140237405A1 (en) Method and Apparatus for Taking Screenshot of Screen of Application in Mobile Terminal
US10776129B2 (en) Method and apparatus for controlling a startup bootstrap program of an intelligent TV set
EP3188365A1 (en) Automatic volume adjusting method and electronic device thereof
CN109656725B (en) Message consumer switching method and device, storage medium and electronic equipment
CN109753297A (en) Method for upgrading software, device and readable storage medium storing program for executing when terminal standby
US10489585B2 (en) Generation of a random value for a child process
CN107623899B (en) Information processing method, information processing apparatus, storage medium, and electronic device
KR101298364B1 (en) System and method of reducing factory program time for wireless devices
CN113260021B (en) Access control method, device, user equipment and storage medium
CN111581005A (en) Terminal repairing method, terminal and storage medium
CN109358894B (en) Android equipment upgrading method and system supporting DVB
CN111083564B (en) Intelligent television upgrading method, intelligent terminal, intelligent peripheral and intelligent television
CN109640183B (en) Method for solving frequency drift of analog television, storage medium and electronic equipment
CN106649006B (en) Method and system for starting automatic test of board card
EP1747669B1 (en) Automatic channel search system and method
CN105893020A (en) Screen recording starting method, screen recording starting device and mobile terminal
US9594422B2 (en) Terminal apparatus and method for controlling thereof
CN108391120B (en) Camera starting test method, device, equipment and storage medium
CN111176849A (en) Application program management method, device and storage medium
CN109086154B (en) Device and method for detecting countdown of BIOS watchdog function
CN111885746B (en) Network connection method and device of terminal equipment
CN110515674B (en) Application loading method and device
CN110704127B (en) Button control method, device, electronic equipment and storage medium
CN111669576B (en) Method and device for identifying volume output abnormality of smart television and electronic equipment

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
GR01 Patent grant
GR01 Patent grant