CN1212026C - Method for auto-switching play channel based on time table - Google Patents

Method for auto-switching play channel based on time table Download PDF

Info

Publication number
CN1212026C
CN1212026C CNB021253390A CN02125339A CN1212026C CN 1212026 C CN1212026 C CN 1212026C CN B021253390 A CNB021253390 A CN B021253390A CN 02125339 A CN02125339 A CN 02125339A CN 1212026 C CN1212026 C CN 1212026C
Authority
CN
China
Prior art keywords
time
reminder time
wave band
counter
reminder
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.)
Expired - Fee Related
Application number
CNB021253390A
Other languages
Chinese (zh)
Other versions
CN1471003A (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.)
Lenovo Beijing Ltd
Lenovo Mobile Communication Technology Co Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CNB021253390A priority Critical patent/CN1212026C/en
Publication of CN1471003A publication Critical patent/CN1471003A/en
Application granted granted Critical
Publication of CN1212026C publication Critical patent/CN1212026C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Circuits Of Receivers In General (AREA)

Abstract

The present invention discloses a method for auto-switching play channel based on a time table, which is applied to an apparatus which at least comprises an information receiving device, a CPU, a memory, a timing device and a human-computer interaction interface. The method comprises the following steps: various kinds of reminder time and wave bands are obtained by the human-computer interaction interface; then the reminder time and the wave bands are stored and set in a data list in the memory; the reminder time and the wave bands are ordered according to the time, and the timing device is set according to the latest reminder time; after the timing device reaches the latest reminder time, the CPU is automatically turned on and the information receiving device is switched to a wave band which corresponds to the reminder time. The purpose that the information receiving device is automatically turned and is switched to a scheduled channel according to a schedule and a channel which are set well in advance can be realized by the proposal of the present invention.

Description

