WO2011094945A1 - Timing equipment and method and audio equipment using timing equipment - Google Patents
Timing equipment and method and audio equipment using timing equipment Download PDFInfo
- Publication number
- WO2011094945A1 WO2011094945A1 PCT/CN2010/070538 CN2010070538W WO2011094945A1 WO 2011094945 A1 WO2011094945 A1 WO 2011094945A1 CN 2010070538 W CN2010070538 W CN 2010070538W WO 2011094945 A1 WO2011094945 A1 WO 2011094945A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- module
- timing
- switch
- instruction
- switching
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G04—HOROLOGY
- G04G—ELECTRONIC TIME-PIECES
- G04G15/00—Time-pieces comprising means to be operated at preselected times or after preselected time intervals
Definitions
- the instruction generation module includes all reset instruction generation units and a current time period reset instruction generation unit; the all reset instruction generation unit is configured to be used when the user trigger time is longer than the set time t1 For generating all reset instructions; the current time period reset instruction generating unit is configured to generate a current time period reset instruction when the user trigger time is shorter than the set time t2, where t2 ⁇ t1.
- the reset module is further configured to clear all timing settings in the timing module after receiving all reset commands; and/or after receiving the current time period reset command Used to clear all timing settings within the current T2 time period in the timing module.
- FIG. 3 is a schematic block diagram of a first embodiment of a multimedia player using a timing device of the present invention
- the conduction module 202 is turned on for a duration T1 or the conduction module 202
- the switching module 300 is disconnected and controlled to switch the state
- the timing module 201 continues to time the time period T0 to trigger the conduction module 202 to be turned on and drive the switching module 300 to switch the state, and simultaneously
- the timing module 201 is cleared and cycled, and the timing setting is completed and the timing setting is stored in the timing module 201.
- the switching instruction unit 102 is configured to generate a switching instruction when the user trigger interval is less than T1.
- the user terminal in the apparatus applicable to the method of the present invention is a controlled terminal appliance, and can be any controllable electrical appliance and electrical component unit.
- an electronic kit is exemplified.
- the timing of the microcontroller of the electronic kit is synchronized with the startup operation of the user, wherein the preset on-time length T1 is 3 minutes, the preset cycle time T0 is 24 hours, and T2 is set to T0/8, that is, 3 hours.
- n can also take 2.4 and T2 is 10 hours. Take T2 for 3 hours as an example.
- the tone generator automatically sounds, the tone continues for 3 minutes, and the user presses the setting button within 3 minutes of the prompt tone, and the sound stops. If no one is pressing the button, the tone will stop automatically after 3 minutes. In this way, at the same time every morning (8 o'clock and 11 o'clock), the electronic kit will automatically sound to remind the user to take medicine on time.
- the microcontroller 200 of the timing device of the present invention synchronizes the timing of each power-on input, and issues a power-on operation command at a time after a cycle time T0 (24 hours) to automatically cause the tone generator to operate.
- the method of the invention significantly improves the automatic timing work and timing setting mode of the existing electronic medicine box on the basis of retaining the user's usage habits and personality requirements, and achieves the purpose of timing control reminding the medicine and the user operation procedures are very simple. .
- the cycle time T0 design of the timing module 201 can well solve the setting problem of the periodic timing control. Since it is a length value, it has nothing to do with the specific time, so it does not need a real-time operation and display as the traditional timing method. The current and timing clock circuits and display circuits, hardware costs and operational steps are greatly saved.
- the one-touch switch includes a power button 3051 and a play button 3052 that turn on the timing device, when the user simultaneously triggers both The microcontroller of the timing device records this time when a button is pressed.
- the play module 302 includes a power amplifying unit 3021 for amplifying an audio signal, and a speaker 3022 for outputting the amplified audio signal.
- the play module 302 further includes a display unit module 3024 for displaying a play multimedia file.
- the communication interface may be an infrared communication interface, a Bluetooth communication interface or a bus communication interface.
- the button 52 is a play/pause button
- the button 53 is a volume up/next button
- the button 54 is a volume down/previous button
- the button 51 is a power button.
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Electric Clocks (AREA)
Abstract
The present invention discloses timing equipment, a timing method using the timing equipment, and audio equipment using the timing equipment. Wherein, the timing equipment includes an instruction generating module, a microcontroller and a switch module. The instruction generating module receives once triggering of a user and generates a control instruction, and the microcontroller receives the control instruction and controls the state switch of the switch module according to the control instruction; the switch module connects to the outside user terminal and controls the outside user terminal to run; a timing instruction unit is used to generate a timing instruction when the interval between the two times of triggering of the user is longer than T2; and a timing module establishes the timing configuration after receiving the timing instruction and starts to time; meanwhile, a conducting module is controlled to conduct and the switch module is driven to switch the state. Using the timing equipment, the timing method and the audio equipment of the present invention, the time set by the user last time can be memorized automatically, and the operation steps of timing are simple.
Description
本发明涉及定时装置,更具体地说,涉及一种定时装置、方法以及使用该装置的音频装置。 The present invention relates to timing devices, and more particularly to a timing device, method, and audio device using the same.
现有家用电器及电子产品使用时,用户常常忘记关机,造成家用电器或电子产品长时间工作,从而造成资源浪费及产品的使用寿命缩短。使用者越来越希望在使用的电子产品上有定时功能以解决上述的麻烦。用户迫切需要使用的电子产品能自动地按自己的要求或习惯进行定时开、关机。When using existing household appliances and electronic products, users often forget to shut down, causing household appliances or electronic products to work for a long time, thereby causing waste of resources and shortening the service life of the products. Users are increasingly looking to have timing capabilities on the electronics they use to solve the above-mentioned problems. The electronic products that users urgently need to use can automatically turn on and off according to their own requirements or habits.
现有的一些产品增加了定时功能,但是现在产品用于实现定时开关机的设定操作的方法大多都非常复杂。其时间设定通常都由一个显示当前时间和设定时间的显示屏、时钟电路、几个设定按键来配合。如果我们需要一个电器在早上六点钟工作,六点半钟停止工作,就需要在一个时间显示屏的配合下,至少使用三个按键,经过大约十个以上的步骤操作,我们才获得了一个电器一次定时开关的设定操作。如果要设定多个时间的定时,就需要几倍的工作量。这种开关机时间设定方法,不但硬件结构复杂、成本很高、体积很大,还需要严格顺序的多项操作步骤,相应的大篇幅说明书不可缺少。如果用户的文化程度不高、视力不好,或丢失了该设定操作的说明书,或忘记该定时操作的设定方法,或者上述多个零部件中有一个损坏,操作就不能完成和实现,该功能就会丧失。而目前很多高级的电器的很多高智能功能被长期闲置不用,就是和复杂的操作程序设计方法有直接的关系。Some existing products have added timing functions, but most of the methods used to implement the setting operation of the time switch are very complicated. The time setting is usually matched by a display screen showing the current time and the set time, a clock circuit, and several setting buttons. If we need an electrical appliance to work at 6 o'clock in the morning and stop working at 6:30, we need to use at least three buttons with the help of a time display. After about ten steps, we get one. The setting operation of the electric appliance once time switch. If you want to set the timing of multiple times, you need several times the workload. This method of setting the time of the switch is not only complicated in hardware structure, high in cost, large in volume, but also requires a plurality of operation steps in a strict sequence, and the corresponding large-scale manual is indispensable. If the user's education level is not high, the eyesight is not good, or the instruction manual of the setting operation is lost, or the setting method of the timing operation is forgotten, or one of the above multiple components is damaged, the operation cannot be completed and realized. This feature will be lost. At present, many high-intelligence functions of many advanced appliances are left unused for a long time, which is directly related to the complicated operation program design method.
现有的一些多媒体播放器为方便操作也增加了定时功能,如实用新型公开号为CN2679757Y所公开了一种具有定时播放功能的音频播放器所公开的一种多媒体播放器,其也存在上述缺陷,其定时装置需同时配置一个显示当前时间和设定时间的显示屏、一个时钟电路及需设置几个设定按键来配合操作进行定时,且定时操作过程复杂,需要对多个按键进行操作,并在显示屏上显示用户设定的时间,这样复杂的操作往往难以让用户满意。Some existing multimedia players have also added timing functions for convenient operation. For example, the utility model disclosed in CN2679757Y discloses a multimedia player disclosed by an audio player having a timing playing function, which also has the above defects. The timing device needs to simultaneously configure a display screen for displaying the current time and the set time, a clock circuit, and several setting buttons to be set to cooperate with the operation for timing, and the timing operation process is complicated, and multiple buttons need to be operated. And the time set by the user is displayed on the display screen, so complicated operations are often difficult to satisfy the user.
因此,需要一种能够自动记忆用户上一次设定时间,操作步骤简单的定时装置。Therefore, there is a need for a timing device that can automatically memorize the user's last set time and has a simple operation procedure.
本发明要解决的技术问题在于,针对现有技术的定时装置定时过程复杂的缺陷,提供一种能够自动记忆用户上一次设定时间,操作步骤简单的定时装置。The technical problem to be solved by the present invention is to provide a timing device capable of automatically memorizing the user's last set time and having a simple operation step in view of the complicated defect of the timing device of the prior art.
本发明解决其技术问题所采用的技术方案是:构造一种定时装置,包括指令生成模块、微控制器和开关模块,其中,所述指令生成模块接收用户单次触发并生成控制指令,所述微控制器接收所述控制指令并根据所述控制指令控制所述开关模块的状态切换;所述开关模块与外部用户终端电连接并控制所述外部用户终端运行;所述指令生成模块包括定时指令单元和切换指令单元;所述定时指令单元用于在用户两次触发间隔大于T2时,生成定时指令;所述切换指令单元用于生成切换指令;所述微控制器包括计时模块、导通模块;所述计时模块设置计时循环时间T0,所述导通模块设置导通持续时间T1;所述计时模块接收定时指令后新建定时设置并开始计时,同时控制导通模块导通并驱动所述开关模块切换状态;所述导通模块导通持续时间T1或在导通持续时间小于T1时接收到切换指令后断开并控制所述开关模块切换状态;所述计时模块继续计时到时间段T0后触发所述导通模块导通并驱动所述开关模块切换状态、同时所述计时模块清零并循环计时,完成此次定时设置并将此次定时设置存储到计时模块中。The technical solution adopted by the present invention to solve the technical problem is: constructing a timing device, comprising: an instruction generating module, a micro controller and a switch module, wherein the command generating module receives a single trigger of the user and generates a control command, The microcontroller receives the control command and controls state switching of the switch module according to the control command; the switch module is electrically connected to an external user terminal and controls operation of the external user terminal; and the command generation module includes a timing instruction a unit and a switching instruction unit; the timing instruction unit is configured to generate a timing instruction when the user trigger interval is greater than T2; the switching instruction unit is configured to generate a switching instruction; the microcontroller includes a timing module and a conduction module The timing module sets a timing cycle time T0, and the conduction module sets an on-duration duration T1; the timing module receives a timing command, creates a new timing setting, and starts timing, and controls the conduction module to be turned on and drives the switch. Module switching state; the conduction module is turned on for a duration T1 or during a conduction duration Disconnecting and controlling the switching module switching state after receiving the switching instruction at T1; the timing module continues to count to the time period T0, triggering the conduction module to be turned on and driving the switching module to switch state, and simultaneously The timing module is cleared and cycled to complete the timing setup and store this timing setting in the timing module.
在本发明所述的定时装置中,所述微控制器进一步包括分时模块,所述分时模块接收定时指令后新建定时设置并开始计时,
同时控制导通模块导通并驱动所述开关模块切换状态;所述导通模块导通持续时间T1后断开并控制所述开关模块切换状态;所述分时模块继续计时到时间段T3后触发所述导通模块导通并驱动所述开关模块切换状态、所述导通模块导通持续时间T4后断开并控制所述开关模块切换状态;所述分时模块继续计时到时间段T0后触发所述导通模块导通并驱动所述开关模块切换状态、同时所述分时模块清零并循环计时,完成此次定时设置并将此次定时设置存储到分时模块中;其中T3<T4<T0。In the timing device of the present invention, the microcontroller further includes a time sharing module, and the time sharing module receives a timing command, creates a new timing setting, and starts timing.
Simultaneously controlling the conduction module to be turned on and driving the switching module to switch state; the conduction module is turned on for a duration T1 and then disconnects and controls the switching module switching state; the time sharing module continues to time until the time period T3 Triggering the conduction module to be turned on and driving the switching module to switch state, the conduction module is turned on for a duration T4, and then disconnecting and controlling the switching module switching state; the time sharing module continues to time to the time period T0 After the triggering module is turned on, the switching module is turned on and the switching module is switched, and the time-sharing module is cleared and cycled, and the timing setting is completed and the timing setting is stored in the time-sharing module; wherein T3 <T4<T0.
在本发明所述的定时装置中,所述指令生成模块包括重置指令单元,所述微控制器包括重置模块;所述重置指令单元用于在用户两次触发间隔小于或等于T2时,生成重置指令;所述重置模块接收到所述重置指令后,清除计时模块或分时模块中存储的上一次定时设置。In the timing device of the present invention, the instruction generation module includes a reset instruction unit, and the microcontroller includes a reset module; the reset instruction unit is configured to when the user trigger interval is less than or equal to T2 And generating a reset instruction; after receiving the reset instruction, the reset module clears a last timing setting stored in the timing module or the time sharing module.
在本发明所述的定时装置中,所述切换指令单元用于在用户两次触发间隔小于T1时,生成切换指令;其中T1<T2,T2=T0/n,n为正数。In the timing device of the present invention, the switching instruction unit is configured to generate a switching instruction when the user trigger interval is less than T1; wherein T1<T2, T2=T0/n, and n is a positive number.
在本发明所述的定时装置中,指令生成模块包括全部重置指令生成单元和当前时间段重置指令生成单元;所述全部重置指令生成单元用于在用户触发时间长于设定时间t1时用于生成全部重置指令;所述当前时间段重置指令生成单元用于在用户触发时间短于设定时间t2时用于生成当前时间段重置指令,其中t2<t1。In the timing device of the present invention, the instruction generation module includes all reset instruction generation units and a current time period reset instruction generation unit; the all reset instruction generation unit is configured to be used when the user trigger time is longer than the set time t1 For generating all reset instructions; the current time period reset instruction generating unit is configured to generate a current time period reset instruction when the user trigger time is shorter than the set time t2, where t2<t1.
在本发明所述的定时装置中,所述重置模块还用于在接收到全部重置指令后清空所述计时模块中的全部定时设置;和/或在接收到当前时间段重置指令后用于清空所述计时模块中的当前T2时间段范围内的全部定时设定。In the timing device of the present invention, the reset module is further configured to clear all timing settings in the timing module after receiving all reset commands; and/or after receiving the current time period reset command Used to clear all timing settings within the current T2 time period in the timing module.
在本发明所述的定时装置中,所述指令生成模块包括用于接收用户触发的单键开关或耦合信号触发源。In the timing device of the present invention, the instruction generation module includes a one-touch switch or a coupling signal trigger source for receiving a user trigger.
根据本发明的另一方面,构造了一种使用定时装置的多媒体播放器,包括数据存储模块、播放模块、信息处理模块及定时装置,所述信息处理模块用于解码多媒体数据并控制播放模块,所述定时装置与信息处理模块共同控制播放模块按照设定时间自动播放多媒体文件,其中所述定时装置包括指令生成模块、微控制器和开关模块,其中,所述指令生成模块接收用户单次触发并生成控制指令,所述微控制器接收所述控制指令并根据所述控制指令控制所述开关模块的状态切换;所述开关模块与外部用户终端电连接并控制所述外部用户终端运行;所述指令生成模块包括定时指令单元和切换指令单元;所述定时指令单元用于在用户两次触发间隔大于T2时,生成定时指令;所述切换指令单元用于生成切换指令;所述微控制器包括计时模块、导通模块;所述计时模块设置计时循环时间T0,所述导通模块设置导通持续时间T1;所述计时模块接收定时指令后新建定时设置并开始计时,同时控制导通模块导通并驱动所述开关模块切换状态;所述导通模块导通持续时间T1或在导通持续时间小于T1时接收到切换指令后断开并控制所述开关模块切换状态;所述计时模块继续计时到时间段T0后触发所述导通模块导通并驱动所述开关模块切换状态、同时所述计时模块清零并循环计时,完成此次定时设置并将此次定时设置存储到计时模块中。According to another aspect of the present invention, a multimedia player using a timing device is constructed, including a data storage module, a playback module, an information processing module, and a timing device, wherein the information processing module is configured to decode multimedia data and control a playback module. The timing device and the information processing module jointly control the playback module to automatically play the multimedia file according to the set time, wherein the timing device includes an instruction generation module, a microcontroller, and a switch module, wherein the instruction generation module receives a single trigger from the user. And generating a control instruction, the microcontroller receiving the control instruction and controlling state switching of the switch module according to the control instruction; the switch module is electrically connected to an external user terminal and controls operation of the external user terminal; The instruction generation module includes a timing instruction unit and a switching instruction unit; the timing instruction unit is configured to generate a timing instruction when the user trigger interval is greater than T2; the switching instruction unit is configured to generate a switching instruction; the microcontroller Including a timing module, a conduction module; the timing The block sets the timing cycle time T0, and the conduction module sets the conduction duration T1; the timing module receives the timing command, creates a new timing setting, and starts timing, and controls the conduction module to be turned on and drives the switching module to switch states; The conducting module is turned on for a duration T1 or is turned off and controls the switching module switching state after receiving the switching instruction when the conducting duration is less than T1; the timing module continues to time the time period T0 to trigger the guiding The pass module is turned on and drives the switch module to switch state, and the timing module is cleared and cycled, and the timing setting is completed and the timing setting is stored in the timing module.
在本发明所述的一种使用定时装置的多媒体播放器中,所述数据存储模块包括用于存储每个定时设置点播放的多媒体文件列表的定时列表存储单元和用于存储所有多媒体文件的多媒体存储单元。In a multimedia player using a timing device according to the present invention, the data storage module includes a timing list storage unit for storing a list of multimedia files played by each timing set point and a multimedia for storing all multimedia files. Storage unit.
在本发明所述的一种使用定时装置的多媒体播放器中,进一步包括用于将接收到的用户控制信号发送给所述信息处理模块,并与所述信息处理模块一起依照所述用户控制信号控制所述播放模块播放多媒体信息的用户控制模块,所述用户控制模块包括用于控制播放模块启动的电源键及用于播放音频信号的播放按键。A multimedia player using a timing device according to the present invention, further comprising: transmitting the received user control signal to the information processing module, and in accordance with the user control signal together with the information processing module And a user control module that controls the playing module to play multimedia information, where the user control module includes a power button for controlling activation of the playing module and a playing button for playing an audio signal.
实施本发明的一种定时装置,具有以下有益效果:定时操作简单,同时计时模块进行同步计时;能根据用户的需要或生活习惯进行定时,且一键操作即可,且能在使用过程中平行进行多个定时设置控制;计时模块的循环时间T0设计,可以很好地解决周期性定时控制的设定问题,由于它是一个长度值,和具体的时刻无关,因此不需要和传统定时方式一样需要一个实时运行、显示当前和将定时时刻的时钟电路和显示电路,硬件成本和操作步骤都大为节省;导通模块的导通持续时间T1设计,可以很好地防止适用装置进入无效循环状态,避免了用户在只设定了开机而没有设定关机的情况下,造成适用装置一旦开机就长期开机的无谓损耗状态和定时控制的无效状态。T0也是一个长度值,和具体的时刻无关;且不需要像传统定时装置那样需同时配备一个与地区标准时间同步的实时时钟计时装置及显示装置,本发明与传统定时装置最大不同在于同步实时性。传统定时装置进行定时设置可以在任意时刻设定任意一个定时和开关状态,与设定操作当时的时刻和用户终端本身的工作状态无关,因此必须要一套额外的时钟电路来运行、调整和显示当前的实时时间,其设定方法和相应的硬件就必然十分复杂。而本发明用户终端在进行工作状态转换的同时,同步实现定时设置,使用者几乎不用特意去设定定时操作,只要按要求或习惯正常使用应用本发明的定时装置进行开机或关机,就已经同步设定完毕。A timing device embodying the invention has the following beneficial effects: the timing operation is simple, and the timing module performs synchronous timing; the timing can be performed according to the user's needs or living habits, and one-button operation can be performed, and can be parallel in use. Perform multiple timing setting control; the timing module T0 design of the timing module can well solve the setting problem of periodic timing control. Since it is a length value, it has nothing to do with the specific time, so it does not need to be the same as the traditional timing method. Need a real-time operation, display the current and the timing of the clock circuit and display circuit, hardware costs and operating steps are greatly saved; the conduction module's conduction duration T1 design, can well prevent the applicable device into the invalid cycle state In the case that the user only sets the power-on and does not set the power-off, the unnecessary loss state of the long-time power-on and the ineffective state of the timing control of the applicable device once turned on are caused. T0 is also a length value, regardless of the specific time; and it does not need to be equipped with a real-time clock timing device and display device synchronized with the regional standard time as in the conventional timing device. The difference between the present invention and the conventional timing device is synchronous real-time. . The timing setting of the traditional timing device can set any timing and switching state at any time, regardless of the time at which the setting operation is performed and the working state of the user terminal itself, so an additional clock circuit must be required to operate, adjust and display. The current real-time time, its setting method and the corresponding hardware must be very complicated. However, the user terminal of the present invention synchronizes the timing setting while performing the working state transition, and the user does not need to specifically set the timing operation. As long as the timing device of the present invention is normally used to turn on or off according to requirements or habits, the synchronization has been synchronized. The setting is completed.
根据本发明的又一方面,提供了一种使用定时装置的定时方法,其中所述定时装置包括指令生成模块、微控制器和开关模块,所述微控制器包括计时模块、导通模块;(S1)
所述指令生成模块接收用户单次触发并生成控制指令,(S2) 所述微控制器接收所述控制指令并根据所述控制指令控制所述开关模块的状态切换;(S3)
所述开关模块与外部用户终端电连接并控制所述外部用户终端运行;其中,所述步骤(S1)包括:在用户两次触发间隔大于T2时,生成定时指令,否则生成切换指令;所述步骤(S2)包括:(S21)微控制器接收定时指令后新建定时设置并开始计时,同时控制导通模块导通并驱动所述开关模块切换状态;(S22)所述导通模块导通持续时间T1或在导通持续时间小于T1时接收到切换指令后断开并控制所述开关模块切换状态;(S23)所述计时模块继续计时到时间段T0后触发所述导通模块导通并驱动所述开关模块切换状态、同时所述计时模块清零并循环计时,完成此次定时设置并将此次定时设置存储到计时模块中;同时执行步骤。According to still another aspect of the present invention, a timing method using a timing device is provided, wherein the timing device includes an instruction generation module, a microcontroller, and a switch module, the microcontroller including a timing module, a conduction module; S1)
The instruction generation module receives a single trigger of the user and generates a control instruction, (S2) the microcontroller receives the control instruction and controls state switching of the switch module according to the control instruction; (S3)
The switch module is electrically connected to the external user terminal and controls the operation of the external user terminal; wherein the step (S1) comprises: generating a timing instruction when the user triggers the interval greater than T2, otherwise generating a switching instruction; The step (S2) includes: (S21) the microcontroller receives the timing instruction, establishes a new timing setting, and starts timing, and controls the conduction module to be turned on and drives the switching module to switch the state; (S22) the conduction module is continuously turned on. Time T1 or disconnecting and controlling the switching module switching state after receiving the switching instruction when the conduction duration is less than T1; (S23) the timing module continues to time the time period T0 to trigger the conduction module to be turned on. The switching module is driven to switch state, and the timing module is cleared and cycled, and the timing setting is completed and the timing setting is stored in the timing module; and the steps are performed at the same time.
使用本发明的定时装置、定时方法和音频装置,能够自动记忆用户上一次设定时间,定时操作步骤简单。此外,本发明的定时装置、定时方法和音频装置还能够进行多路设置,便于用户使用,并且还可防止用户的误操作。By using the timing device, the timing method and the audio device of the present invention, the user's last set time can be automatically memorized, and the timing operation step is simple. In addition, the timing device, the timing method, and the audio device of the present invention are also capable of multiplexed settings, are convenient for the user to use, and can also prevent user misoperation.
下面将结合附图及实施例对本发明作进一步说明,附图中:
The present invention will be further described below in conjunction with the accompanying drawings and embodiments, in which:
图1是本发明的定时装置的第一实施例的原理框图;Figure 1 is a schematic block diagram of a first embodiment of a timing device of the present invention;
图2是本发明的定时装置的第二实施例的原理框图;Figure 2 is a schematic block diagram of a second embodiment of the timing device of the present invention;
图3是本发明的使用定时装置的多媒体播放器的第一实施例的原理框图;3 is a schematic block diagram of a first embodiment of a multimedia player using a timing device of the present invention;
图4是本发明的使用定时装置的多媒体播放器的第二实施例的原理框图;4 is a schematic block diagram of a second embodiment of a multimedia player using a timing device of the present invention;
图5是本发明的使用定时装置的多媒体播放器的第三实施例的原理框图;Figure 5 is a schematic block diagram of a third embodiment of a multimedia player using a timing device of the present invention;
图6是本发明的使用定时装置的多媒体播放器的第四实施例的原理框图;6 is a schematic block diagram of a fourth embodiment of a multimedia player using a timing device of the present invention;
图7是本发明的使用定时装置的多媒体播放器的一个实施例的结构示意图;7 is a schematic structural diagram of an embodiment of a multimedia player using a timing device according to the present invention;
图8是本发明的使用定时装置的多媒体播放器的另一实施例的结构示意图。Figure 8 is a block diagram showing another embodiment of a multimedia player using a timing device of the present invention.
图1是本发明的定时装置的第一实施例的原理框图。如图1所示,
本发明的一种定时装置,包括指令生成模块100、微控制器200和开关模块300,所述指令生成模块100接收用户单次触发并生成控制指令,所述微控制器200接收所述控制指令并根据所述控制指令控制所述开关模块300的状态切换;所述开关模块300与外部用户终端电连接并控制所述外部用户终端运行;所述指令生成模块100包括定时指令单元101和切换指令单元102;所述定时指令单元101用于在用户两次触发间隔大于T2时,生成定时指令;所述切换指令单元102用于生成切换指令;所述微控制器200包括计时模块201、导通模块202;所述计时模块201设置计时循环时间T0,所述导通模块202设置导通持续时间T1;所述计时模块201接收定时指令后新建定时设置并开始计时,同时控制导通模块202导通并驱动所述开关模块300切换状态;所述导通模块202导通持续时间T1或所述导通模块202接收到切换指令后断开并控制所述开关模块300切换状态;所述计时模块201继续计时到时间段T0后触发所述导通模块202导通并驱动所述开关模块300切换状态、同时所述计时模块201清零并循环计时,完成此次定时设置并将此次定时设置存储到计时模块201中。所述切换指令单元102用于在用户两次触发间隔小于T1时,生成切换指令。BRIEF DESCRIPTION OF THE DRAWINGS Figure 1 is a schematic block diagram of a first embodiment of a timing device of the present invention. As shown in Figure 1,
A timing device of the present invention includes an instruction generation module 100, a microcontroller 200, and a switch module 300. The command generation module 100 receives a single trigger from a user and generates a control command, and the microcontroller 200 receives the control command. And controlling, according to the control instruction, a state switch of the switch module 300; the switch module 300 is electrically connected to an external user terminal and controls operation of the external user terminal; the command generation module 100 includes a timing command unit 101 and a switch instruction The timing instruction unit 101 is configured to generate a timing instruction when the user trigger interval is greater than T2; the switching instruction unit 102 is configured to generate a switching instruction; the microcontroller 200 includes a timing module 201, and is turned on. The module 202 sets the timing cycle time T0, the conduction module 202 sets the conduction duration T1; the timing module 201 receives the timing command, creates a new timing setting and starts timing, and controls the conduction module 202. And driving the switch module 300 to switch states; the conduction module 202 is turned on for a duration T1 or the conduction module 202 After receiving the switching instruction, the switching module 300 is disconnected and controlled to switch the state; the timing module 201 continues to time the time period T0 to trigger the conduction module 202 to be turned on and drive the switching module 300 to switch the state, and simultaneously The timing module 201 is cleared and cycled, and the timing setting is completed and the timing setting is stored in the timing module 201. The switching instruction unit 102 is configured to generate a switching instruction when the user trigger interval is less than T1.
在本发明的一个实施例中指令生成模块100可包括用作定时指令单元和切换指令单元的触发开关和各个指令生成电路。触发开关用于接收用户触发,其可以是单键开关、外部指令装置的指令输入端或信号触发源。单键开关可以是简单的由用户动作触发的机械接触式按钮、开关、按键或压力式触摸屏、压敏器件等,也可以是用户手持装置(如无线遥控器、电话遥控器、射频、磁卡、IC卡等)的相应读取设定开关电路结构,也可以是用户生物特征(如指纹、掌纹、声纹、视网膜纹、人体红外线等)的识别读取设定指令模块结构等。In one embodiment of the present invention, the instruction generation module 100 may include a trigger switch and a respective instruction generation circuit that function as a timing instruction unit and a switching instruction unit. The trigger switch is used to receive a user trigger, which may be a one-touch switch, an instruction input of an external command device, or a signal trigger source. The single-button switch can be a simple mechanical contact button triggered by a user action, a switch, a button or a pressure touch screen, a pressure sensitive device, etc., or a user handheld device (such as a wireless remote control, a telephone remote control, a radio frequency, a magnetic card, The corresponding read setting switch circuit structure of the IC card or the like may also be the structure of the recognition read setting command module of the user's biometrics (such as fingerprint, palm print, voiceprint, retina pattern, human body infrared, etc.).
计时模块201的循环时间T0设计,可以很好地解决周期性定时控制的设定问题,由于它是一个长度值,和具体的时刻无关,因此不需要和传统定时方式一样需要一个实时运行、显示当前和将定时时刻的时钟电路和显示电路,硬件成本和操作步骤都大为节省。The cycle time T0 design of the timing module 201 can well solve the setting problem of the periodic timing control. Since it is a length value, it has nothing to do with the specific time, so it does not need a real-time operation and display as the traditional timing method. The current and timing clock circuits and display circuits, hardware costs and operational steps are greatly saved.
导通模块202的导通持续时间T1设计,可以很好地防止适用装置进入无效循环状态,避免了用户在只设定了开机而没有设定关机的情况下,造成适用装置一旦开机就长期开机的无谓损耗状态和定时控制的无效状态。T1也是一个长度值,和具体的时刻无关。The conduction duration T1 of the conduction module 202 is designed to prevent the applicable device from entering the inactive loop state, and the user is prevented from setting up the power-on and setting the shutdown. The deadweight state and the invalid state of the timing control. T1 is also a length value, regardless of the specific time.
本发明的定时装置的微控制器200为核心器件,可为公知的内嵌软件程序设计的智能微型程序控制器,设计者可以用其适用的语言编制内部软件程序,在生产或使用中写入微处理器芯片中使其具有一定的处理功能。The microcontroller 200 of the timing device of the present invention is a core device, and can be a smart microprogram controller designed by a well-known embedded software program. The designer can program an internal software program in its applicable language and write it in production or use. It has certain processing functions in the microprocessor chip.
微控制器200既可以是专为本定时控制功能独立设计的,也可以是:适用装置中其它功能所需的,微处理器芯片除存储有本发明方法的基本程序外,还允许存储其它的操作程序。The microcontroller 200 can be designed independently for the timing control function, or can be used for other functions in the device. The microprocessor chip can store other programs in addition to the basic program of the method of the present invention. Operating procedures.
本发明方法适用装置中的开关模块300是一个微处理器芯片的驱动执行机构,依照微处理器芯片的命令控制用户终端的工作状态即的开、关机状态。它可以是任何电子开关(晶体管、场效应管、可控硅、固态继电器等)、机电开关(继电器、接触器等)。The switch module 300 in the apparatus applicable to the method of the present invention is a drive actuator of a microprocessor chip, and controls the working state of the user terminal, that is, the on and off states, according to the command of the microprocessor chip. It can be any electronic switch (transistor, field effect transistor, thyristor, solid state relay, etc.), electromechanical switch (relay, contactor, etc.).
本发明方法适用装置中的用户终端是一个被控制的终端用具,可以为任意可控制的电器、电器部件单元。The user terminal in the apparatus applicable to the method of the present invention is a controlled terminal appliance, and can be any controllable electrical appliance and electrical component unit.
本发明的一种定时装置可用在各种需要定时控制的电器上,可以完全改善现有很多电器的自动工作和定时设定模式,凡需要在每天或每周、每月等周期性工作、并始终有电源供应的电器尤其适用。The timing device of the invention can be used in various electrical appliances requiring timing control, and can completely improve the automatic working and timing setting modes of many existing electrical appliances, and needs to work periodically every day or every week, every month, and Appliances that always have a power supply are especially suitable.
以本发明的一个典型应用,电子药盒为例。电子药盒的微控制器计时和用户的开机操作同步,其中预置的导通时间长度T1为3分钟,预置的循环时间T0为24小时,T2设置为T0/8,也就是3小时。在本发明的其他实施例中,n也可以取其他正数,如n=16,T2为1.5小时。在又一实施例中,n也可以取2.4,T2为10小时。以T2为3小时为例,用户第一次进行定时设置时,如用户在早上第一次(早上8点)吃药时按一下电子药盒上的单键开关,微控制器运行并驱动开关模块开启,外部用户终端(音频发生器)就会发出提示声,微控制器驱动开关模块驱动音频发生器发出的提示音持续3分钟,在导通时间的3分钟内如果用户再次按了该单键开关,发声器声音停止。同时微处理器芯片中的计时模块完成定时记忆设置工作。此后,如果在3小时后(早上11点),用户再次触发按一下电子药盒上的单键开关,微控制器运行并驱动开关模块进而驱动音频发生器发出提示声,微控制器的导通模块驱动音频发生器发出的提示音持续3分钟,在导通时间的3分钟内如果用户再次按了该单键开关,发声器声音停止。同时微处理器芯片中的计时模块完成定时记忆设置工作。经过循环时间T0
(24小时)后即第二天早上同样的时刻(早上8点),其音频发生器自动响起,提示音持续3分钟,提示音持续的3分钟内用户按一下设定键,声音随即停止。如果没有人来按键,提示音持续3分钟后自动停止。此后,在第二次时间记忆设置24小时后,也就是早上11点,其音频发生器自动响起,提示音持续3分钟,提示音持续的3分钟内用户按一下设定键,声音随即停止。如果没有人来按键,提示音持续3分钟后自动停止。如此,每天早上的同样时刻(8点和11点),电子药盒都会自动响起提醒用户准时吃药。In a typical application of the invention, an electronic kit is exemplified. The timing of the microcontroller of the electronic kit is synchronized with the startup operation of the user, wherein the preset on-time length T1 is 3 minutes, the preset cycle time T0 is 24 hours, and T2 is set to T0/8, that is, 3 hours. In other embodiments of the invention, n may also take other positive numbers, such as n = 16, and T2 is 1.5 hours. In yet another embodiment, n can also take 2.4 and T2 is 10 hours. Take T2 for 3 hours as an example. When the user makes the first time setting, if the user presses the single button switch on the electronic kit at the first time (8:00 in the morning), the microcontroller runs and drives the switch. When the module is turned on, the external user terminal (audio generator) will beep, and the microcontroller will drive the switch module to drive the tone of the audio generator for 3 minutes. If the user presses the order again within 3 minutes of the on time. The key switch, the sound of the sounder stops. At the same time, the timing module in the microprocessor chip completes the timing memory setting work. Thereafter, if after 3 hours (11:00 am), the user triggers again to press the single button switch on the electronic kit, the microcontroller runs and drives the switch module to drive the tone generator to sound, and the microcontroller is turned on. The prompt sound from the module-driven tone generator lasts for 3 minutes, and if the user presses the one-touch switch again within 3 minutes of the on-time, the sound of the sounder stops. At the same time, the timing module in the microprocessor chip completes the timing memory setting work. After cycle time T0
After (24 hours), the same time (8:00 in the morning), the audio generator will automatically sound, the tone will last for 3 minutes, and the user will press the setting button within 3 minutes of the tone, and the sound will stop. If no one is pressing the button, the tone will stop automatically after 3 minutes. Thereafter, after 24 hours of the second time memory setting, that is, 11:00 in the morning, the tone generator automatically sounds, the tone continues for 3 minutes, and the user presses the setting button within 3 minutes of the prompt tone, and the sound stops. If no one is pressing the button, the tone will stop automatically after 3 minutes. In this way, at the same time every morning (8 o'clock and 11 o'clock), the electronic kit will automatically sound to remind the user to take medicine on time.
在本发明的一个优选实施例中,导通模块可电连接有导通时间设置键,导通时间设置键可根据需要设置导通时间即设置用户终端的工作时间。In a preferred embodiment of the present invention, the conduction module can be electrically connected with an on-time setting button, and the on-time setting button can set the on-time according to the requirement, that is, set the working time of the user terminal.
图2是本发明的定时装置的第二实施例的原理框图。如图2所示,本发明的微控制器200进一步包括分时模块204,所述分时模块204接收定时指令后新建定时设置并开始计时,同时控制导通模块202导通并驱动所述开关模块300切换状态;所述导通模块202导通持续时间T1后断开并控制所述开关模块300切换状态;所述分时模块204继续计时到时间段T3后触发所述导通模块202导通并驱动所述开关模块300切换状态、所述导通模块202导通持续时间T4后断开并控制所述开关模块300切换状态;所述分时模块204继续计时到时间段T0后触发所述导通模块(202)导通并驱动所述开关模块(300)切换状态、同时所述分时模块204清零并循环计时,完成此次定时设置并将此次定时设置存储到分时模块204中;其中T3<T4<T0。2 is a schematic block diagram of a second embodiment of the timing device of the present invention. As shown in FIG. 2, the microcontroller 200 of the present invention further includes a time sharing module 204. After receiving the timing command, the time sharing module 204 newly sets the timing setting and starts timing, and controls the conduction module 202 to turn on and drive the switch. The module 300 switches the state; the conduction module 202 turns on the duration T1 and then disconnects and controls the switching module 300 to switch states; the time sharing module 204 continues to time the time period T3 to trigger the conduction module 202 to guide And driving the switch module 300 to switch state, the conduction module 202 is turned on for a duration T4, and then disconnects and controls the switch module 300 to switch states; the time sharing module 204 continues to time the time period T0 to trigger the trigger The conduction module (202) turns on and drives the switch module (300) to switch states, and the time-sharing module 204 clears and cycles the timer to complete the timing setting and store the timing setting to the time-sharing module. 204; wherein T3 < T4 < T0.
同样采用药盒的实施例来进行说明,如果一天之内(预置的循环时间长度T0为24小时)需要吃三次药,用户第一次设置时,可在第一天的早、中、晚三个合适的吃药时间里按动一下电子药盒上的单键开关,同时微控制器200中的计时模块完成三个时间点的定时设置工作即设定好了以后每天的吃药时间。也可运行分时模块204状态设定,分时模块204根据设定在不同的定时设置点与数据处理模块共同控制音频发生器在三个不同时刻发出不同的提示音。同样在第二天的早、中、晚三个同样的时刻,电子药盒音频发生器就会发出提示声,提示音持续3分钟,在导通时间的3分钟内如果用户再次按了该单键开关,声音就停止。以后每天都是如此。形成了三个平行的步骤系列,三个定时开关机。The embodiment of the kit is also used for explanation. If the medicine is required to be taken three times within one day (the preset cycle time length T0 is 24 hours), the user can set the first time in the morning, middle and evening on the first day. During the three appropriate medication times, the single button switch on the electronic kit is pressed, and the timing module in the microcontroller 200 completes the timing setting operation at three time points, that is, the daily medication time is set. The time-sharing module 204 state setting can also be run. The time-sharing module 204 and the data processing module jointly control the audio generator to emit different prompt sounds at three different times according to different timing setting points. Similarly, at the same time in the morning, middle and evening of the next day, the electronic kit audio generator will beep, the tone will last for 3 minutes, if the user presses the order again within 3 minutes of the on time. With the key switch, the sound stops. This is true every day in the future. Three parallel step series were formed, three time switch machines.
在本实施例中,本发明定时装置的微控制器200对每一次开机输入进行同步计时,并均在一个循环时间T0(24小时)后的时刻发出开机操作命令,自动令音频发生器工作。本发明方法在保留用户的使用习惯和个性要求的基础上,显著改善了现有电子药盒的自动定时工作和定时设定模式,达到了定时控制提醒吃药和用户操作手续都非常简单的目的。In the present embodiment, the microcontroller 200 of the timing device of the present invention synchronizes the timing of each power-on input, and issues a power-on operation command at a time after a cycle time T0 (24 hours) to automatically cause the tone generator to operate. The method of the invention significantly improves the automatic timing work and timing setting mode of the existing electronic medicine box on the basis of retaining the user's usage habits and personality requirements, and achieves the purpose of timing control reminding the medicine and the user operation procedures are very simple. .
在本发明的一个优选实施例中,所述指令生成模块100包括重置指令单元103,所述微控制器200包括重置模块203;所述重置指令单元103用于在用户两次触发间隔小于或等于T2时,生成重置指令;所述重置模块203接收到所述重置指令后,清除计时模块201或分时模块204中存储的上一次定时设置。In a preferred embodiment of the present invention, the instruction generation module 100 includes a reset instruction unit 103, and the microcontroller 200 includes a reset module 203; the reset instruction unit 103 is used to trigger the interval twice in the user. When less than or equal to T2, a reset command is generated; after receiving the reset command, the reset module 203 clears the last timing setting stored in the timing module 201 or the time sharing module 204.
同样以电子药盒作为说明。此时T2同样为3小时。用户第一次进行定时设置时,如用户在早上第一次(早上8点)吃药时按一下电子药盒上的单键开关,微控制器运行并驱动开关模块开启,进而驱动音频发生器发出提示声,微控制器的导通模块驱动音频发生器发出的提示音持续3分钟,在导通时间的3分钟内如果用户再次按了该单键开关,微控制器驱动开关模块关闭,音频发生器声音停止。同时微处理器芯片中的计时模块完成定时记忆设置工作。此后,如果在3小时之内,例如早上10点,用户第二次进行定时记忆设置。此时,由于第一次和第二次定时设置间的间隔小于T2,即3小时。因此,在24小时后,也就是第二天早上的8点,电子药盒将不会启动,而是在2小时后,也就是第二天早上10点启动。这样可以便于用户更改定时设置。The electronic kit is also used as an illustration. At this time, T2 is also 3 hours. When the user makes the first time setting, if the user presses the single button switch on the electronic kit when taking the medicine for the first time (8:00 in the morning), the microcontroller runs and drives the switch module to open, thereby driving the audio generator. When the prompt sounds, the microcontroller's conduction module drives the tone sound from the audio generator for 3 minutes. If the user presses the one-button switch again within 3 minutes of the on-time, the microcontroller drive switch module is turned off, and the audio is turned off. The generator sound stops. At the same time, the timing module in the microprocessor chip completes the timing memory setting work. Thereafter, if within 3 hours, for example, 10:00 in the morning, the user performs the timing memory setting for the second time. At this time, since the interval between the first and second timing settings is less than T2, that is, 3 hours. Therefore, after 24 hours, that is, at 8 o'clock the next morning, the electronic kit will not start, but after 2 hours, that is, the next morning at 10 am. This makes it easy for users to change the timing settings.
在本发明的一个优选实施例中,指令生成模块100包括全部重置指令生成单元104和当前时间段重置指令生成单元105;所述全部重置指令生成单元104用于在用户触发时间长于设定时间t1时用于生成全部重置指令;所述当前时间段重置指令生成单元105用于在用户触发时间短于设定时间t2时用于生成当前时间段重置指令,其中t2<t1。所述重置模块203还用于在接收到全部重置指令后清空所述计时模块201中的全部定时设置;和/或在接收到当前时间段重置指令后用于清空所述计时模块201中的当前T2时间段范围内的全部定时设定。In a preferred embodiment of the present invention, the instruction generation module 100 includes a total reset instruction generation unit 104 and a current time period reset instruction generation unit 105; the all reset instruction generation unit 104 is configured to be longer than the user trigger time The time period t1 is used to generate all reset instructions; the current time period reset command generating unit 105 is configured to generate a current time period reset command when the user trigger time is shorter than the set time t2, where t2<t1 . The reset module 203 is further configured to clear all timing settings in the timing module 201 after receiving all reset commands; and/or to clear the timing module 201 after receiving the current time period reset command All timing settings in the current T2 time period.
同样以电子药盒为例,可对电子药盒上的单个按键赋予多种功能。例如,可以通过用户触发按键的时间长度来定义不同的设置。例如,按键触发时间在2s以内是设定定时,按键触发时间在2~4s以内是清除当前T2时间段范围内的全部定时设定,按键触发时间在6s以上是清除所有的定时设定。本领域技术人员了解这样的按键功能耦合并且能够实现。Similarly, in the case of an electronic kit, multiple functions can be assigned to a single button on an electronic kit. For example, different settings can be defined by the length of time the user triggers the button. For example, the trigger time of the button is set within 2s. The trigger time of the button is within 2~4s to clear all timing settings within the current T2 time range. When the button trigger time is above 6s, all timing settings are cleared. Those skilled in the art are aware of such key function coupling and can be implemented.
本发明的计时模块和分时模块可以采用石英晶体振荡电路提供标准时钟信号,其24小时的误差在1s左右。在本发明的优选实施例中,可采用电波钟电路来提供标准时钟信号,其3000年误差为1s。The timing module and the time sharing module of the present invention can provide a standard clock signal using a quartz crystal oscillation circuit, and the error of 24 hours is about 1 s. In a preferred embodiment of the invention, a radio clock circuit can be employed to provide a standard clock signal with a 3000 year error of 1 s.
本发明的定时装置可以应用在各个领域,各个方面,以实现简便定时的目的。 The timing device of the present invention can be applied to various fields and various aspects to achieve the purpose of simple timing.
图3是本发明的使用定时装置的多媒体播放器的第一实施例的原理框图。如图3所示,一种使用定时装置的多媒体播放器,包括数据存储模块301、播放模块302、信息处理模块303及定时装置304,所述信息处理模块303用于解码多媒体数据并控制播放模块302,所述定时装置304与信息处理模块303共同控制播放模块302按照设定时间自动播放多媒体文件,其中所述定时装置304包括指令生成模块100、微控制器200和开关模块300,所述指令生成模块100接收用户单次触发并生成控制指令,所述微控制器200接收所述控制指令并根据所述控制指令控制所述开关模块300的状态切换;所述开关模块300与外部用户终端电连接并控制所述外部用户终端运行;所述指令生成模块100包括定时指令单元101和切换指令单元102;所述定时指令单元101用于在用户两次触发间隔大于T2时,生成定时指令;所述切换指令单元102用于生成切换指令;所述微控制器200包括计时模块201、导通模块202;所述计时模块201设置计时循环时间T0,所述导通模块202设置导通持续时间T1;所述计时模块201接收定时指令后新建定时设置并开始计时,同时控制导通模块202导通并驱动所述开关模块300切换状态;所述导通模块202导通持续时间T1或所述导通模块202接收到切换指令后断开并控制所述开关模块300切换状态;所述计时模块201继续计时到时间段T0后触发所述导通模块202导通并驱动所述开关模块300切换状态、同时所述计时模块201清零并循环计时,完成此次定时设置并将此次定时设置存储到计时模块201中。3 is a schematic block diagram of a first embodiment of a multimedia player using a timing device of the present invention. As shown in FIG. 3, a multimedia player using a timing device includes a data storage module 301, a play module 302, an information processing module 303, and a timing device 304. The information processing module 303 is configured to decode multimedia data and control a play module. 302, the timing device 304 and the information processing module 303 jointly control the playback module 302 to automatically play the multimedia file according to the set time, wherein the timing device 304 includes the instruction generation module 100, the microcontroller 200, and the switch module 300, the instruction The generating module 100 receives a single trigger of the user and generates a control instruction, the microcontroller 200 receives the control instruction and controls state switching of the switch module 300 according to the control instruction; the switch module 300 and the external user terminal Connecting and controlling the operation of the external user terminal; the instruction generation module 100 includes a timing instruction unit 101 and a switching instruction unit 102; the timing instruction unit 101 is configured to generate a timing instruction when the user trigger interval is greater than T2; The switching instruction unit 102 is configured to generate a switching instruction; the microcontroller 200 includes a timing module 201, the continuity module 202; the timing module 201 sets the timing cycle time T0, the conduction module 202 sets the conduction duration T1; the timing module 201 receives the timing command, creates a new timing setting and starts timing, and simultaneously controls the control The switching module 202 is turned on and drives the switching module 300 to switch states; the conducting module 202 is turned on for a duration T1 or the conducting module 202 is disconnected and controls the switching state of the switching module 300 after receiving the switching instruction; The timing module 201 continues to time the time period T0 to trigger the conduction module 202 to be turned on and drive the switch module 300 to switch states, and the timing module 201 is cleared and cycled to complete the timing setting. This timing setting is stored in the timing module 201.
计时模块201的循环时间T0设计,可以很好地解决周期性定时控制的设定问题,由于它是一个长度值,和具体的时刻无关,因此不需要和传统定时方式一样需要一个实时运行、显示当前和将定时时刻的时钟电路和显示电路,硬件成本和操作步骤都大为节省。The cycle time T0 design of the timing module 201 can well solve the setting problem of the periodic timing control. Since it is a length value, it has nothing to do with the specific time, so it does not need a real-time operation and display as the traditional timing method. The current and timing clock circuits and display circuits, hardware costs and operational steps are greatly saved.
导通模块202的导通持续时间T1设计,可以很好地防止适用装置进入无效循环状态,避免了用户在只设定了开机而没有设定关机的情况下,造成适用装置一旦开机就长期开机的无谓损耗状态和定时控制的无效状态。T1也是一个长度值,和具体的时刻无关。The conduction duration T1 of the conduction module 202 is designed to prevent the applicable device from entering the inactive loop state, and the user is prevented from setting up the power-on and setting the shutdown. The deadweight state and the invalid state of the timing control. T1 is also a length value, regardless of the specific time.
本发明的定时装置的微控制器200为核心器件,可为公知的内嵌软件程序设计的智能微型程序控制器,设计者可以用其适用的语言编制内部软件程序,在生产或使用中写入微处理器芯片中使其具有一定的处理功能。The microcontroller 200 of the timing device of the present invention is a core device, and can be a smart microprogram controller designed by a well-known embedded software program. The designer can program an internal software program in its applicable language and write it in production or use. It has certain processing functions in the microprocessor chip.
微控制器200既可以是专为本定时控制功能独立设计的,也可以是:适用装置中其它功能所需的,微处理器芯片除存储有本发明方法的基本程序外,还允许存储其它的操作程序。The microcontroller 200 can be designed independently for the timing control function, or can be used for other functions in the device. The microprocessor chip can store other programs in addition to the basic program of the method of the present invention. Operating procedures.
本发明方法适用装置中的开关模块300是一个微处理器芯片的驱动执行机构,依照微处理器芯片的命令控制用户终端的工作状态即的开、关机状态。它可以是任何电子开关(晶体管、场效应管、可控硅、固态继电器等)、机电开关(继电器、接触器等)。The switch module 300 in the apparatus applicable to the method of the present invention is a drive actuator of a microprocessor chip, and controls the working state of the user terminal, that is, the on and off states, according to the command of the microprocessor chip. It can be any electronic switch (transistor, field effect transistor, thyristor, solid state relay, etc.), electromechanical switch (relay, contactor, etc.).
本发明方法适用装置中的用户终端是一个被控制的终端用具,可以为任意可控制的电器、电器部件单元。The user terminal in the apparatus applicable to the method of the present invention is a controlled terminal appliance, and can be any controllable electrical appliance and electrical component unit.
在本发明的一个实施例中,所述数据存储模块301包括用于存储每个定时设置点播放的多媒体文件列表的定时列表存储单元3011和用于存储所有多媒体文件的多媒体存储单元3012。媒体信息可按类别划分为音频文件、视频文件、无线电信号等,还可将音频文件、视频文件、无线电信号根据需要划分更小的小单元,如将音频文件可按日常生活需要分为唤醒音乐、佐餐音乐、催眠音乐等,也可按类型分为摇滚音乐、民族音乐、流行音乐、交响音乐等。In one embodiment of the invention, the data storage module 301 includes a timing list storage unit 3011 for storing a list of multimedia files played by each timing set point and a multimedia storage unit 3012 for storing all multimedia files. Media information can be divided into audio files, video files, radio signals, etc. by category. Audio files, video files, and radio signals can also be divided into smaller units according to needs. For example, audio files can be divided into wake-up music according to daily life needs. , table music, hypnosis music, etc., can also be divided into rock music, ethnic music, pop music, symphonic music, etc. by type.
在本发明的一个实施例中,所述计时模块201和分时模块204可采用外部晶振电路来提供标准时间信号。计时模块201和分时模块204可与数据存储模块301链接,可在不同的时间定制点链接数据存储模块301中定时列表存储单元中存储不同类型文件。如分时模块204在不同的时间定制点链接不同的音乐如唤醒音乐、佐餐音乐、催眠音乐等,从而驱动播放模块302在不同的时间定制点播放不同的音乐。In one embodiment of the invention, the timing module 201 and the time sharing module 204 may employ an external crystal oscillator circuit to provide a standard time signal. The timing module 201 and the time sharing module 204 can be linked with the data storage module 301, and different types of files can be stored in the timing list storage unit in the custom point link data storage module 301 at different times. For example, the time sharing module 204 customizes points at different times to link different music such as wake music, table music, hypnosis music, etc., thereby driving the play module 302 to play different music at different time points.
导通模块202可通过导通时间设置键在不同的时间定制段设置不同的导通持续时间T1。如驱动播放模块302在播放唤醒音乐的导通持续时间设置为30分钟,播放佐餐音乐的时间为2小时,播放催眠音乐的时间设置为1小时。所述计时模块201设置计时循环时间T0预设为24小时。The conduction module 202 can set different conduction durations T1 at different time customization sections by using the on-time setting keys. For example, when the driving playback module 302 is set to 30 minutes for the duration of playing the wake-up music, the time for playing the table music is 2 hours, and the time for playing the hypnotic music is set to 1 hour. The timing module 201 sets the timing cycle time T0 to be preset to 24 hours.
在本发明的一个优选实施例中,T0预设为24小时,T1为30分钟,T2为3小时。当微控制器200采用计时模块201进行设置时,用户早上8点启动单键开关,单键开关启动计时模块201驱动所述开关模块300开启,播放模块302按照设定播放定时列表存储单元中存储的多媒体信息如播放唤醒音乐,用户在播放模块302运行期间,用户再次按了该单键开关,计时模块201自动驱动所述开关模块300关闭,播放模块302停止播放音乐。若用户在播放模块302运行期间没有再次启动该单键开关,播放模块302自动播放唤醒音乐30分钟后停止。若3小时后,用户启动单键开关,单键开关启动计时模块201驱动所述开关模块300开启,播放模块302按照设定播放定时列表存储单元中存储的多媒体信息如播放唤醒音乐,用户在播放模块302运行期间,用户再次按了该单键开关,计时模块201自动驱动开关模块300关闭,播放模块停止播放音乐。若用户在播放模块302运行期间没有再次启动该单键开关,播放模块302自动播放唤醒音乐30分钟后停止。在第二天早上以及以后每天的8点和11点用户触发单键开关进行时间定制的整整24小时以后)循环播放音乐。In a preferred embodiment of the invention, T0 is preset to 24 hours, T1 is 30 minutes, and T2 is 3 hours. When the microcontroller 200 is set by using the timing module 201, the user activates the single-key switch at 8:00 in the morning, the single-key switch starts the timing module 201 to drive the switch module 300 to be turned on, and the playback module 302 stores in the storage unit according to the set play timing list. The multimedia information is played, such as playing wake-up music. During the operation of the playing module 302, the user presses the single-key switch again, the timing module 201 automatically drives the switch module 300 to be turned off, and the playing module 302 stops playing music. If the user does not activate the one-touch switch again during the operation of the play module 302, the play module 302 automatically plays the wake-up music for 30 minutes and then stops. If the user activates the one-button switch after 3 hours, the single-key switch start timing module 201 drives the switch module 300 to be turned on, and the play module 302 plays the multimedia information stored in the storage unit according to the set play timing list, such as playing wake-up music, and the user is playing. During the operation of the module 302, the user presses the single button switch again, and the timing module 201 automatically drives the switch module 300 to turn off, and the play module stops playing music. If the user does not activate the one-touch switch again during the operation of the play module 302, the play module 302 automatically plays the wake-up music for 30 minutes and then stops. The music is looped in the morning after the next morning and at 8 o'clock and 11 o'clock every day after the user triggers the one-button switch for a full 24 hours of time customization.
若用户第二次定时设置与第一次定时设置的间隔小于3小时,比如用户在早上11点以前多次触发按键,本发明的定时装置只会记住最后一个设定时间,而在以后的每天都在该最后一个设定时间自动开启。If the interval between the second timing setting of the user and the first timing setting is less than 3 hours, for example, the user triggers the button multiple times before 11:00 in the morning, the timing device of the present invention only remembers the last set time, and in the future It is automatically turned on every day at the last set time.
在本发明的另一优选实施例中,微控制器200采用分时模块204进行设置时,用户早上启动单键开关,单键开关启动分时模块204驱动开关模块300开启,播放模块302按照设定播放定时列表存储单元中存储的多媒体信息如播放唤醒音乐;用户在播放模块302运行期间,用户再次按了该单键开关,微控制器200即驱动开关模块300关闭,播放模块302停止播放音乐。若用户在播放模块302运行期间没有再次启动该单键开关,播放模块302自动播放唤醒音乐30分钟后停止。午餐时间,分时模块204驱动播放模块302自动播放佐餐音乐,同时若用户在播放模块302播放佐餐音乐期间,用户再次启动了该单键开关,微控制器200驱动开关模块300关闭,播放模块302停止播放音乐,若用户在播放模块302运行播放佐餐音乐期间用户没有启动该单键开关,播放模块302自动播放佐餐音乐2小时后停止。晚上睡觉前,分时模块204驱动开关模块300开启,播放模块302自动播放佐餐音乐,若用户在播放模块302播放催眠音乐期间,用户再次启动了该单键开关,自动运行驱动开关模块300关闭。播放模块302停止播放音乐,若用户在播放模块302运行播放催眠音乐期间用户没有启动该单键开关,播放模块302自动播放催眠音乐1小时后自动停止。以后本发明的一种使用定时装置的多媒体播放器于循环时间T0后循环运行上述操作。如本实施例的所述计时模块设置计时循环时间T0设置为24小时,以后每天都会在相同的时间(用户触发单键开关进行时间定制的整整24小时以后)循环播放音乐,当计时模块同时计时达到循环时间T0设置为24小时时,计时模块对循环时间T0设置为24小时进行清零并循环计时。In another preferred embodiment of the present invention, when the microcontroller 200 is set by the time sharing module 204, the user activates the one-button switch in the morning, and the one-button switch starts the time-sharing module 204 to drive the switch module 300 to be turned on, and the play module 302 is set according to the setting. The multimedia information stored in the play timing list storage unit is played, such as playing wake music; during the operation of the play module 302, the user presses the single button switch again, the microcontroller 200 drives the switch module 300 to be turned off, and the play module 302 stops playing music. . If the user does not activate the one-touch switch again during the operation of the play module 302, the play module 302 automatically plays the wake-up music for 30 minutes and then stops. At the lunch time, the time sharing module 204 drives the playing module 302 to automatically play the table music, and if the user activates the single button switch during the playing of the table music by the playing module 302, the microcontroller 200 drives the switch module 300 to be turned off, and the playing module 302 The music is stopped. If the user does not activate the one-touch switch during the play module 302 running the table music, the play module 302 automatically plays the table music for 2 hours and then stops. Before going to sleep at night, the time sharing module 204 drives the switch module 300 to be turned on, and the play module 302 automatically plays the table music. If the user plays the hypnotic music during the play module 302, the user activates the single button switch again, and the automatic operation drive switch module 300 is turned off. The playing module 302 stops playing music. If the user does not activate the one-touch switch during the playing of the hypnotic music by the playing module 302, the playing module 302 automatically plays the hypnotic music and automatically stops after 1 hour. A multimedia player using the timing device of the present invention thereafter cyclically runs the above operation after the cycle time T0. The timing module T0 is set to 24 hours as in the timing module of the embodiment, and the music is cyclically played every day at the same time (the user triggers the single button switch to perform the time customization for 24 hours), and the timing module simultaneously counts the clock. When the cycle time T0 is set to 24 hours, the timing module sets the cycle time T0 to 24 hours for clearing and cycle counting.
在本发明的一个优选实施例中,所述微控制器200另设有探测模块,当某个时间定制点,导通模块驱动开关模块300开启,播放模块302自动播放多媒体信号文件,当播放模块302已运行导通持续时间T1
而播放定时列表存储单元中的单个文件没有播放完,探测模块驱动播放模块302继续运行知道该文件播放完毕。In a preferred embodiment of the present invention, the microcontroller 200 is further provided with a detecting module. When the point is customized, the conducting module drives the switch module 300 to be turned on, and the playing module 302 automatically plays the multimedia signal file when the playing module 302 has been running for the duration T1
When the single file in the play timing list storage unit is not played, the detection module drives the play module 302 to continue running to know that the file is played.
本发明的一种使用上述定时装置的多媒体播放器的数据存储模块301可采用硬盘存储技术或移动存储技术,如存储芯片、记忆棒、闪存、移动硬盘等。微控制器200另具有群组编辑功能,可以根据乐曲的播放境况,将某些特定的乐曲编辑为同一群组,并将该群组设定播放时间,从而可实现自动定时播放乐曲群组,不需要专人负责音乐的定时播放。令可在一种使用上述定时装置的多媒体播放器上设有与电子计算机连接的信息传输接口,用户可从电脑的音乐库中选择需要的乐曲设定播放时间后储存在数据存储模块中,存储或删除数据都很方便。The data storage module 301 of the multimedia player using the above timing device of the present invention may employ a hard disk storage technology or a mobile storage technology such as a memory chip, a memory stick, a flash memory, a mobile hard disk, or the like. The microcontroller 200 further has a group editing function, which can edit certain music pieces into the same group according to the playing condition of the music piece, and set the playing time of the group, thereby realizing automatic timed playing of the music group. No special person is required to be responsible for the timing of the music. The information transmission interface connected to the electronic computer can be provided on a multimedia player using the above timing device, and the user can select a desired music piece from the music library of the computer to set the playing time and store it in the data storage module, and store Or delete data is very convenient.
如图4是本发明的使用定时装置的多媒体播放器的第二实施例的原理框图。其进一步包括用户控制模块305,用户控制模块305用于将接收到的用户控制信号发送给所述信息处理模块303,并与所述信息处理模块303一起依照用户控制信号控制所述播放模块302播放多媒体信息。用户控制模块305包括用于接通电源的电源按键3051、用于播放多媒体信号的播放按键3052。4 is a schematic block diagram of a second embodiment of a multimedia player using a timing device of the present invention. It further includes a user control module 305, configured to send the received user control signal to the information processing module 303, and control the playback module 302 to play according to the user control signal together with the information processing module 303. Multimedia information. The user control module 305 includes a power button 3051 for turning on the power, and a play button 3052 for playing a multimedia signal.
本发明的另一实施例中,当用户启动单键开关时,启动的定时功能。而当在其它时间用户需要收听音乐、浏览多媒体信息时,只需按照正常的操作,开启本发明的一种使用定时装置的多媒体播放器,选择播放,同时按照需要选择多媒体文件和音量即可。当到达时间定制点的定时播放时间,本发明的一种使用定时装置的多媒体播放器可自行定时播放音乐。该实施例既不影响用户平时的音乐收听,也可以达到简易定时的目的。In another embodiment of the present invention, the timing function is activated when the user activates the one-touch switch. When the user needs to listen to music and browse multimedia information at other times, it is only necessary to open a multimedia player using the timing device according to the normal operation, select play, and select the multimedia file and volume as needed. When the timed playing time of the time customization point is reached, a multimedia player using the timing device of the present invention can play music at a time. This embodiment does not affect the user's usual music listening, but also achieves the purpose of simple timing.
本发明另一实施例中,定时装置304的单键开关与电源键复合,然后通过复合后的单键开关进行定时和开关电源。当用户触发单键开关,所述一种使用定时装置的多媒体播放器在开启的同时,微控制器记录该触发时间。In another embodiment of the present invention, the one-button switch of the timing device 304 is combined with the power button, and then the timing and switching power supply is performed through the combined single-button switch. When the user triggers the one-touch switch, the multimedia player that uses the timing device is turned on, and the microcontroller records the trigger time.
图5是本发明的使用定时装置的多媒体播放器的第三实施例的原理框图,其中所述用户控制模块305进一步包括第一调音/选曲按键3053、第二调音/选曲按键3054。所述播放模块302还包括通信接口3021。所述通信接口可以是红外通信接口、蓝牙通信接口或是总线通信接口。5 is a schematic block diagram of a third embodiment of a multimedia player using a timing device of the present invention, wherein the user control module 305 further includes a first tuning/selecting button 3053 and a second tuning/selecting button 3054. . The play module 302 also includes a communication interface 3021. The communication interface may be an infrared communication interface, a Bluetooth communication interface or a bus communication interface.
图6是本发明的使用定时装置的多媒体播放器的第四实施例的原理框图,在该实施例中,单键开关包括开启定时装置的电源键3051与播放按键3052,当用户同时触发这两个按键时,定时装置的微控制器才记录该时间。当用户单独触发这两个按键时,分别完成电源开启和放音功能。在该实施例中,所述播放模块302包括用于放大音频信号的功率放大单元3021、用于输出放大的音频信号的扬声器3022。播放模块302进一步包括用于显示播放多媒体文件的显示单元模块3024。在优选实施例中,所述单键开关包括同时受到触发后开启电源的电源键和第二调音/选曲按键。在优选实施例中,所述单键开关进一步包括同时受到触发后开启定时装置的电源键和第一调音/选曲按键。在本发明的一个优选实施例中,所述第一调音/选曲按键可以是音量增大/下一曲按键,所述第二调音/选曲按键可是音量减小/上一曲按键。可通过触发时间长短控制音量调节或是选曲。6 is a schematic block diagram of a fourth embodiment of a multimedia player using a timing device of the present invention. In this embodiment, the one-touch switch includes a power button 3051 and a play button 3052 that turn on the timing device, when the user simultaneously triggers both The microcontroller of the timing device records this time when a button is pressed. When the user separately triggers the two buttons, the power-on and playback functions are respectively completed. In this embodiment, the play module 302 includes a power amplifying unit 3021 for amplifying an audio signal, and a speaker 3022 for outputting the amplified audio signal. The play module 302 further includes a display unit module 3024 for displaying a play multimedia file. In a preferred embodiment, the one-touch switch includes a power button and a second tuning/selecting button that are simultaneously turned on after being triggered. In a preferred embodiment, the one-touch switch further includes a power button and a first tuning/selecting button that simultaneously turn on the timing device after being triggered. In a preferred embodiment of the present invention, the first tuning/selecting button may be a volume up/next button, and the second tuning/selecting button may be a volume down/previous button . The volume adjustment or selection can be controlled by the length of the trigger.
图7是本发明的使用定时装置的多媒体播放器的一个实施例的结构框图,其中所述用户操作控制模块采用触摸芯片,其包括设置在壳体1上的按键51、52。当同时触摸按键51和52时,可开启和关闭所述一种定时装置及使用该定时装置的多媒体播放器并进行定时设定。当单独短时间触摸按键51时,可选择下一曲目,单独短时间触摸按键52时,可选择上一曲目。当单独长时间触摸按键51时,可调大音量,单独长时间触摸按键52时,可调小音量。在该实施例中,所述数据存储模块301是智能存储卡102。在该实施例中,所述播放模块包括用于放大音频信号的功率放大单元、用于输出放大的音频信号的扬声器及用于显示所播放多媒体文件的显示单元。所述扬声器设置在壳体1的两端。在本实施例中,可采用设置在壳体1内部的电池7进行供电。7 is a structural block diagram of an embodiment of a multimedia player using a timing device of the present invention, wherein the user operation control module employs a touch chip including buttons 51, 52 disposed on the housing 1. When the keys 51 and 52 are simultaneously touched, the timing device and the multimedia player using the timing device can be turned on and off and the timing setting can be performed. When the button 51 is touched for a short time alone, the next track can be selected, and when the button 52 is touched for a short time alone, the previous track can be selected. When the button 51 is touched for a long time alone, the volume is adjustable, and when the button 52 is touched for a long time alone, the volume is adjustable. In this embodiment, the data storage module 301 is a smart memory card 102. In this embodiment, the play module includes a power amplifying unit for amplifying an audio signal, a speaker for outputting the amplified audio signal, and a display unit for displaying the played multimedia file. The speakers are disposed at both ends of the housing 1. In the present embodiment, the battery 7 provided inside the casing 1 can be used for power supply.
在本发明的另一实施例中,可单独设置定时按键,当触发定时按键时,所述一种定时装置及使用该定时装置的多媒体播放器启动定时。在该实施例中,当同时触摸按键51和52时,可开启和关闭本发明的一种使用上述定时装置的多媒体播放器。当单独短时间触摸按键51时,可选择下一曲目,单独短时间触摸按键52时,可选择上一曲目。当单独长时间触摸按键51时,可调大音量,单独长时间触摸按键52时,可调小音量。In another embodiment of the present invention, a timing button can be separately set, and when a timing button is triggered, the timing device and the multimedia player using the timing device initiate timing. In this embodiment, when the keys 51 and 52 are simultaneously touched, a multimedia player of the present invention using the above timing means can be turned on and off. When the button 51 is touched for a short time alone, the next track can be selected, and when the button 52 is touched for a short time alone, the previous track can be selected. When the button 51 is touched for a long time alone, the volume is adjustable, and when the button 52 is touched for a long time alone, the volume is adjustable.
图8是本发明的使用定时装置的多媒体播放器的另一个实施例的结构框图,其外接电源2,并通过通信接口301连接到外部播放装置3。所述通信接口可以是红外通信接口、蓝牙通信接口或是总线通信接口。按键52是放音/暂停按键,按键53是音量增大/下一曲按键,按键54是音量减小/上一曲按键,按键51是电源按键。当同时触发按键51和按键52时,可开启定时功能。当短时间触发按键53和54时,可调节音量。当长时间(超过2s)触发按键53和54时,可进行选曲。本领域技术人员知道并且可以熟练地进行按键的设置。8 is a block diagram showing another embodiment of a multimedia player using a timing device of the present invention, which is externally connected to a power source 2 and connected to an external playback device 3 via a communication interface 301. The communication interface may be an infrared communication interface, a Bluetooth communication interface or a bus communication interface. The button 52 is a play/pause button, the button 53 is a volume up/next button, the button 54 is a volume down/previous button, and the button 51 is a power button. When the button 51 and the button 52 are simultaneously activated, the timing function can be turned on. When the keys 53 and 54 are triggered for a short time, the volume can be adjusted. When the keys 53 and 54 are triggered for a long time (more than 2 s), the selection can be performed. Those skilled in the art are aware of and can skillfully set the keys.
本发明还公开了一种使用定时装置的定时方法,所述定时装置包括指令生成模块100、微控制器200和开关模块300,所述微控制器200包括计时模块201、导通模块202;(S1)
所述指令生成模块100接收用户单次触发并生成控制指令,(S2) 所述微控制器200接收所述控制指令并根据所述控制指令控制所述开关模块300的状态切换;(S3)
所述开关模块300与外部用户终端电连接并控制所述外部用户终端运行;其中,所述步骤(S1)包括:在用户两次触发间隔大于T2时,生成定时指令,否则生成切换指令;所述步骤(S2)包括:(S21)微控制器200接收定时指令后新建定时设置并开始计时,同时控制导通模块202导通并驱动所述开关模块300切换状态;(S22)所述导通模块(202)导通持续时间T1或在导通持续时间小于T1时接收到切换指令后断开并控制所述开关模块(300)切换状态;(S23)所述计时模块201继续计时到时间段T0后触发所述导通模块202导通并驱动所述开关模块300切换状态、同时所述计时模块201清零并循环计时,完成此次定时设置并将此次定时设置存储到计时模块201中;同时执行步骤(S22)。The present invention also discloses a timing method using a timing device, the timing device comprising an instruction generation module 100, a microcontroller 200 and a switch module 300, the microcontroller 200 comprising a timing module 201, a conduction module 202; S1)
The command generation module 100 receives a single trigger of the user and generates a control instruction, (S2) the microcontroller 200 receives the control instruction and controls state switching of the switch module 300 according to the control instruction; (S3)
The switch module 300 is electrically connected to an external user terminal and controls the operation of the external user terminal. The step (S1) includes: generating a timing instruction when the user triggers the interval greater than T2, otherwise generating a switching instruction; The step (S2) includes: (S21) the microcontroller 200 receives the timing command, creates a new timing setting, and starts timing, while controlling the conduction module 202 to be turned on and driving the switching module 300 to switch states; (S22) the conducting The module (202) turns on the duration T1 or disconnects and controls the switching module (300) switching state after receiving the switching instruction when the conduction duration is less than T1; (S23) the timing module 201 continues to count to the time period After T0, the conduction module 202 is triggered to be turned on and the switching module 300 is driven to switch states, and the timing module 201 is cleared and cycled, and the timing setting is completed and the timing setting is stored in the timing module 201. At the same time, the step (S22) is performed.
本发明的又一实施例可提供一种计算机可读的信息存储方式。存储信息在其上后,一个至少包含一个可被仪器执行的代码段的电脑程序由此可控制仪器运行以上步骤。因此,本发明可以通过硬件、软件,或者软、硬件结合来实现。本发明可以在至少一个计算机系统中以集中方式实现,或者由分布在几个互连的计算机系统中的不同部分以分散方式实现。任何可以实现方法的计算机系统或其它设备都是可适用的。常用软硬件的结合可以是安装有计算机程序的通用计算机系统,通过安装和执行程序控制计算机系统,使其按方法运行。Yet another embodiment of the present invention can provide a computer readable form of information storage. After storing the information thereon, a computer program containing at least one code segment executable by the instrument can thereby control the instrument to run the above steps. Therefore, the present invention can be implemented by hardware, software, or a combination of software and hardware. The invention can be implemented in a centralized fashion in at least one computer system or in a decentralized manner. Any computer system or other device that can implement the method is applicable. A combination of commonly used hardware and software may be a general-purpose computer system in which a computer program is installed, and the computer system is controlled to operate in accordance with the method by installing and executing the program.
本发明还可以通过计算机程序产品进行实施,程序包含能够实现本发明方法的全部特征,当其安装到计算机系统中时,可以实现本发明的方法。本文件中的计算机程序所指的是:可以采用任何程序语言、代码或符号编写的一组指令的任何表达式,该指令组使系统具有信息处理能力,以直接实现特定功能,或在进行下述一个或两个步骤之后实现特定功能:a)转换成其它语言、编码或符号;b)以不同的格式再现。The invention can also be implemented by a computer program product, the program comprising all the features enabling the implementation of the method of the invention, which, when installed in a computer system, can carry out the method of the invention. The computer program in this document refers to any expression of a set of instructions that can be written in any programming language, code or symbol that gives the system information processing capabilities to directly implement a particular function, or Specific functions are implemented after one or two steps: a) conversion to other languages, codes or symbols; b) reproduction in a different format.
本发明是根据特定实施例进行描述的,但本领域的技术人员应明白在不脱离本发明范围时,可进行各种变化和等同替换。此外,为适应本发明技术的特定场合或材料,可对本发明进行诸多修改而不脱离其保护范围。因此,本发明并不限于在此公开的特定实施例,而包括所有落入到权利要求保护范围的实施例。The present invention has been described in terms of a particular embodiment, and it will be understood by those skilled in the art that various changes and equivalents can be made without departing from the scope of the invention. In addition, many modifications may be made to the invention without departing from the scope of the invention. Therefore, the invention is not limited to the specific embodiments disclosed herein, but includes all embodiments falling within the scope of the claims.
Claims (10)
1、一种定时装置,其特征在于,包括指令生成模块(100)、微控制器(200)和开关模块(300),其中,所述指令生成模块(100)接收用户单次触发并生成控制指令,所述微控制器(200)接收所述控制指令并根据所述控制指令控制所述开关模块(300)的状态切换;所述开关模块(300)与外部用户终端电连接并控制所述外部用户终端运行;所述指令生成模块(100)包括定时指令单元(101)和切换指令单元(102);所述定时指令单元(101)用于在用户两次触发间隔大于T2时,生成定时指令;所述切换指令单元(102)用于生成切换指令;所述微控制器(200)包括计时模块(201)、导通模块(202);所述计时模块(201)设置计时循环时间T0,所述导通模块(202)设置导通持续时间T1;所述计时模块(201)接收定时指令后新建定时设置并开始计时,同时控制导通模块(202)导通并驱动所述开关模块(300)切换状态;所述导通模块(202)导通持续时间T1或在导通持续时间小于T1时接收到切换指令后断开并控制所述开关模块(300)切换状态;所述计时模块(201)继续计时到时间段T0后触发所述导通模块(202)导通并驱动所述开关模块(300)切换状态、同时所述计时模块(201)清零并循环计时,完成此次定时设置并将此次定时设置存储到计时模块(201)中。A timing device, comprising: an instruction generation module (100), a microcontroller (200), and a switch module (300), wherein the instruction generation module (100) receives a single trigger from a user and generates a control Instructing, the microcontroller (200) receives the control command and controls state switching of the switch module (300) according to the control command; the switch module (300) is electrically connected to an external user terminal and controls the The external user terminal is operated; the instruction generating module (100) includes a timing instruction unit (101) and a switching instruction unit (102); and the timing instruction unit (101) is configured to generate a timing when the user triggers the interval twice greater than T2. The switching instruction unit (102) is configured to generate a switching instruction; the microcontroller (200) includes a timing module (201), a conduction module (202); and the timing module (201) sets a timing cycle time T0. The conduction module (202) is set to be on for a duration T1; the timing module (201) receives a timing command, creates a new timing setting, starts timing, and controls conduction. The module (202) turns on and drives the switch module (300) to switch state; the conduction module (202) turns on the duration T1 or disconnects and controls the switch after receiving the switching command when the conduction duration is less than T1 The switch module (300) switches states; the timing module (201) continues to time the time period T0 to trigger the conduction module (202) to be turned on and drive the switch module (300) to switch states, and the timing is simultaneously The module (201) is cleared and cycled, and the timing setting is completed and the timing setting is stored in the timing module (201).
2、根据权利要求1所述的定时装置,其特征在于,所述微控制器(200)进一步包括分时模块(204),所述分时模块(204)接收定时指令后新建定时设置并开始计时,
同时控制导通模块(202)导通并驱动所述开关模块(300)切换状态;所述导通模块(202)导通持续时间T1后断开并控制所述开关模块(300)切换状态;所述分时模块(204)继续计时到时间段T3后触发所述导通模块(202)导通并驱动所述开关模块(300)切换状态、所述导通模块(202)导通持续时间T4后断开并控制所述开关模块(300)切换状态;所述分时模块(204)继续计时到时间段T0后触发所述导通模块(202)导通并驱动所述开关模块(300)切换状态、同时所述分时模块(204)清零并循环计时,完成此次定时设置并将此次定时设置存储到分时模块(204)中;其中T3<T4<T0。2. The timing device of claim 1, wherein the microcontroller (200) further comprises a time sharing module (204), the time sharing module (204) receiving a timing command, creating a new timing setting and starting Timing,
Simultaneously controlling the conduction module (202) to conduct and drive the switching module (300) to switch state; the conduction module (202) is turned on for a duration T1 and then disconnects and controls the switching state of the switch module (300); The time sharing module (204) continues to time the time period T3 to trigger the conduction module (202) to be turned on and drive the switching module (300) to switch state, and the conduction module (202) is turned on. After T4, the switching module (300) is switched off and controlled; the time sharing module (204) continues to time the time period T0 to trigger the conduction module (202) to be turned on and drive the switch module (300). Switching the state, at the same time, the time sharing module (204) is cleared and cycled, and the timing setting is completed and the timing setting is stored in the time sharing module (204); wherein T3 < T4 < T0.
3、根据权利要求1或2所述的定时装置,其特征在于,所述指令生成模块(100)包括重置指令单元(103),所述微控制器(200)包括重置模块(203);所述重置指令单元(103)用于在用户两次触发间隔小于或等于T2时,生成重置指令;所述重置模块(203)接收到所述重置指令后,清除计时模块(201)或分时模块(204)中存储的上一次定时设置。3. Timing device according to claim 1 or 2, characterized in that the instruction generation module (100) comprises a reset instruction unit (103), the microcontroller (200) comprising a reset module (203) The reset instruction unit (103) is configured to generate a reset instruction when the user trigger interval is less than or equal to T2; after the reset module (203) receives the reset command, clear the timing module ( 201) or the last timing setting stored in the time sharing module (204).
4、根据权利要求3所述的定时装置,其特征在于,所述切换指令单元(102)用于在用户两次触发间隔小于T1时,生成切换指令;其中T1<T2,T2=T0/n,n为正数。The timing device according to claim 3, wherein the switching instruction unit (102) is configured to generate a switching instruction when the user trigger interval is less than T1; wherein T1<T2, T2=T0/n , n is a positive number.
5、根据权利要求4所述的定时装置,其特征在于,指令生成模块(100)包括全部重置指令生成单元(104)和当前时间段重置指令生成单元(105);所述全部重置指令生成单元(104)用于在用户触发时间长于设定时间t1时用于生成全部重置指令;所述当前时间段重置指令生成单元(105)用于在用户触发时间短于设定时间t2时用于生成当前时间段重置指令,其中t2<t1。The timing device according to claim 4, wherein the instruction generation module (100) comprises all reset instruction generation units (104) and current time period reset instruction generation unit (105); The instruction generating unit (104) is configured to generate all reset instructions when the user trigger time is longer than the set time t1; the current time period reset command generating unit (105) is configured to trigger the user to be shorter than the set time When t2 is used to generate the current time period reset instruction, where t2 < t1.
6、根据权利要求5所述的定时装置,其特征在于,所述重置模块(203)还用于在接收到全部重置指令后清空所述计时模块(201)中的全部定时设置;和/或在接收到当前时间段重置指令后用于清空所述计时模块(201)中的当前T2时间段范围内的全部定时设定。The timing device according to claim 5, wherein the reset module (203) is further configured to clear all timing settings in the timing module (201) after receiving all reset commands; and / / After receiving the current time period reset command, used to clear all timing settings in the current T2 time period range in the timing module (201).
7、根据权利要求6所述的定时装置,其特征在于,所述指令生成模块(100)包括用于接收用户触发的单键开关或耦合信号触发源。7. Timing device according to claim 6, characterized in that the command generation module (100) comprises a single-key switch or a coupling signal trigger source for receiving a user trigger.
8、一种使用定时装置的多媒体播放器,其特征在于,包括数据存储模块(301)、播放模块(302)、信息处理模块(303)及定时装置(304),所述信息处理模块(303)用于解码多媒体数据并控制播放模块(302),所述定时装置(304)与信息处理模块(303)共同控制播放模块(302)按照设定时间自动播放多媒体文件,其中所述定时装置(304)包括指令生成模块(100)、微控制器(200)和开关模块(300),其中,所述指令生成模块(100)接收用户单次触发并生成控制指令,所述微控制器(200)接收所述控制指令并根据所述控制指令控制所述开关模块(300)的状态切换;所述开关模块(300)与外部用户终端电连接并控制所述外部用户终端运行;所述指令生成模块(100)包括定时指令单元(101)和切换指令单元(102);所述定时指令单元(101)用于在用户两次触发间隔大于T2时,生成定时指令;所述切换指令单元(102)用于生成切换指令;所述微控制器(200)包括计时模块(201)、导通模块(202);所述计时模块(201)设置计时循环时间T0,所述导通模块(202)设置导通持续时间T1;所述计时模块(201)接收定时指令后新建定时设置并开始计时,同时控制导通模块(202)导通并驱动所述开关模块(300)切换状态;所述导通模块(202)导通持续时间T1或在导通持续时间小于T1时接收到切换指令后断开并控制所述开关模块(300)切换状态;所述计时模块(201)继续计时到时间段T0后触发所述导通模块(202)导通并驱动所述开关模块(300)切换状态、同时所述计时模块(201)清零并循环计时,完成此次定时设置并将此次定时设置存储到计时模块(201)中。A multimedia player using a timing device, comprising: a data storage module (301), a playback module (302), an information processing module (303), and a timing device (304), the information processing module (303) For decoding multimedia data and controlling the playing module (302), the timing device (304) and the information processing module (303) jointly control the playing module (302) to automatically play the multimedia file according to the set time, wherein the timing device ( 304) includes an instruction generation module (100), a microcontroller (200), and a switch module (300), wherein the instruction generation module (100) receives a single trigger from a user and generates a control instruction, the microcontroller (200) Receiving the control command and controlling state switching of the switch module (300) according to the control command; the switch module (300) is electrically connected to an external user terminal and controls operation of the external user terminal; The module (100) includes a timing instruction unit (101) and a switching instruction unit (102); the timing instruction unit (101) is used for two users When the sub-trigger interval is greater than T2, a timing instruction is generated; the switching instruction unit (102) is configured to generate a switching instruction; the microcontroller (200) includes a timing module (201), a conducting module (202), and the timing The module (201) sets the timing cycle time T0, the conduction module (202) sets the conduction duration T1; the timing module (201) receives the timing command, creates a new timing setting and starts timing, and controls the conduction module (202). Turning on and driving the switching module (300) to switch states; the conducting module (202) is turned on for a duration T1 or disconnects and controls the switch module after receiving a switching command when the conducting duration is less than T1 (300) switching state; the timing module (201) continues to time the time period T0 to trigger the conduction module (202) to be turned on and drive the switching module (300) to switch state, and the timing module (201) Clear and cycle the timer to complete the timing setup and store this timing setting in the timing module (201).
9、根据权利要求8所述的一种使用定时装置的多媒体播放器,其特征在于,进一步包括用于将接收到的用户控制信号发送给所述信息处理模块(303),并与所述信息处理模块(303)一起依照所述用户控制信号控制所述播放模块(302)播放多媒体信息的用户控制模块(305),所述用户控制模块(305)包括用于控制播放模块(302)启动的电源键(3051)及用于播放音频信号的播放按键(3052)。9. A multimedia player using a timing device according to claim 8, further comprising means for transmitting the received user control signal to said information processing module (303) and said information The processing module (303) together controls the user control module (305) that plays the multimedia information by the playing module (302) according to the user control signal, and the user control module (305) includes a control module (302) for controlling the startup of the playing module (302). Power button (3051) and play button (3052) for playing audio signals.
10、一种使用定时装置的定时方法,其特征在于,所述定时装置包括指令生成模块(100)、微控制器(200)和开关模块(300),所述微控制器(200)包括计时模块(201)、导通模块(202);(S1)
所述指令生成模块(100)接收用户单次触发并生成控制指令,(S2)
所述微控制器(200)接收所述控制指令并根据所述控制指令控制所述开关模块(300)的状态切换;(S3)
所述开关模块(300)与外部用户终端电连接并控制所述外部用户终端运行;其中,所述步骤(S1)包括:在用户两次触发间隔大于T2时,生成定时指令,否则生成切换指令;所述步骤(S2)包括:(S21)微控制器(200)接收定时指令后新建定时设置并开始计时,同时控制导通模块(202)导通并驱动所述开关模块(300)切换状态;(S22)所述导通模块(202)导通持续时间T1或在导通持续时间小于T1时接收到切换指令后断开并控制所述开关模块(300)切换状态;(S23)所述计时模块(201)继续计时到时间段T0后触发所述导通模块(202)导通并驱动所述开关模块(300)切换状态、同时所述计时模块(201)清零并循环计时,完成此次定时设置并将此次定时设置存储到计时模块(201)中;同时执行步骤(S22)。10. A timing method using a timing device, characterized in that the timing device comprises an instruction generation module (100), a microcontroller (200) and a switch module (300), the microcontroller (200) comprising a timing Module (201), conduction module (202); (S1)
The instruction generation module (100) receives a single trigger from the user and generates a control instruction, (S2)
The microcontroller (200) receives the control command and controls state switching of the switch module (300) according to the control command; (S3)
The switch module (300) is electrically connected to an external user terminal and controls the operation of the external user terminal; wherein the step (S1) comprises: generating a timing instruction when the user triggers the interval greater than T2, otherwise generating a switching instruction The step (S2) includes: (S21) the microcontroller (200) receives the timing command, creates a new timing setting, and starts timing, while controlling the conduction module (202) to turn on and drive the switching module (300) to switch states. (S22) the conduction module (202) is turned on for a duration T1 or is turned off and controls the switching module (300) switching state after receiving the switching instruction when the conduction duration is less than T1; (S23) The timing module (201) continues to time the time period T0 to trigger the conduction module (202) to be turned on and drive the switching module (300) to switch state, and the timing module (201) is cleared and cycled to complete. This timing setting and storing this timing setting in the timing module (201); at the same time, the step (S22) is performed.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2010/070538 WO2011094945A1 (en) | 2010-02-05 | 2010-02-05 | Timing equipment and method and audio equipment using timing equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2010/070538 WO2011094945A1 (en) | 2010-02-05 | 2010-02-05 | Timing equipment and method and audio equipment using timing equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2011094945A1 true WO2011094945A1 (en) | 2011-08-11 |
Family
ID=44354892
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2010/070538 WO2011094945A1 (en) | 2010-02-05 | 2010-02-05 | Timing equipment and method and audio equipment using timing equipment |
Country Status (1)
Country | Link |
---|---|
WO (1) | WO2011094945A1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111260377A (en) * | 2020-01-09 | 2020-06-09 | 广州美立达电子技术有限公司 | After-sale service system and use method thereof |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1530783A (en) * | 2003-03-14 | 2004-09-22 | 周湘峻 | Automatic timing open-close method with synchronous set |
CN201307414Y (en) * | 2008-12-08 | 2009-09-09 | 周湘峻 | Audio player |
WO2009126180A1 (en) * | 2008-04-07 | 2009-10-15 | Sony Ericsson Mobile Communications Ab | System and method for audibly representing a remote event |
CN101650550A (en) * | 2008-12-30 | 2010-02-17 | 周湘峻 | Timing device and method thereof and audio device using same |
-
2010
- 2010-02-05 WO PCT/CN2010/070538 patent/WO2011094945A1/en active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1530783A (en) * | 2003-03-14 | 2004-09-22 | 周湘峻 | Automatic timing open-close method with synchronous set |
WO2009126180A1 (en) * | 2008-04-07 | 2009-10-15 | Sony Ericsson Mobile Communications Ab | System and method for audibly representing a remote event |
CN201307414Y (en) * | 2008-12-08 | 2009-09-09 | 周湘峻 | Audio player |
CN101650550A (en) * | 2008-12-30 | 2010-02-17 | 周湘峻 | Timing device and method thereof and audio device using same |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111260377A (en) * | 2020-01-09 | 2020-06-09 | 广州美立达电子技术有限公司 | After-sale service system and use method thereof |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101650550B (en) | Timing device and method thereof and audio device using same | |
CN105430547A (en) | Dormancy method and apparatus of bluetooth earphones | |
CN1053523A (en) | The automatic and interactive power controller of audio/video systems | |
CN105096102A (en) | Prompting processing method and apparatus | |
WO2018192164A1 (en) | Method, device and system for reducing power consumption at type-c interface | |
CN106325454A (en) | Power supply control device and method, and electronic equipment | |
US6940432B1 (en) | Subliminal recording device | |
WO2011094945A1 (en) | Timing equipment and method and audio equipment using timing equipment | |
CN105516469A (en) | Clock control method and device | |
CN101520943A (en) | Touch control type keystoke remote controller and operational method thereof | |
CN103179358A (en) | Operation state control method of television and television | |
KR20090008972A (en) | Apparatus and method for controlling a playback file using earphone magnetic | |
CN101155253B (en) | Intelligent timing switch television system and implementing method thereof | |
CN103546842A (en) | Sound play control system | |
WO2004080368A1 (en) | A method of automatic switching on or off timely which is set synchronous | |
CN201307414Y (en) | Audio player | |
WO2019114091A1 (en) | Remote control method and system for self-generation of electricity | |
CN203799194U (en) | Timing device | |
WO2011006368A1 (en) | Multimedia player and play control method thereof | |
KR100797030B1 (en) | Remote controller able to link macro function to control button | |
US20020037156A1 (en) | Combination DVD apparatus and TV set | |
CN101277402A (en) | Method for on time switching frequency channel of TV set | |
CN208673063U (en) | A kind of wake-up device and system | |
KR830001228Y1 (en) | Operating time free adjustment electronic clock timer | |
CN2389385Y (en) | Active voice box with software close function for computer |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 10845030 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 20/12/2012) |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 10845030 Country of ref document: EP Kind code of ref document: A1 |