Method according to the timetable auto-switching play channel
Technical field
The present invention relates to include in the product of information receiver, CPU, timing device and human-computer interaction interface, be meant a kind of method especially according to the timetable auto-switching play channel.
Background technology
Present various home appliance is tending towards the fusion of function, as: adorn clock on the broadcast receiver, adorn personal digital assistant (PDA, Personal Digital Assistant) etc. on the mobile phone.Learn from other's strong points to offset one's weaknesses between the equipment, thereby can bring into play bigger effect.
Equipment real-time such as broadcast receiver, aural receiver is very strong, and every day, the content of playing when per are all inequality, and a lot of content do not arrange to replay yet, and in a single day the listener misses to lose and be difficult to remedy like this.But, the program of broadcasting, TV station broadcasts generally all has fixing timetable, and very punctual mostly, so the broadcast receiver of band alarm clock occurred, can remind the listener can in time listen to when program broadcasts like this.But the shortcoming of this method is: wireless accent platform is very inconvenient, the listener is if action inconvenient old man or children, or forgotten the frequency range that will select, perhaps just be busy with other thing, probably after some is in a rush and be unable to catch up with the beginning of program.
Also have a kind of PDA, can utilize PDA to carry out numeral and transfer platform, so both increased the recreational of PDA product, make wireless accent platform become simple again with function of radio receiver.And also have a timer in this PDA equipment, after arriving the scheduled time, can produce an interruption and wake PDA up and make it work.But this equipment just carries out simple the combination with PDA with broadcast receiver, does not make full use of the intelligent advantage of PDA, realizes that PDA is to wireless automatic control.Timer and broadcast receiver in the equipment are not directly got in touch, and can't turn on broadcast receiver when waking PDA up, according to user's the function of broadcast receiver being transferred automatically platform that sets in advance, so still can not cause many inconvenience to the user.
Summary of the invention
In view of this, main purpose of the present invention provides a kind of method according to the timetable auto-switching play channel, makes it can be by timetable that pre-sets and channel, opens automatically and information receiver is switched to predetermined channel.
For achieving the above object, technical scheme of the present invention specifically is achieved in that
A kind of method according to the timetable auto-switching play channel is applied to include at least in the equipment of CPU, memory, timing device and information receiver, and this method may further comprise the steps:
A. obtain reminder time and wave band by human-computer interaction device;
B. deposit reminder time and wave band in be arranged in the memory data list, this data list includes reminder time, wave band and their corresponding relation at least;
C. obtain the current time, the scan-data tabulation, removing reminder time is current time data before, whether the judgment data tabulation is empty, if, then return step a, otherwise, steps d entered;
D. with remaining data according to time sequence, take out nearest reminder time, timing device is set according to nearest reminder time;
E. timing device work enters step f after arriving nearest reminder time;
F. obtain pairing wave band of this nearest reminder time;
G. obtain the current wave band that is positioned of information receiver, judge whether this nearest reminder time pairing wave band is identical with the current wave band that is positioned of information receiver, if return step c, otherwise, return step c after switching to pairing wave band of nearest reminder time.
The described data list of this method is when equipment obtains reminder time and wave band for the first time, is created in memory by CPU.
Human-computer interaction device described in this method step a is a touch-screen.
Human-computer interaction device described in this method step a is a keyboard.
The described step a of this method further comprises: obtain a plurality of reminder times and wave band repeatedly by human-computer interaction device.
The described timing device of this method is a counter, and then the basis described in the steps d nearest reminder time is provided with timing device and specifically comprises:
D1. closing counter interrupts;
D2. get the current time, nearest reminder time deducted the current time obtain remaining time, date of remaining time is write the date register of counter, with remaining time the time, divide the clock register that writes counter;
D3. open and enter step e after counter interrupts;
Described step e specifically may further comprise the steps:
E1. counter subtracts one;
E2. judge whether counter is 0, interrupt, enter step f, otherwise return step e1 if produce a counter.
This method further comprises: an earphone is set, then further comprises step f1 behind the step f: judged whether that earphone connects, if, enter step g, otherwise, report to the police, return step f1.
Further comprise step f2 behind the described step f of this method: judge whether information receiver works, if, enter step g, otherwise, open information receiver, enter step g.
The present invention has following characteristics:
The user can be provided with a plurality of wave bands and reminder time at any time arbitrarily.
When arriving set reminder time, set wave band can be opened and forward to equipment automatically by this method: when the arriving reminding time, and the user is using, and when other wave band, can switch to set wave band by force; When arriving reminding during the time, CPU is in resting state, will wake CPU up, and whether check simultaneously has earphone, if no, send alarm sound, and wait for the connection of earphone, if having, then further whether inspection message receiving system state is opened, and if not, then it is opened.
After the switching that completes successfully set wave band, equipment can be reset data list and timing device, opens equipment automatically and is transformed into set wave band when arriving nearest reminder time.
By such scheme as can be seen, a kind of method provided by the present invention according to the timetable auto-switching play channel, be skillfully constructed, simplicity of design, practical, realize easily, and applicable to plurality of devices, under the situation that need not add other device, can realize opening and switching automatically the function of broadcasting channel, for the user brings great convenience according to the timetable that presets.
Description of drawings
Fig. 1 is provided with the flow chart of data list sum counter for the inventive method embodiment;
Fig. 2 is the flow chart of the inventive method embodiment interrupt service routine;
Fig. 3 is the CPU of PDA in the inventive method embodiment equipment and the logic connection diagram of FM receiver part.
Embodiment
Below in conjunction with drawings and the specific embodiments the present invention is described in further detail again:
With a PDA equipment that can receive FM broadcasting is example, this equipment has the function by PDA operation FM broadcasting, adopt the MC68VZ328 CPU of Motorola Inc. (Motorola), and in PDA, there is a counter to can be used as timing device, after arriving the scheduled time, can produces the CPU that a counter interrupts waking up among the PDA and make it work.
Realize can finishing by following steps for this equipment according to the timetable auto-switching play channel:
At first, wave band and the reminder time that listen to is provided with in equipment; Promptly the counter to data list in the device memory and equipment pre-sets.Referring to shown in Figure 1, specifically realize by following step:
Step a: obtain reminder time and wave band by human-computer interaction interface; Touch-screen that is the user by PDA or keyboard input will be selected the wave band and reminder time of listening to, and can once import a plurality of wave bands and reminder time.
Step b: deposit reminder time and wave band in data list, this data list includes reminder time, wave band and their corresponding relation at least; Be that CPU deposits reminder time and the wave band that the user imports in place in the memory data list correspondingly.If use for the first time, then CPU at first creates a data tabulation in memory, then reminder time and wave band are deposited in wherein, if the user has imported a plurality of wave bands and reminder time, then CPU can deposit reminder time and the wave band that obtains in data list repeatedly from human-computer interaction interface.
Step c: may further comprise the steps:
C1. obtain the current time, the data before the current time are removed reminder time and are in scan-data tabulation, promptly by the scan-data tabulation, the data in the data list are compared with the current time, get rid of current time reminder time and wave band before;
C2. whether the judgment data tabulation is empty, if, then return step a, wait for the new reminder time and the input of wave band, otherwise, enter steps d.
Steps d: earlier with remaining data according to time sequence, take out nearest reminder time, timing device is set according to nearest reminder time; Timing device in this equipment is a counter, to its concrete setting up procedure is:
D1. closing counter earlier interrupts;
D2. get the current time, changed into the relative time of current time nearest reminder time; Promptly deduct the current time, obtain the remaining time, more remaining fate is write the date memory of counter, when remaining, divide the clock memory that writes counter with nearest reminder time;
D3. reopen counter and interrupt, finish.
Arrive this, setting completed for the data list sum counter.
Then, the counter of equipment begins to carry out the interrupt routine of counter, that is:
Step e: counter is constantly carried out and is subtracted 1 operation, until by 0 o'clock, produces a counter and interrupts, and makes CPU carry out interrupt service routine.The effect of this counter interrupt instruction is no matter whether CPU was in running order at that time, all CPU is entered pressure and carries out interrupt service routine described below.
At last, CPU carries out interrupt service routine, and detailed process is referring to shown in Figure 2:
Step f: obtain pairing wave band of this nearest reminder time; Promptly from data list, access pairing wave band of this reminder time, be designated as A.
Behind step f, further judge:
F1. whether there is earphone to connect, if, enter step f2, otherwise, report to the police and return f1 and continue to judge, up to the connection of earphone;
F2. judge whether the broadcast receiver part is play, if, enter step g, otherwise, step g entered behind the unlatching broadcast receiver.
Step g: obtain the current in progress wave band of broadcast receiver part, be designated as B, judge whether A=B, if, then return step c, otherwise, step c returned after switching to wave band A.
Like this, equipment is tabulated to data again and is put in order and be provided with, and enabling counting device interrupt routine is waited for the generation of counter interruption next time then, enters interrupt service routine, and circulation so repeatedly is till data list is sky.
Because cyclic process each time all can be upgraded again, the sorting data tabulation, thereby prevented losing and confusion of data, and when obtaining new reminder time and wave band at every turn, equipment also can carry out the arrangement step to tables of data, the user just can import new reminder time and wave band at any time like this, and can not influence the operate as normal of equipment.
Method for the switching FM wave band described in the present embodiment step g can be finished by 4 road holding wires, its logical construction as shown in Figure 3:
Have a wireless PDA of FM in the present embodiment, its broadcast receiver part 301 comprises 4 control lines handling CS, DIN, CLK and DOUT signal with the main interface of the CPU302 of PDA.
The CS signal uses mainly as chip selection signal, and promptly as an external equipment, this chip selection signal is exactly the enable signal of this outside equipment to PDA broadcast receiver part 301.When its level when being high, gating broadcast receiver part 301, and operate on it, when its level when being low, broadcast receiver part 301 still can operate as normal, but all cannot realize its any operation of carrying out.
The DIN signal mainly is to use as data input signal, when chip selection signal be a height and at CLK signal trailing edge the time, the CPU302 of PDA is delivered to broadcast receiver part 301 to control data by DIN, thereby reaches the purpose of regulating and controlling broadcast receiver 301.
The CLK signal mainly is to use as the clock signal of data, and when chip selection signal when being high, the synchronised clock that provides of CLK signal is provided in the transmission of the signal of its DIN and DOUT.
The DOUT signal mainly is the signal use as data, when chip selection signal is effective, by the trailing edge of CLK signal, in the CPU302 of PDA, the CPU302 of PDA just can learn the operating state that broadcast receiver part 301 is present to broadcast receiver part 301 like this data passes.
Having the wireless PDA equipment of FM in the present embodiment uses very easy, wave band and time that the user only needs input will select to listen in use get final product, the input of wave band and time is one group of user interface (UI, User Interface), therefore common user promptly can operate easily.
Below just for the example that can receive the PDA of FM broadcasting, certain method of the present invention is not limited to the equipment among the embodiment, also can be applicable to other as: include the aural receiver of CPU, memory, timing device and human-computer interaction interface, the equipment such as broadcast receiver of medium wave and other wave band.

Claims (8)

1, a kind of method according to the timetable auto-switching play channel is applied to include at least in the equipment of information receiver, CPU, memory, timing device and human-computer interaction device, it is characterized in that this method may further comprise the steps:
A. obtain reminder time and wave band by human-computer interaction device;
B. deposit reminder time and wave band in be arranged in the memory data list, this data list includes reminder time, wave band and their corresponding relation at least;
C. obtain the current time, the scan-data tabulation, removing reminder time is current time data before, whether the judgment data tabulation is empty, if, then return step a, otherwise, steps d entered;
D. with remaining data according to time sequence, take out nearest reminder time, timing device is set according to nearest reminder time;
E. timing device work enters step f after arriving nearest reminder time;
F. obtain pairing wave band of this nearest reminder time;
G. obtain the current wave band that is positioned of information receiver, judge whether this nearest reminder time pairing wave band is identical with the current wave band that is positioned of information receiver, if return step c, otherwise, return step c after switching to pairing wave band of nearest reminder time.
2, method according to claim 1 is characterized in that described data list is when equipment obtains reminder time and wave band for the first time, is created in memory by CPU.
3, method according to claim 1 is characterized in that the human-computer interaction device described in the step a is a touch-screen.
4, method according to claim 1 is characterized in that the human-computer interaction device described in the step a is a keyboard.
5, method according to claim 1 is characterized in that described step a further comprises: obtain a plurality of reminder times and wave band repeatedly by human-computer interaction device.
6, method according to claim 1 is characterized in that described timing device is a counter, and then the basis described in the steps d nearest reminder time is provided with timing device and specifically comprises:
D1. closing counter interrupts;
D2. get the current time, nearest reminder time deducted the current time obtain remaining time, date of remaining time is write the date register of counter, with remaining time the time, divide the clock register that writes counter;
D3. open and enter step e after counter interrupts;
Described step e specifically may further comprise the steps:
E1. counter subtracts one;
E2. judge whether counter is 0, interrupt, enter step f, otherwise return step e1 if produce a counter.
7, method according to claim 1 is characterized in that this method further comprises: an earphone is set, then further comprises step f1 behind the step f: judged whether that earphone connects, if, enter step g, otherwise, report to the police, return step f1.
8,, it is characterized in that further comprising step f2 behind the described step f according to claim 1 or 7 described methods: judge whether information receiver works, if, enter step g, otherwise, open information receiver, enter step g.
CNB021253390A 2002-07-25 2002-07-25 Method for auto-switching play channel based on time table Expired - Fee Related CN1212026C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB021253390A CN1212026C (en) 2002-07-25 2002-07-25 Method for auto-switching play channel based on time table

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB021253390A CN1212026C (en) 2002-07-25 2002-07-25 Method for auto-switching play channel based on time table

Publications (2)

Publication Number Publication Date
CN1471003A CN1471003A (en) 2004-01-28
CN1212026C true CN1212026C (en) 2005-07-20

Family

ID=34142847

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB021253390A Expired - Fee Related CN1212026C (en) 2002-07-25 2002-07-25 Method for auto-switching play channel based on time table

Country Status (1)

Country Link
CN (1) CN1212026C (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100348019C (en) * 2004-05-25 2007-11-07 南京Lg新港显示有限公司 Digital television and automatic switching method between channels
KR100829113B1 (en) * 2006-04-28 2008-05-14 삼성전자주식회사 Apparatus and method for providing of broadcasting data in a digital multimedia broadcasting service
CN101166249B (en) * 2006-10-20 2011-06-15 深圳市同洲电子股份有限公司 Method for integrated management of multi-network time
CN101977290A (en) * 2010-10-25 2011-02-16 深圳市同洲电子股份有限公司 Method and terminal for switching channels as well as digital television receiving terminal
CN103618829B (en) * 2013-11-29 2015-07-15 Tcl通讯(宁波)有限公司 System and method for timing starting of FM radio on basis of mobile phone alarm

Also Published As

Publication number Publication date
CN1471003A (en) 2004-01-28

Similar Documents

Publication Publication Date Title
CN104539302B (en) Controlling sleep mode in a wireless transceiver
CN111713141B (en) Bluetooth playing method and electronic equipment
CN1975799A (en) Keying speech integrated remote controller
CN1212026C (en) Method for auto-switching play channel based on time table
CN102880044A (en) Reminding method and device by alarm clock
CN1991564A (en) Wireless projection method and system and apparatus thereof
CN1558646A (en) An electronic memo implementing a variety of reminding manners in telephone set
CN103067825A (en) Voice frequency changing-over management system in vehicle-mounted entertainment system and control method thereof
CN1258962A (en) Electric circuit apparatus for producing output signal
CN102004665B (en) Task concurrent processing method in workflow system
CN105847951A (en) Method and device for play controlling in audio and video playing system
CN113051200B (en) Device and method for parallel data transmission and storage based on two-way data acquisition
CN101060679A (en) Event insertion method
CN102142884B (en) Satellite network multifunctional common hardware reference platform and control method thereof
CN101051295A (en) Method for broadcasting cell phone received radio station broadcast signal on computer
CN108196933B (en) Data processing method and device and event reminding device
CN1835107A (en) Mobile communication terminal with music automatic stop function and music stop method
CN1917405A (en) Digital audio broadcasting modem interface system for receiving multi-channel and its working method
CN1124749C (en) Radio selective calling receiver
JPH03268626A (en) Intermittent reception system in mobile communication
CN101170720B (en) Radio interface counting method and device under MBMS broadcast mode
CN1031443C (en) Full-automatic radio pager system compatible with sound and numeral
CN1917687A (en) Communication system of mmobile phone with function of displaying status, and method
CN1236631C (en) Vocoder unit for mobile communication system and its phonetic frame displayching method
CN201509313U (en) IIS device controller

Legal Events

Date Code Title Description
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
ASS Succession or assignment of patent right

Owner name: LIANXIANG (BEIJING) CO. LTD.; HUMANTEC INDUSTRIAL

Free format text: FORMER OWNER: LIANXIANG (BEIJING) CO. LTD.

Effective date: 20080627

C41 Transfer of patent application or patent right or utility model
TR01 Transfer of patent right

Effective date of registration: 20080627

Address after: No. 6, Pioneer Road, Beijing, Haidian District: 100085

Co-patentee after: Lenovo Mobile Communication Technology Ltd.

Patentee after: Lenovo (Beijing) Co., Ltd.

Address before: No. 6, Pioneer Road, Haidian District information industry base, Beijing, China: 100085

Patentee before: Lenovo (Beijing) Co., Ltd.

CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20050720

Termination date: 20200725

CF01 Termination of patent right due to non-payment of annual fee