WO2009155854A1 - 一种网络化数字闹钟、远程控制方法及信号同步传输方法 - Google Patents

一种网络化数字闹钟、远程控制方法及信号同步传输方法 Download PDF

Info

Publication number
WO2009155854A1
WO2009155854A1 PCT/CN2009/072396 CN2009072396W WO2009155854A1 WO 2009155854 A1 WO2009155854 A1 WO 2009155854A1 CN 2009072396 W CN2009072396 W CN 2009072396W WO 2009155854 A1 WO2009155854 A1 WO 2009155854A1
Authority
WO
WIPO (PCT)
Prior art keywords
remote
alarm clock
digital
control
command
Prior art date
Application number
PCT/CN2009/072396
Other languages
English (en)
French (fr)
Inventor
黄更
Original Assignee
Huang Geng
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 Huang Geng filed Critical Huang Geng
Publication of WO2009155854A1 publication Critical patent/WO2009155854A1/zh

Links

Classifications

    • GPHYSICS
    • G04HOROLOGY
    • G04GELECTRONIC TIME-PIECES
    • G04G13/00Producing acoustic time signals
    • G04G13/02Producing acoustic time signals at preselected times, e.g. alarm clocks
    • G04G13/026Producing acoustic time signals at preselected times, e.g. alarm clocks acting at a number of different times
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B2203/00Indexing scheme relating to line transmission systems
    • H04B2203/54Aspects of powerline communications not already covered by H04B3/54 and its subgroups
    • H04B2203/5429Applications for powerline communications
    • H04B2203/5458Monitor sensor; Alarm systems

Definitions

  • the invention relates to a networked digital alarm clock, a remote control method and a signal synchronous transmission method. Background technique
  • the alarm clock is one of the daily necessities of people, and almost every household has an alarm clock.
  • the digital alarm clock is one of the alarm clocks. It sets and displays the real-time time electronically, and can achieve precise time operation and alarm timing.
  • the most commonly used digital display devices are LED Numeric Display, Vacuum Fluorescent Display (VFD) and Liquid Crystal Display (LCD).
  • An alarm clock with a small amount of information will display basic information, such as hours, minutes, and alarms, etc. For displaying an alarm clock, you can display information such as year, month, day, second, and week. No matter how much content is displayed, time information (hours, minutes) and alarm information (on, off) are the most basic elements of a digital alarm clock.
  • the digital alarm clock with LCD as the display screen is usually designed to be battery-powered because of the power saving.
  • the digital alarm clock with LED and VFD is more powerful than the battery, and usually has AC power supply. , or an external DC input.
  • the digital alarm clock for home use is usually placed on the bed, because its main function is time display and alarm, so it is convenient for the user to watch the time and set the alarm on the bedside, and it is also convenient for the user to wake up.
  • FIG. 1 is a top view of a typical digital alarm clock.
  • the keys of the existing digital alarm are all related to the operation of the alarm, such as the year/month setting, the day/week setting, the hour/minute setting, and the alarm. Buttons for settings, ringtone settings, alarm delay, and alarm stop. There is also a "+,, and a "-" button that can be used to facilitate related setup operations.
  • the typical digital alarm clock also includes a display screen for displaying time and alarm status, and a speaker. Or buzzer.
  • the typical digital alarm clock usually has only time display and alarm wake-up function. It has a single function and cannot provide users with more convenient.
  • the technical problem to be solved by the present invention is to provide a networked digital alarm clock, a remote control method and a signal synchronous transmission method, which can be combined with remote sensing, control, synchronization, and networked monitoring by networking a digital alarm clock. , intercom and other functions, to provide users with a more convenient life.
  • an embodiment of the present invention provides a networked digital alarm clock, including a display screen, a time setting device, and an alarm sounding device, and further includes:
  • a memory configured to set and store the alarm source address code and the network control object address code
  • a remote control command input unit configured to input a remote control command
  • a processor configured to perform various detections and function control, where the function control includes:
  • control network interface configured to perform information interaction with the network control object.
  • the embodiment of the invention further provides a remote control method for a networked digital alarm clock, which comprises the following steps:
  • Local control is performed based on the remote control command sent by the identified first digital alarm.
  • the embodiment of the invention further provides a method for realizing remote synchronous transmission of an audio signal and a digital signal in a networked digital alarm clock system, comprising the following steps: on the first digital alarm clock,
  • the first processor issues a corresponding set of binary digital control codes according to the input remote control command or the activated logic state, the digital control code being modulated by the first carrier modulator to generate the first modulated carrier signal, and the first carrier
  • the transmitter outputs the first specific transmission medium; the first audio signal channel is enabled, the audio signal is modulated by the second carrier modulator, and the second modulated carrier signal is generated, and is output by the second carrier transmitter via the second specific transmission medium.
  • the first carrier receiver receives the first modulated carrier signal outputted by the first specific transmission medium, and the first carrier demodulator solves the first modulated carrier signal Tuning, recovering the binary digital signal, and transmitting the restored binary digital signal to the second processor; the second processor decoding the restored binary digital signal, and performing corresponding processing according to the decoding situation, the corresponding processing This includes synchronizing with remote time information, displaying remote information, outputting specific control logic signals from I/O ports, or Word signal to enable the receiving channel audio / device;
  • the second carrier receiver receives the second modulated carrier signal outputted by the second specific transmission medium, and demodulates the second modulated carrier signal by the second carrier demodulator to restore the audio signal.
  • the embodiment of the invention provides a more convenient life for the user by networking the digital alarm clock to combine remote sensing, control, synchronization, and networked monitoring and intercom functions.
  • Figure 1 is a plan view of a typical exemplary digital alarm clock
  • FIG. 2 is a schematic structural view of a networked digital alarm clock according to an embodiment of the present invention
  • FIG. 3 is a plan view of a networked digital alarm clock according to an embodiment of the present invention
  • FIG. 4 is a front view of a networked digital alarm clock according to an embodiment of the present invention
  • FIG. 6 is a schematic diagram of a signal transmission and reception of a networked digital alarm clock in a network system according to an embodiment of the present invention
  • FIG. 7 is a schematic diagram of a signal transmission and reception when a networked digital alarm clock is formed into a network system according to an embodiment of the present invention
  • FIG. 8 is a schematic diagram showing the principle of audio and digital signal transmission of a networked digital alarm clock according to an embodiment of the present invention
  • FIG. 9 is a schematic diagram of a receiving and intercom receiving circuit of a networked digital alarm clock according to an embodiment of the present invention
  • FIG. 10 is a timing chart of modulation and demodulation waveforms of a digital signal of a networked digital alarm clock according to an embodiment of the present invention
  • FIG. 11 is a schematic flowchart of a method for remotely controlling a networked digital alarm clock according to Embodiment 2 of the present invention
  • FIG. 12 is a flow chart showing a method for realizing remote synchronous transmission of audio signals and digital signals in a networked digital alarm clock system according to Embodiment 3 of the present invention.
  • a networked digital alarm clock includes a display screen, a time setting device, and an alarm sounding device, and further includes a processor 1, a memory 2, a remote control command input unit 3, and a control network.
  • the interface 4 wherein the processor 1 is configured to perform various detections and function control; the memory 2 is configured to set and store the alarm clock source address code and the network control object address code; and the remote control command input unit 3 is configured to input a remote control command
  • the control network interface 4 is used for information interaction with the network control object.
  • the processor 1 further includes a remote control command recognition unit 11 and a remote control execution unit 12, wherein the remote control command recognition unit 11 is for identifying a remote control command input by the remote control command input unit, or when the alarm clock is used as the second digital alarm clock Recognizing a remote control command from the first digital alarm clock; the remote control execution unit 12 is configured to remotely control the network control object according to the identified remote control command, or when the alarm clock is used as the second digital alarm clock, according to the first digital alarm clock The remote control commands are controlled locally.
  • the control network interface 4 uses a power line carrier control network interface (the radio frequency radio interface can also be used in practical applications, and the basic principle is consistent with the power line carrier of the embodiment, which is not described herein).
  • a carrier modulator 41 configured to modulate the digital control signal into a modulated carrier signal
  • the carrier transmitter 42 is used The modulated carrier signal is sent to the power line
  • the carrier receiver 43 is configured to receive the first digitally transmitted modulated carrier signal when the alarm clock is used as the second digital alarm
  • the carrier demodulator 44 is configured to demodulate the first digital alarm transmission
  • the modulated carrier signal produces a reduced digital control signal.
  • the remote control command input unit 3 uses a button, and the remote control command includes a remote door lock control command, a remote light control command, a remote electrical control command, a remote security control command, a remote sensor remote control command, and a remote audio. Listening The command, the remote voice intercom command, the remote telephone access command, the remote time synchronization command or the remote alarm synchronization command; accordingly, according to the remote control command recognized by the remote control command recognition unit 11, the remote control execution unit 12 may further include One or any combination of the following:
  • a remote door lock control unit 121 for locally controlling the door lock connected to the alarm clock; for remotely controlling the light in the control network when the recognized remote control command is a remote light control command, or when the alarm clock is used as the first a two-digit alarm clock, a remote light control unit 122 for locally controlling the light connected to the alarm clock according to a remote door lock control command from the first digital alarm clock; for when the recognized remote control command is a remote electrical control command, Controlling the electrical appliance in the network for remote control, or when the alarm clock is used as the second digital alarm clock, the remote electrical control unit 123 for locally controlling the electrical appliance connected to the alarm clock according to the remote electrical control command from the first digital alarm; Start control when the identified remote control command is a remote security control command The security system in the network, or when the alarm clock is used as the second digital alarm clock
  • the remote sensor in the control network performs remote sensing, or when the alarm clock is used as the second digital alarm clock, according to the remote sensor remote control control command from the first digital alarm clock Taking the sensor information connected to the alarm clock, and feeding back the sensor information to the remote sensor remote sensing control unit 125 of the first digital alarm clock;
  • the remote control command recognized is a remote audio monitoring command
  • the remote audio monitoring command of the alarm clock activates the remote audio monitoring unit 126 of the listening function of the alarm clock;
  • the remote control command recognized is a remote voice intercom command
  • the voice intercom connected to the intercom extension selected by the remote voice intercom command in the control network, or when the alarm clock is used as the second digital alarm clock, according to a remote voice intercom unit 127 for voice intercommunication from the first digital alarm clock and a first digital alarm clock;
  • the remote control command identified is a remote telephone access command
  • the communication connection between the telephone connected to the alarm clock and the remote telephone line in the control network, or when the alarm clock is used as the second digital alarm clock, according to the A remote telephone access command of a digital alarm clock is connected to the telephone and control network that access the alarm clock.
  • the second digital alarm is controlled to perform time synchronization display according to the alarm clock, or when the alarm clock is used as the second digital alarm clock, the remote time synchronization command from the first digital alarm clock is executed.
  • the second digital alarm is controlled to perform an alarm synchronization setting according to the alarm clock, or when the alarm clock is used as the second digital alarm clock, the remote alarm from the first digital alarm clock is performed.
  • the remote alarm synchronization unit 130 of the ring synchronization command Referring to FIG. 3, the appearance and common operation functions of the networked digital alarm clock according to the first embodiment of the present invention are very similar to the existing typical digital alarm clock shown in FIG. 1, except that the original basic functions and operation buttons are added. Other function modules and buttons.
  • the networked alarm clock of the embodiment of the present invention makes some adjustments and new settings of the operation buttons of the existing alarm clock, and multiplexes the alarm button with other function buttons.
  • the nine alarm clock function buttons of the typical digital alarm clock in FIG. 1 are set to "date setting", “time setting”, “sleep setting”, “alarm setting”, and “ring setting”. ",””Alarm delay/alarm delay setting”, “Alarm stop/alarm switch setting”, and "+” and "-” keys.
  • the other buttons are functionally identical to the existing digital alarm buttons shown in Figure 1.
  • the "alarm delay” and the “alarm delay setting” are the same button (ie, button multiplexing), and the same “alarm stop” and “alarm switch setting” are the same button. Define its tap (for example, press time less than two seconds) for “alarm delay” and “alarm stop”, while long press (for example, press time greater than two seconds) for "alarm delay setting” and “alarm” Switch setting", these operating functions and existing numbers
  • the word alarm clock is basically the same.
  • the factory presets for eight hours the user can modify and store the new preset sleep time by pressing the "+” I “-” button after the sleep setting button is pressed. This time automatically replaces the original setting.
  • the alarm time, and the countdown sleep time setting unit 6 sets the sleep time by means of the countdown. After the countdown starts operating, the alarm is triggered when the time expires.
  • This sleep alarm function provides the user with a new alarm time setting method, that is, instead of setting a fixed alarm time, setting a fixed sleep time. This feature is especially suitable for a specific day, such as on weekends, because the second day of the weekend usually does not need to get up at a fixed time, this simple feature ensures that the user has enough sleep time.
  • the embodiment of the invention has a networked voice intercom function, and the so-called networked voice intercom refers to an addressable one-way or two-way call between a plurality of (two or more) alarm clocks, due to one-way communication. It is a special case of a two-way call. In the embodiment of the present invention, a description will be mainly made for a two-way call.
  • the above-mentioned "extension name" is a name used when the digital alarm clock is used as an intercom extension in the embodiment of the present invention.
  • the networked digital alarm clock placed in the master room is called the "master room” extension, and is associated with the master room extension.
  • the corresponding button is called the "master room” extension button.
  • extension buttons also correspond to five Arabic numerals ("1" to "5,” respectively). In the present invention, these numbers are called “extension numbers”, and these extension numbers will be in the intercom call. Appears on the display screen to let the user know the extension number of the caller.
  • the above five buttons are used together by the alarm function and the intercom function (hereinafter referred to as “multiplexing”, which functions are represented by these buttons at a certain moment. It is determined by the "function selection switch” on the alarm clock.
  • the function selection switch in the embodiment of the present invention has three modes, namely "receive", "alarm” and "intercom".
  • buttons are the alarm button
  • buttons when the function selector switch is set to the "intercom” position, these five buttons are the “extension buttons” of the intercom.
  • the "preset channel” button of the sound machine can be used as a one-button audio channel selection (selection). If the five preset channels are not suitable, you can press the "+” / "-” button to select the station. When the desired station is selected, press and hold a preset channel button to save the new station channel. Become the "pre-defined channel” of the future.
  • intercom function buttons There are two other intercom function buttons that are multiplexed with the alarm function: the "Global Call/Intercom” button and the “Specific Call/Intercom” button.
  • press the "Global Call/Intercom” button to enable this alarm to be voice-intercomed with all other alarms (intercom extensions) in the system; press the "Specific Call/Intercom” button, This alarm can be used to perform voice intercom with the specific alarm (intercom extension) being called.
  • There are two ways to select an extension The first method is to tap a specific extension button (or multiple) and then press the call/talkback button so that one (or more) specific extensions are selected.
  • Method 2 Another method of selecting an extension (method 2) is to press and hold (more than two seconds) a particular extension button without having to press the "Specific Call/Intercom" button.
  • Method 2 is simple (just press a button), but only one extension can be selected at a time.
  • the call and the intercom are two different working modes. If the intercom is initiated by calling the intercom, the called extension automatically rings, and only when the called extension answers (pressing the called extension) The call/intercom key can be used for intercom; if an intercom is used to initiate an intercom, the called extension will not ring, but will directly listen to the call (speech) from the originating extension.
  • “Call/Intercom” is a multiplex button here, tapping is “Call”, long press is “Intercom”.
  • the concept of calling is only applicable when initiating an intercom in the present invention.
  • the concept of "calling” is no longer applicable, and the "call/intercom” button will only be used as the "intercom” button, ie Press the button to speak to the other party (enter the send mode), release the button to listen to the other party's voice (into the listening mode), which is consistent with the traditional walkie-talkie.
  • In Global Call/Intercom mode all extensions ring (when called) or hear a call from the initiator (during intercom), unless an extension is muted.
  • the embodiment of the invention further comprises a speaker and a microphone, and the speaker is also a part of the alarm function, which can realize the radio alarm and the preset music alarm, which further expands the function of the alarm clock.
  • the embodiment of the present invention has another set of extended functions which are displayed in the "Remote Operation Function Area" of FIG.
  • the alarm clock is the most basic, most important, and most convenient for home electronic devices that people are used to put on the bed. People have reason to treat it as a home control terminal, especially when it can provide some suitable for people. Pillow operation provides users with convenient extended control functions.
  • the network control object of the embodiment of the present invention includes two situations. The first case is that the network control object is an independent control device compatible with the network alarm control command, and the second case is that the network control object is attached as a second number. On the alarm clock, the device is directly controlled by the second digital alarm clock.
  • the family goes home late at night, and the door is called through the intercom doorbell at the front door. At this time, the user does not need to get up even if he has already gotten into the bed. Just press the "unlock" button of the bedside alarm clock, at this time, if the door lock is independent control
  • the remote control command recognition unit 11 recognizes that the current remote control command is a remote door lock control command, and the corresponding remote door lock control unit 121 sends a corresponding control data packet to the control network to control the door lock in the control network.
  • the front door iron gate is automatically opened; if the door lock is a control device attached to the second digital alarm clock, the first digital alarm clock sends a remote door lock control command to the second digital alarm clock, and the second digital alarm clock remote door lock
  • the control unit 121 locally controls the door lock attached to the alarm clock according to the remote door lock control command from the first digital alarm clock, so that the front door iron gate is automatically opened, so that the night returner can enter by itself, which is an embodiment of the present invention.
  • the remote sensor command recognition unit 11 recognizes that the current remote control command is a remote security control command, and the corresponding remote security control unit 124 sends a corresponding control data packet through the control network interface 4 to start the network.
  • the security system is a control device attached to the second digital alarm clock
  • the first digital alarm clock sends a remote security control command to the second digital alarm clock
  • the remote security control unit 124 of the second digital alarm clock is based on the first digital
  • the remote security control command of the alarm clock activates the security system attached to the alarm clock; the principle of other network control functions is the same as that of the above-mentioned remote door lock control and remote security control, and will not be described in detail; suddenly the alarm ringing wakes up in the middle of the night, opening Look at the alarm clock to see where the sensor is triggered (the sensor number will be displayed. If the sensor matches the intercom extension, the extension number will be displayed). Press the "Listen" button to listen to the trigger zone.
  • the alarm rang so I got ready for breakfast, but I wanted to sleep a little longer.
  • Automatically prepare the breakfast which is a home help function provided by the embodiment of the present invention; the family plans to travel early, the owner sets the alarm, and then presses the "synchronize” button, then all the networked alarm clocks will be Automatically calibrate, and set the same alarm time so that everyone can wake up at the same time.
  • the "temperature” key can sense the outdoor temperature (the data can come from the temperature sensor of the front door intercom doorbell), which is a remote sensing function provided by the embodiment of the present invention.
  • the basic principle is implemented by the control network interface 4 and the audio communication interface 5 provided by the embodiments of the present invention.
  • indications such as “intercom”, “alarm”, “ring”, and “receive”, “alarm”, and “intercom” are function mode indications, corresponding to the "function selection switch" state in Figure 3.
  • the "alarm”, “date”, and “time” indications will be lit accordingly; while in the alarm setting and ring setting, “alarm", “ The ringtone “indication will light up accordingly.
  • On the left side of the time display are five indications of "afternoon”, “delay”, “sleep”, “alarm”, and “listening”, which are related to the status of the system, for example, selecting twelve-hour system and time is afternoon, “afternoon " The indicator lights up.
  • indications are related to the alarm delay, sleep mode, alarm status, and listening status, respectively.
  • the middle number will show Automatically change to the display of the radio receiving channel (frequency), for example, it can display the frequency value between 88.0-108.0 MHz; in addition, the "channel,” indication will be displayed when the intercom extension is called, and displayed at the original time.
  • the channel number (extension number) of the calling party is displayed, for example
  • the time display below the time display are four displays of "Global”, “Specific”, “Call”, “Channel Busy”, where the first three displays can form the “global call” and “specific call” phrases respectively, representing the current call.
  • Form, and "channel busy” indicates the state of use of the channel, when the transmission channel has a signal being transmitted (eg, an "intercom” or “listen” button is pressed, or other remote control commands are being transmitted), "channel Busy” will be lit.
  • the intercom is performed in a bidirectional half-duplex mode.
  • the embodiment of the present invention also provides a prompt sound function, that is, after the intercom button is effectively pressed and the channel control right is acquired, the call can be started with a "beep" sound prompt.
  • a prompt sound function that is, after the intercom button is effectively pressed and the channel control right is acquired, the call can be started with a "beep" sound prompt.
  • a processor 1 is a control core of the networked digital alarm clock according to the embodiment of the present invention, which is responsible for key input detection, sensor input detection, function selection switch detection, and digital signals. Functions such as transceiving, input of quartz crystal oscillator, and output of display content.
  • the quartz crystal oscillator is the time signal source of the alarm clock
  • the processor is a time counter, all the date, time, alarm, sleep setting, and intercom extension selection, making an intercom call or a call, etc. It is realized by the control of the processor.
  • the remote control command recognition unit 11 and the remote control execution unit 12 described in FIG. 2 are also implemented/embodited by the processor 1, which includes two situations, the first case being when a local button or sensor is input, The processor 1 detects and recognizes it, and confirms the remote control command to be executed according to the detected condition, and then issues a corresponding command through the control network interface 4 to implement the remote control; and the second case is
  • the alarm clock is used as the second network alarm clock, and the processor 1 receives the remote control command of the first network alarm clock through the control network interface 4, and identifies the command if it is related to the alarm clock (for example, the target address (ie, the control object) matches itself) Then, the processor 1 implements local control through the local control device connected thereto to realize the desired remote control function of the first network alarm clock.
  • the multiplexing of the clock and the intercom buttons is also controlled by the processor 1 according to the state (position) of the function selection switch.
  • the processor 1 also determines whether it is a light press (less than two seconds) or a long press according to the time the button is pressed. (greater than two seconds) to achieve more button multiplexing.
  • a light press less than two seconds
  • a long press according to the time the button is pressed. (greater than two seconds) to achieve more button multiplexing.
  • radio function There is no mention of the radio function in this picture. More radio and intercom functions will be discussed in the related chart below.
  • the signal sent by the embodiment of the present invention has two types, one is an audio analog signal from a microphone, and the other is a control digital signal from the processor 1, including an address code, an instruction code, and a parameter. Equal binary control code (hereinafter referred to as data).
  • data Equal binary control code
  • the analog signal and the digital signal are independently modulated/demodulated (the analog signal passes through the first carrier modulator 41a and the first carrier demodulator 44a, and the digital signal is demodulated by the second carrier modulator 41b and the second carrier 44b), and independently transmitted/received (the analog signal passes through the first carrier transmitter 42a and the first carrier receiver 43a, and the digital signal passes through the second carrier transmitter 42b and the second carrier receiver 43b), that is, analog Signals and digital signals have different signal channels, different signal modulation methods, and even different signal transmission media (in practical applications, the same modulator, transmitter, receiver, and solution can be used for analog and digital signals. Tuner, which will be described in more detail in Figures 8 and 9 below).
  • the most commonly used signal transmission media are air (transmitting and receiving radio wave signals through an antenna) and power lines (transmitting signals over a power line carrier).
  • the analog signal is usually AM and FM, and the digital signal can be used for On-Off Keying (OOK) and Frequency-Shift Keying (FSK) in addition to AM/FM.
  • Digital switching modulation such as Phase-Shift Keying (PSK).
  • a certain communication protocol is usually selected to coordinate the transmission and reception of signals, and to achieve effective restoration of control signals and correct execution of control instructions.
  • Commonly used wireless control networks include Zigbee, Z-Wave, INSTEON, etc.
  • commonly used power line carrier control networks include Universal Powerline Bus (UPB), Consumer Electronic Bus (CEBUS), and X10 and LonWorks et al.
  • UPB Universal Powerline Bus
  • CEBUS Consumer Electronic Bus
  • X10 and LonWorks et al In addition to the above control network, there are many custom network interfaces on the market. The present invention does not exclude any control network interface, as long as the remote control function can be implemented on the alarm clock.
  • the control network is the best choice for implementing the networked remote control of the present invention, because networking means that the system functions can be decentralized, that is, the sensors, controllers and actuators of a control system can be placed/installed in different places of the system. And can be increased or decreased as needed.
  • the networked digital alarm clock in the embodiment of the present invention can play the role of a controller in the system, and can also play the role of a sensor and an actuator, depending on the configuration of the remote function module on the alarm clock and the setting of the remote control command. Refer to Table 2 described later. Referring to FIG. 7, in addition to the digital signal transmitting and receiving device connected to the processor 1, there is a memory 2 for storing setting information related to the alarm system, including the address code (source address), and control.
  • control object address can be the address of the intercom extension, the address of the device such as the controlled door lock, lighting, electrical appliances, etc., or the address of the sensor such as security and temperature.
  • the above-mentioned door lock, lighting, electrical appliances and the like may be an independent device compatible with the network alarm clock system, or may be a device directly attached to the network alarm clock and directly controlled by the network alarm processor.
  • the device is attached to the network alarm clock, so that the control object address is actually the address of the remote network alarm clock, as for the security, temperature, and the like, and the above control device. The situation is the same.
  • the device that issues the control command also carries its own address code so that the target device can know the source of the control signal and act as the target for status feedback.
  • the substation receiving the call signal displays the extension number from which the call signal is sent on the display so that the user can know who is calling, which is similar to the caller ID function in the telephone system.
  • the memory Since the relevant control information and parameters of the system can be set by the user, and the setting of the information is not lost due to power loss, the memory usually uses electrically erasable programmable read only memory (Electrically Erasable Programmable Read- Non-volatile memory ICs such as Only Memory, EEPROM), and FLASH memory.
  • processor 1 Also connected to processor 1 is a set of input devices and a set of output devices.
  • input device in addition to the specific key inputs previously described, there are also sensor inputs, including security sensors (such as infrared, door magnets, window magnets, glass, gas, fire candles, water immersion sensors, etc.) and parametric sensors. (including temperature, humidity, brightness, pressure, etc.).
  • security sensors such as infrared, door magnets, window magnets, glass, gas, fire candles, water immersion sensors, etc.
  • parametric sensors including temperature, humidity, brightness, pressure, etc.
  • the specific key input and security sensor trigger may trigger the transmission of a control signal, such as triggering a call/intercom, or an active security alarm, depending on the current settings of the system, such as whether the system is in the intercom state. Whether the communication channel is idle and whether the system is in the armed state.
  • the parameter sensor in addition to being used as a local alarm clock (for example, displaying the local temperature in the alarm display screen), it can also be used for remote sensing, for example, when other remote network alarms require reading temperature, return to the remote network alarm.
  • the input device further includes a telephone sensing device, which mainly detects whether the telephone connected to the alarm clock is in an off-hook state, and if yes and the channel is also in an idle state, a voice connection of the telephone is initiated. That is, first, a remote telephone connection is controlled through the control network interface 4.
  • the device (connected to a telephone line) is then connected to the voice channel of the telephone connection device via the audio communication interface 5, which is equivalent to connecting the local telephone to the remote telephone line.
  • the wireless device or power line carrier mode
  • the output device functions connected to processor 1.
  • these output devices are five control devices, which are a telephone control device, a light control device, a microphone control device, an electronic door lock control device, and a speaker control device.
  • the telephone control device corresponds to the above-mentioned telephone sensing device, but the control flow direction is reversed.
  • the local telephone ringing signal can be activated through the remote telephone connection device to enable the alarm clock.
  • the connected telephone rings and connects to the voice channel of the remote telephone connection device after the telephone is off-hook to realize the audio connection between the local telephone and the remote telephone line.
  • the microphone control device and the speaker control device it is mainly used to control the connected state of the voice analog signal.
  • the microphone's audio signal When the local unit's monitoring is required (for example, a remote network alarm to issue a remote monitoring command, which is described in Table 2 below) and allowed (the local can select the listening permission or the monitoring mask), the microphone's audio signal will be It communicates with the analog carrier modulation channel and the analog signal transmitter, and sends the modulated audio signal to the unit in the network that requires monitoring (for example, other remote network alarm clocks) to implement remote monitoring.
  • the microphone control device also communicates or shields as needed to implement audio stream control, similar to the above-described listening process.
  • the speaker control device the speaker can be turned on or off as needed to achieve audio playback or mute.
  • the other two output control units can be directly connected to controlled equipment, such as lighting control units connected to associated fixtures (which can be driven by relays or thyristors), electronic door lock controls connected to electronic locks (also via relays or transistors/field effects) Pipe drive), etc., to perform remote control commands issued by the remote device locally, to implement the "night" lighting control, and remote "unlocking" functions.
  • controlled equipment such as lighting control units connected to associated fixtures (which can be driven by relays or thyristors), electronic door lock controls connected to electronic locks (also via relays or transistors/field effects) Pipe drive), etc.
  • more local control devices can be connected to the network alarm clock to achieve more control functions, because the principles are the same, and will not be described here.
  • Figure 7 actually includes some remote control functions that are not visible, such as remote time synchronization and remote alarm synchronization.
  • the specific implementation method is when the processor 1 receives a remote synchronization command from another remote network alarm clock (at After the relevant description in Table 2 is described later, the received time/alarm information attached to the remote synchronization command is replaced with its original time/alarm information, thereby realizing remote synchronization of time and alarm.
  • FIG. 8 in the foregoing FIG. 6, a schematic diagram of a signal transmission and reception with a general feature in the embodiment is analyzed.
  • an optimal communication interface implementation scheme in the embodiment is introduced, and the maximum feature of the scheme is introduced. It can realize the synchronous transmission of audio signals and digital signals. This technology further simplifies the circuit of the system and effectively reduces the cost of the system.
  • All of the signals to be transmitted can be seen in Figure 8, including the audio analog signal from the phone/microphone and the control digital signal from the processor, all of which are sent to the same carrier modulator modulation, in an embodiment of the invention,
  • the carrier modulator uses a voltage-controlled oscillator to modulate the analog signal and the audio signal by means of FM modulation, and generates a unified modulated carrier signal (hereinafter referred to as a composite FM signal), which is then transmitted through the transmitter and the transmitting antenna.
  • a composite FM signal unified modulated carrier signal
  • different frequency bands can be used, such as City Band (CB), Family Radio Service (FRS) band, wireless microphone band, public intercom band, cordless phone band, etc.
  • the frequency can be used in the low frequency band of 100-500KHz, or the industrial, scientific, medical frequency band with 6.78M, 13.56M, 27.12M, 40.68M (Hz) as the center frequency. (Industrial, Scientific and Medical, ISM) and so on.
  • the telephone analog signal and the microphone analog signal pass through the associated control device before being connected to the voltage controlled oscillator, as described in the relevant paragraph above.
  • a low-frequency carrier modulation can be performed before entering the voltage-controlled oscillator, and the carrier is a low-frequency signal (relative to the aforementioned FM modulation frequency), and the highest frequency does not exceed the FM solution described later.
  • the low frequency carrier modulation of digital signals is the key to the mixed transmission of analog signals and digital signals. After the digital signal is modulated by the low frequency, it becomes an analog modulated carrier signal.
  • the low frequency modulation can be OOK, AM, FM or any other mode, but each mode must be demodulated with the same mode demodulator after the signal is received. In practice, whether it is modulation or demodulation, the OOK mode is the easiest.
  • the above analog/digital mixed signal is processed in the same FM modulator/demodulator to implement the mode Synchronous transmission of pseudo-digital signals. The receiving, demodulating and restoring portions of the carrier signal will be further described in the relevant paragraphs below.
  • the core of FIG. 9 is an FM radio circuit or an integrated circuit, and the integrated circuit is also responsible for receiving FM radio broadcast (referred to as radio) and receiving the analog/digital hybrid FM carrier signal.
  • radio FM radio broadcast
  • Figure 9 is a conventional FM radio receiver.
  • the FM signal is input by the antenna, and the clutter outside the FM broadcast band is filtered by the FM filter, and then enters the FM radio integrated circuit.
  • the integrated circuit amplifies and demodulates the FM signal, and the demodulated audio signal first passes through a speaker control device (ie, a silent device).
  • the audio signal is Output to a volume adjustment device for volume control, then power amplification, and finally output by the speaker.
  • an FM tuning circuit which is usually composed of an LC oscillator circuit or a voltage controlled oscillator, and is connected to the local oscillator input loop of the radio integrated circuit to realize frequency selection of FM signal reception. It is the same as the conventional radio circuit structure.
  • Figure 9 Another function of Figure 9 is to achieve the reception and demodulation of the analog/digital hybrid FM modulated carrier signal described above in Figure 8, which is selected when the selector switch is placed in "talkback/telephone".
  • the composite FM signal is input from the power line via the carrier coupling circuit (also from the antenna;), and then enters the FM radio integrated circuit via the selection switch, and the integrated circuit amplifies and resolves the FM signal.
  • the modulated, demodulated (reduced) signal is a mixed signal containing the audio analog signal and the low frequency digital carrier signal as described in FIG.
  • the restored audio signal has two transmission channels, which are controlled by the speaker control (applicable in intercom mode) and the telephone control (applicable in telephony mode).
  • the audio signal output channel in the intercom mode is identical to the FM radio, and the audio signal in the telephone mode is transmitted to the telephone interface via the telephone control device and the received telephone audio signal is listened to in the telephone. Simultaneously transmitted and demodulated with the audio signal, there is also a low frequency digital carrier signal, which must also be selected by a low frequency carrier bandpass filter and then sent to a low frequency carrier demodulator for demodulation.
  • the binary digital control signal is processed by the aforementioned processor, and the speaker control device or the telephone control device is separately controlled according to the situation, thereby implementing networked intercom control or communication control of the remote telephone interface.
  • FIG. 10 is a timing chart of modulation and demodulation of a digital signal of a networked digital alarm clock according to an embodiment of the present invention;
  • the low frequency carrier modulator here is an OOK modulator and the low frequency carrier demodulator is a chirp demodulator.
  • the digital signal original signal
  • the digital signal appears as a binary format of high/low level (ie, on and off)
  • the digital signal is switched and modulated on the low frequency carrier to generate a series of open key control ( ⁇ ) signals.
  • the carrier passes when it is high, and the carrier is turned off when it is low.
  • the restored signal is first output by the radio integrated circuit, and then demodulated by the low frequency carrier demodulator, and finally a binary switch restore signal in phase with the original signal is obtained.
  • a binary switch restore signal in phase with the original signal is obtained.
  • the transmission of digital signals is the basis of the network control system.
  • an effective command system is indispensable.
  • the embodiment of the present invention defines a nine-bit word length address code, a six-word word length instruction code and an eight-bit word length parameter.
  • the specific digital length, capacity and range are shown in Table 1. Shown. Table 1 Data categories and average transmission time
  • Table 2 gives a list of network control instructions defined by the present invention. There are also seven different types of control instructions that can be seen in Table 2. The first four types are active type instructions (the control signals are actively sent by the module), and the second two types are passive type instructions (when the related device is queried, the status is performed). Feedback), the last category (security class) is both active and passive, depending on the security status of the system. If the system is in the armed state, the relevant sensor will actively send out the alarm packet; When the system is in the disarmed state, the relevant sensors only perform passive state feedback when they are queried.
  • Device control instruction category device control instruction code Fully open (light, electricity) 000000
  • Target address + voice control command + source address Expression: aaaaaaaaaa + ccccc + aaaaaaaaaaaa Data length: 9 + 6 + 9 24 bits (Bi ts )
  • Device, sensor, intercom/telephone status query command; device parameter setting and system synchronization command are included in command class (d4); device and sensor status are included in command categories (d5) and (d6) Parameter feedback command; Security alarm and security status feedback commands are included in the command category (d7).
  • the above instructions can fully meet the network control requirements of the foregoing control, sensing, synchronization, voice and the like functions in the embodiments of the present invention.
  • the embodiment of the invention provides a more convenient life for the user by networking the digital alarm clock to combine remote sensing, control, synchronization, and networked monitoring and intercom functions.
  • the remote control method for the networked digital alarm clock includes the following steps:
  • Step S1101 sets and stores the alarm source address code and the network control object address code.
  • the network control object address can be the address of the intercom extension, the address of the controlled door lock, lighting, electrical appliances, etc., or the address of the sensor such as security and temperature.
  • the above-mentioned door lock, lighting, electrical appliances and the like may be an independent device compatible with the network alarm clock system, or may be a device directly attached to the network alarm clock and directly controlled by the network alarm processor.
  • the device is attached to the network alarm clock, so that the control object address is actually the address of the remote network alarm clock, as for the security, temperature, and the like, and the above control device.
  • the situation is the same. In a network system, to implement control on a specific target device, it is necessary to give the correct address code, otherwise it will not attract the attention of the target device.
  • the device that issues the control command also carries its own address code so that the target device can know the source of the control signal and act as a target for status feedback.
  • the extension that receives the call signal displays the extension number that sent the call signal on the display to make the user You can know who is calling, which is the same as the Caller ID feature in the phone system.
  • Step S1102 input a remote control command, or when the alarm is a second digital alarm, receive a remote control command sent by the first digital alarm.
  • Remote control commands include remote door lock control commands, remote light control commands, remote electrical control commands, remote security control commands, remote sensor remote sensing commands, remote audio monitoring commands, remote voice intercom commands, remote telephone access commands, remote time synchronization Command or remote alarm synchronization command.
  • the remote control command is input by using a button.
  • Step S1103 identifies the input remote control command, or when the alarm clock is the second digital alarm clock, identifies the remote control command sent by the first digital alarm clock.
  • Step S1104 remotely controlling the network control object according to the identified remote control command, or when the alarm clock is the second digital alarm clock, performing local control according to the remote control command sent by the identified first digital alarm clock.
  • Remotely controlling the network control object according to the identified remote control command specifically: when the recognized remote control command is a remote door lock control command, remotely controlling the door lock in the control network; or
  • the security system in the control network is activated
  • Remote sensing in the control network for remote sensing when the identified remote control command is a remote sensor remote sensing control command
  • the identified remote control command is a remote audio monitoring command
  • the movement of the intercom extension selected by the remote audio monitoring command in the control network is monitored;
  • a voice intercom is performed with the intercom extension selected by the remote voice intercom command in the control network;
  • the identified remote control command is a remote telephone access command
  • the communication connection between the telephone connected to the alarm clock and the remote telephone line in the control network or
  • the second digital alarm clock is controlled according to the present The alarm clock is displayed in time synchronization;
  • the identified remote control command is a remote alarm synchronization command, controlling the second digital alarm to perform an alarm synchronization setting according to the alarm clock;
  • Performing local control according to the remote control command sent by the first digital alarm clock specifically: when the alarm clock is used as the second digital alarm clock, performing the door lock connected to the alarm clock according to the remote door lock control command from the first digital alarm clock.
  • Local control or
  • the light connected to the alarm clock is locally controlled according to the remote light control command from the first digital alarm clock;
  • the security system connected to the alarm clock is activated according to the remote security control command from the first digital alarm clock;
  • the sensor information connected to the alarm clock is read according to the remote sensor remote sensing control command from the first digital alarm clock, and the relevant sensor information is fed back to the first digital alarm clock;
  • the alarm function of the alarm clock is activated according to the remote audio monitoring command from the first digital alarm clock;
  • a voice intercom is performed with the first digital alarm clock according to the remote voice intercom command from the first digital alarm clock;
  • the communication connection between the telephone connected to the alarm clock and the remote telephone line in the control network is connected according to the remote telephone access command from the first digital alarm clock;
  • the time is synchronized with the first digital alarm time according to the remote time synchronization command from the first digital alarm clock;
  • the own alarm setting is synchronized with the first digital alarm setting according to the remote alarm synchronization command from the first digital alarm.
  • a method for implementing remote synchronization transmission of an audio signal and a digital signal in a networked digital alarm clock system includes the following steps: Step S1201 is performed on a first digital alarm clock, and the first processor is based on the input.
  • Step S1202 The digital control code is modulated by the first carrier modulator to generate a first modulated carrier signal, and is output by the first carrier transmitter via the first specific transmission medium;
  • Step S1203 enables the first audio signal channel, and the audio signal is The second carrier modulator modulates, generates a second modulated carrier signal, and is output by the second carrier transmitter via the second specific transmission medium;
  • Step S1204 on the second digital alarm clock, the first carrier receiver receives the first a first modulated carrier signal output by the specific transmission medium, and demodulating the first modulated carrier signal by the first carrier demodulator, restoring the binary digital signal, and transmitting the restored to the second processor Binary digital signal;
  • Step S1205 The second processor decodes the restored binary digital signal, and performs corresponding processing according to the decoding situation, where the corresponding processing includes synchronizing with the remote time information, displaying the remote information, and outputting the specific control logic from the I/O port. a signal or digital signal, enabling the audio receiving channel/device; step S1206, the second carrier receiver receives the second modulated carrier signal outputted by the second specific transmission medium, and the second carrier demodulator pairs the The second modulated carrier signal is demodulated to restore the audio signal.
  • the present invention transmits two kinds of signals, one is an audio analog signal from a microphone; the other is from a processor. Control of digital signals.
  • the first digital alarm clock on the first digital alarm clock, the user presses a specific remote control function button or activates a specific logic state, and the first processor issues a corresponding set of binary digital control codes according to the above key input or logic state, the code Modulating by the first carrier modulator to generate a first modulated carrier signal, and then outputting through the first specific transmission medium, and simultaneously enabling the first audio signal channel, so that the audio signal can enter the second carrier modulator for modulation, generating a second The carrier signal is modulated and then output via the second specific transmission medium; on the second digital alarm, the first carrier receiver receives the first modulated carrier signal on the first specific transmission medium, and is configured by the first carrier demodulator Demodulating it, restoring the binary digital signal, and transmitting the digital signal to the second processor, the second processor decoding the restored binary digital signal, and performing corresponding processing according to the decoding situation, including but not limited to Remote time information synchronization, display of remote information, output of specific control from I/O port A logic signal or a digital signal, enabling
  • the first specific transmission medium and the second specific transmission medium use the same transmission medium; the first carrier modulator and the second carrier modulator use the same voltage controlled oscillator; the first modulated carrier
  • the signal and the second modulated carrier signal are modulated FM carrier signals of the same frequency; the first carrier receiver and the second carrier receiver use the same FM receiver; the first carrier demodulator and the second carrier demodulator Use the same FM demodulator.
  • the digital control code can perform a low-frequency carrier modulation before entering the voltage-controlled oscillator, and the carrier is a low-frequency signal (relative to the aforementioned FM modulation frequency), and the highest frequency does not exceed the FM demodulation described later.
  • the frequency that the device can handle is degrees.
  • the embodiment of the invention provides a more convenient life for the user by networking the digital alarm clock to combine remote sensing, control, synchronization, and networked monitoring and intercom functions.

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Selective Calling Equipment (AREA)
  • Alarm Systems (AREA)

Description

一种网络化数字闹钟、 远程控制方法及信号同步传输方法 本申请要求于 2008年 6月 28日提交中国专利局、申请号为 200810029204.2、 发明名称为 "一种网络化数字闹钟、 远程控制方法及信号同步传输方法" 的中 国专利申请的优先权, 其全部内容通过引用结合在本申请中。 技术领域
本发明涉及一种网络化数字闹钟、 远程控制方法及信号同步传输方法。 背景技术
闹钟是人们曰常生活必需品之一, 几乎家家户户都有闹钟。 数字闹钟则是 闹钟中的一种, 是用电子方式设置和显示实时时间, 并可实现精确的时间运行 和闹铃的定时。 数字显示装置最常用的是发光二极管数码显示器 (LED Numeric Display), 真空荧光显示器 (Vacuum Fluorescent Display, VFD) 以及液晶显示屏 (Liquid Crystal Display, LCD)。 显示信息量少的闹钟会优先显示基本的信息, 例 如时、 分以及闹铃的开关状态等; 对于显示信息量大闹钟, 则还可以显示年、 月、 日、 秒、 星期等信息。 而无论显示多少内容, 时间信息 (时、 分)及闹铃 信息(开、 关)是数字闹钟最基本的元素。
釆用 LCD作显示屏幕的数字闹钟由于比较省电, 通常会设计成电池供电操 作, 而用 LED及 VFD的数字闹钟则由于功耗比较大, 通常除电池供电外, 还 会有交流电源接入, 或外部直流输入。 家庭用的数字闹钟通常会放在床头上, 因为其主要功能是时间显示和闹铃, 因此放在床头可方便用户看时间和对闹铃 进行设置, 同时也方便闹铃将用户唤醒。
图 1是现有典型数字闹钟的俯视图, 参照图 1所示, 现有数字闹钟的按键 全部与闹钟操作相关, 例如年 /月设定、 日 /星期设定、 时 /分设定、 闹铃设定、 铃 声设定、 闹铃延时以及闹铃停止等按键。 另外还可以有一个 "+,, 键及一个 "-" 键, 可以为相关的设定操作提供方便。 现有典型数字闹钟还包括一个用于显示 时间和闹铃状态的显示屏幕, 以及一个扬声器或蜂鸣器。 现有典型数字闹钟通 常只有时间显示和闹铃唤醒功能, 使用功能单一, 无法为用户提供更加便捷的
更正页 (细则第 91条) 生活。 发明内容
本发明所要解决的技术问题在于, 提供一种网络化数字闹钟、 远程控制方 法及信号同步传输方法, 通过将数字闹钟网络化, 使其兼备远程的传感、 控制、 同步, 以及网络化的监听、 对讲等功能, 为用户提供更加便捷的生活。
为了解决上述技术问题, 本发明实施例提供了一种网络化数字闹钟, 包括 显示屏幕、 时间设定装置以及闹铃发声装置, 还包括:
存储器, 用于设定并存储本闹钟源地址码以及网络控制对象地址码; 远程控制命令输入单元, 用于输入远程控制命令;
处理器, 用于进行各种检测以及功能控制, 所述功能控制包括:
识别所述远程控制命令输入单元输入的远程控制命令, 或当本闹钟作为第 二数字闹钟时, 识别来自第一数字闹钟的远程控制命令; 以及
根据识别的远程控制命令对网络控制对象进行远程控制, 或当本闹钟作为 第二数字闹钟时, 根据来自第一数字闹钟的远程控制命令进行本地控制;
控制网络接口, 用于与所述网络控制对象进行信息交互。
本发明实施例还提供了一种网络化数字闹钟的远程控制方法, 包括以下步 骤:
设定并存储本闹钟源地址码以及网络控制对象地址码;
当本闹钟为第一数字闹钟时:
输入远程控制命令;
识别所述输入的远程控制命令;
根据识别的远程控制命令对网络控制对象进行远程控制;
或当本闹钟为第二数字闹钟时:
接收第一数字闹钟发送的远程控制命令;
识别所述第一数字闹钟发送的远程控制命令;
根据识别的第一数字闹钟发送的远程控制命令进行本地控制。
本发明实施例还提供了一种于网络化数字闹钟系统中实现音频信号及数字 信号远程同步传输的方法, 包括以下步骤: 于第一数字闹钟上, 第一处理器根据输入的远程控制指令或激活的逻辑状态发出一组相应的二 进制数字控制代码, 所述数字控制代码经第一载波调制器调制产生第一已调载 波信号, 并由第一载波发送器经第一特定传输媒体输出; 使能第一音频信号通道, 音频信号经第二载波调制器调制, 产生第二已调 载波信号, 并由第二载波发送器经第二特定传输媒体输出; 于第二数字闹钟上, 第一载波接收器接收所述经第一特定传输媒体输出的第一已调载波信号 , 并由第一载波解调器对所述第一已调载波信号进行解调, 还原出二进制数字信 号, 并向第二处理器传输所述还原后的二进制数字信号; 第二处理器对还原后的二进制数字信号进行解码, 并根据解码情况进行相 应处理, 所述相应处理包括与远程时间信息同步、 将远程信息进行显示、 从 I/O 端口输出特定控制逻辑信号或数字信号、 使能音频接收通道 /装置;
第二载波接收器接收所述经第二特定传输媒体输出的第二已调载波信号 , 并由第二载波解调器对所述第二已调载波信号进行解调, 还原出音频信号。
本发明实施例通过将数字闹钟网络化, 使其兼备远程的传感、 控制、 同步, 以及网络化的监听、 对讲等功能, 为用户提供更加便捷的生活。 附图说明
图 1是现有典型数字闹钟的俯视图;
图 2是本发明实施例一网络化数字闹钟的结构示意图; 图 3是本发明实施例一网络化数字闹钟的俯视图; 图 4是本发明实施例一网络化数字闹钟的正视图; 图 5是本发明实施例一网络化数字闹钟的按键操作功能及电路示意图; 图 6是本发明实施例一网络化数字闹钟间组成网络系统时信号发送和接收 的流程示意图; 图 7是本发明实施例一网络化数字闹钟的控制功能原理示意图; 图 8是本发明实施例一网络化数字闹钟的音频与数字信号传输原理示意图; 图 9是本发明实施例一网络化数字闹钟的收音及对讲接收电路示意图; 图 10是本发明实施例一网络化数字闹钟的数字信号的调制、 解调波形时序 图;
图 11是本发明实施例二网络化数字闹钟的远程控制方法的流程示意图; 图 12是本发明实施例三于网络化数字闹钟系统中实现音频信号及数字信号 远程同步传输的方法的流程示意图。 具体实施方式
下面参考附图对本发明的优选实施例进行描述。
请参照图 2 所示, 本发明实施例一的网络化数字闹钟包括显示屏幕、 时间 设定装置以及闹铃发声装置, 还包括处理器 1、 存储器 2、 远程控制命令输入单 元 3、 以及控制网络接口 4, 其中, 处理器 1用于进行各种检测以及功能控制; 存储器 2用于设定并存储本闹钟源地址码以及网络控制对象地址码; 远程控制 命令输入单元 3用于输入远程控制命令; 控制网络接口 4用于与网络控制对象 进行信息交互。 处理器 1进一步包括远程控制命令识别单元 11以及远程控制执 行单元 12 , 其中, 远程控制命令识别单元 11用于识别远程控制命令输入单元输 入的远程控制命令, 或当本闹钟作为第二数字闹钟时, 识别来自第一数字闹钟 的远程控制命令; 远程控制执行单元 12用于根据识别的远程控制命令对网络控 制对象进行远程控制, 或当本闹钟作为第二数字闹钟时, 根据来自第一数字闹 钟的远程控制命令进行本地控制。 在本发明实施例中, 控制网络接口 4釆用电 力线载波控制网络接口 (在实际应用中也可以釆用射频无线接口, 其基本原理 和本实施例的电力线载波是一致的, 这里不作赘述), 且其进一步包括载波调制 器 41、 载波发送器 42、 载波接收器 43、 载波解调器 44, 其中, 载波调制器 41 用于将数字控制信号调制为已调载波信号; 载波发送器 42用于将已调载波信号 发送到电力线; 载波接收器 43用于当本闹钟作为第二数字闹钟时, 接收第一数 字输送的已调载波信号; 载波解调器 44用于解调第一数字闹钟输送的已调载波 信号, 产生还原的数字控制信号。 在本发明实施例中, 远程控制命令输入单元 3 釆用按键, 远程控制命令包括远程门锁控制命令、 远程灯光控制命令、 远程电 器控制命令、 远程安防控制命令、 远程传感器遥感控制命令、 远程音频监听命 令、 远程语音对讲命令、 远程电话接入命令、 远程时间同步命令或远程闹铃同 步命令; 相应地, 根据远程控制命令识别单元 11识别出的远程控制命令, 远程 控制执行单元 12还可以包括下列之一或任意组合:
用于当识别的远程控制命令为远程门锁控制命令时, 对控制网络中的门锁 进行远程控制, 或当本闹钟作为第二数字闹钟时, 根据来自第一数字闹钟的远 程门锁控制命令对与本闹钟连接的门锁进行本地控制的远程门锁控制单元 121 ; 用于当识别的远程控制命令为远程灯光控制命令时, 对控制网络中的灯光 进行远程控制, 或当本闹钟作为第二数字闹钟时, 根据来自第一数字闹钟的远 程门锁控制命令对与本闹钟连接的灯光进行本地控制的远程灯光控制单元 122; 用于当识别的远程控制命令为远程电器控制命令时, 对控制网络中的电器 进行远程控制, 或当本闹钟作为第二数字闹钟时, 根据来自第一数字闹钟的远 程电器控制命令对与本闹钟连接的电器进行本地控制的远程电器控制单元 123; 用于当识别的远程控制命令为远程安防控制命令时, 启动控制网络中的安 防系统, 或当本闹钟作为第二数字闹钟时, 根据来自第一数字闹钟的远程安防 控制命令启动与本闹钟连接的安防系统的远程安防控制单元 124;
用于当识别的远程控制命令为远程传感器遥感控制命令时, 控制网络中的 远程传感器进行远程遥感, 或当本闹钟作为第二数字闹钟时, 根据来自第一数 字闹钟的远程传感器遥感控制命令读取与本闹钟连接的传感器信息, 并将有关 传感器信息反馈给第一数字闹钟的远程传感器遥感控制单元 125;
用于当识别的远程控制命令为远程音频监听命令时, 监听控制网络中被远 程音频监听命令所选定的对讲分机的动静, 或当本闹钟作为第二数字闹钟时, 根据来自第一数字闹钟的远程音频监听命令启动本闹钟的监听功能的远程音频 监听单元 126;
用于当识别的远程控制命令为远程语音对讲命令时, 与控制网络中被远程 语音对讲命令所选定的对讲分机进行语音对讲, 或当本闹钟作为第二数字闹钟 时, 根据来自第一数字闹钟的远程语音对讲命令与第一数字闹钟进行语音对讲 的远程语音对讲单元 127;
用于当识别的远程控制命令为远程电话接入命令时, 连通接入本闹钟的电 话机与控制网络中远端电话线的通信连接, 或当本闹钟作为第二数字闹钟时, 根据来自第一数字闹钟的远程电话接入命令连通接入本闹钟的电话机与控制网 络中远端电话线的通信连接的远程电话接入单元 128;
用于当识别的远程控制命令为远程时间同步命令时, 控制第二数字闹钟根 据本闹钟进行时间同步显示, 或当本闹钟作为第二数字闹钟时, 执行来自第一 数字闹钟的远程时间同步命令的远程时间同步单元 129;
用于当识别的远程控制命令为远程闹铃同步命令时, 控制第二数字闹钟根 据本闹钟进行闹铃同步设置, 或当本闹钟作为第二数字闹钟时, 执行来自第一 数字闹钟的远程闹铃同步命令的远程闹铃同步单元 130。 请参照图 3 所示, 本发明实施例一的网络化数字闹钟的外观结构和常用操 作功能都与图 1 所示的现有典型数字闹钟非常相似, 只是在原基本功能和操作 按键的基础上增加了其它的功能模块和按键。 为了与新的功能更好地结合在一 起, 本发明实施例的网络化闹钟将现有闹钟的操作按键作了一些调整和新的设 置, 并将闹钟按键与其它功能按键复用。 图 1 中现有典型数字闹钟的九个闹钟 功能按键在本实施例中被设置为 "日期设定"、 "时间设定"、 "睡眠设定"、 "闹 铃设定"、 "铃声设定"、 "闹铃延迟 /闹铃延迟设定"、 "闹铃停止 /闹铃开关设 定", 以及 "+" 键和 "-" 键。 这里除 "睡眠设定" 按键外, 其它按键在功能上 都与图 1所示的现有数字闹钟的按键一致, 例如按 "日期设定" 可设定年、 月、 日、 星期, 按 "时间设定" 可设定时、 分、 秒, 按 "+"键和 "-"键增加或减少 被设定的参数值, 实现参数的设定和调整。 同样地, "闹铃设定" 可设定闹铃的 时间(每天同一时间使闹铃触发), "闹铃延迟设定"设定 "贪睡" 时间数值(一 般是几分钟到几十分钟不等), "闹铃开关设定" 可以设定 /选择闹铃的开 /关状 态。 至于 "闹铃延迟" 和 "闹铃停止" 则在闹铃触发时使用, 按 "闹铃延迟" 产生 "贪睡" 功能, 闹铃会暂停一个预定的贪睡时间, 当贪睡时间到时, 闹铃 会再次被触发。 如果要复位闹铃, 则要按下 "闹铃停止" 键才行, 按下 "闹铃 停止" 会使当次闹铃触发被清除, 直到下一个预设闹铃时间到来时才会被再次 触发。 如果希望闹铃被完全禁止, 则要按下 "闹铃开关设定" 才行。 "闹铃开关 设定"可使闹铃功能 "开启"或 "关闭" (每按一次按键其开 /关状态便翻转一次)。 本发明实施例中, "闹铃延迟"和 "闹铃延迟设定"是同一个按键(即按键复用), 同样地 "闹铃停止" 和 "闹铃开关设定" 也是同一个按键, 定义其轻按(例如 按下时间小于两秒)为 "闹铃延迟" 和 "闹铃停止", 而长按(例如按下时间大 于两秒)为 "闹铃延迟设定" 和 "闹铃开关设定", 上述这些操作功能与现有数 字闹钟在基本原理上是一致的。 当 "睡眠设定" 键被按下时, 闹钟会显示并执行一个预设的睡眠时间闹铃
(出厂时预设八小时, 用户可以在睡眠设定按键按下后, 通过按 "+" I "-" 键 的方式修改并存储新的预设睡眠时间), 该时间自动置换原设定的闹铃时间, 同 时倒计时睡眠时间设定单元 6通过倒计时的方式设定睡眠时间, 倒计时开始运 作后, 当时间届满时闹铃就会被触发。 这个睡眠闹铃功能为用户提供了一个新 的闹铃时间设定方式, 即不是设定一个固定的闹铃时间, 而是设定一个固定的 睡眠时间。 这一功能特别适合于某一特定的日子, 例如在周末时使用, 因为周 末的第二天通常无需在固定时间起床, 这一简易功能可保证用户有足够的睡眠 时间。 为了适合这种 "偶尔" 使用的情况, 这种用睡眠时间置换原闹铃时间是 一次性的, 即在睡眠闹铃结束后, 原来的闹铃时间会自动恢复。 在上述五个按键("日期设定"、 "时间设定"、 "睡眠设定"、 "闹铃设定"、 "铃声设定")旁还有另外一组标签, 分别是 "前门"、 "车库" "主人房"、 "厨 房"、 "儿童房", 这在本发明的实施例中被称为 "分机名称", 所对应的按键则 称之为 "分机按键"。 本发明实施例具有一个网络化的语音对讲功能, 所谓网络 化语音对讲, 是指可在复数个(两个或以上) 闹钟间实现可寻址的单向或双向 通话, 由于单向通话是双向通话的一个特例, 本发明实施例中将主要针对双向 通话展开描述。 上述的 "分机名称" 是本发明实施例将数字闹钟作为一个对讲 分机来使用时的一种称谓, 放在主人房的网络化数字闹钟被称为 "主人房" 分 机, 与主人房分机相对应的按键则称为 "主人房" 分机按键。 上述五个分机按 键还分别对应着五个阿拉伯数字 (分别为 "①" 一 "⑤,,), 在本发明中这些数 字被称为 "分机号码", 这些分机号码会在对讲呼叫时在显示屏幕中出现, 令用 户可知道呼叫方的分机号码。 上述的五个按键是由闹钟功能及对讲功能共同使用的(以下简称为 "复用", 在某一时刻这些按键代表何种功能, 是由闹钟上的 "功能选择开关" 来决定的。 本发明实施例中的功能选择开关有三种模式, 分别为 "收音"、 "闹钟" 和 "对 讲"。 当功能选择开关设定在 "闹钟" 位置时, 这五个按键就是闹钟按键, 而当 功能选择开关设定在 "对讲" 位置时, 这五个按键则是对讲的 "分机按键"。 至 于 "收音" 模式则可令数字闹钟进入收音机状态, 上述的五个按键又变成了收 音机的 "预设频道" 按键了, 可作一键式收音频道选择(选台)之用。 如果这 五个预设频道都不适合, 则可以按 "+" / "-" 按键选台, 当所需的电台选中后, 长按某一预设频道按键便可以储存这个新的电台频道, 成为将来的 "预设频道" 了。
与闹钟功能复用的还有另外两个对讲功能按键: "全局呼叫 /对讲"键与 "特 定呼叫 /对讲" 键。 在对讲模式中, 按下 "全局呼叫 /对讲" 键, 可以实现本闹钟 与系统中的所有其它闹钟(对讲分机)进行语音对讲; 而按下 "特定呼叫 /对讲" 键, 则可以实现本闹钟与被呼叫的特定闹钟(对讲分机)进行语音对讲。 选定 分机有两个方法, 方法一是轻按某一(或多个)特定的分机按键, 然后再按呼 叫 /对讲按键, 这样一个(或多个)特定的分机便被选定了; 另一个选定分机的 方法 (方法二)是长按(超过两秒) 某一特定的分机按键, 而无需再按 "特定 呼叫 /对讲"键。 方法二比较简单(只需按一个按键), 但是一次只能选定一个分 机。 呼叫和对讲在本发明实施例中是两个不同的工作模式, 如果釆用呼叫形式 发起一个对讲, 则被呼叫的分机会自动响铃, 只有当被呼叫分机回应 (按下被 呼叫分机的呼叫 /对讲键)后才能进行对讲; 而用对讲形式发起一个对讲, 则被 呼叫分机不会响铃, 而是直接收听来自发起分机的呼喊(讲话)。 "呼叫 /对讲" 在这里是一个复用键, 轻按是 "呼叫", 长按是 "对讲"。 呼叫的概念在本发明 中仅在发起一个对讲时适用, 当通话开始后 "呼叫" 的概念便不再适用, "呼叫 /对讲"按键这时将只作为 "对讲"键使用, 即按下按键向对方讲话(进入发送 模式), 松开按键收听对方的声音(进入收听模式), 这和传统对讲机的使用方 法是一致的。 在 "全局呼叫 /对讲" 模式中, 所有的分机都会响铃(被呼叫时) 或听到来自发起者的呼喊(对讲时), 除非某一分机处于静音状态。 当某一特定 分机要回复时, 按 "全局对讲" 键和 "特定对讲" 都可以, 不同的是按 "全局 对讲" 时所有分机都能听到回复, 而按 "特定对讲" 时则只有发起者能听到回 复, 这个功能可以给用户一个灵活的选择。 在上述例子中, 几乎所有功能按键都是复用的, 即闹钟、 收音和对讲三种 模式共用一套按键, 这样面板上的操作按键会显得比较简洁, 按键资源可以得 到较充分的利用。 为了实现收音和对讲功能, 本发明实施例还包括了一个扬声 器和一个麦克风, 而该扬声器也是闹钟功能的一部分, 可以实现收音机闹铃和 预设音乐闹铃, 这进一步扩展了闹钟的功能。 除了上述功能外, 本发明实施例还有另外一组扩展功能, 这些功能显示在 图 3 的 "远程操作功能区" 内。 闹钟是人们习惯放置于床头上的最基本、 最重 要, 同时也是最方便操作的一个家用电子设备, 人们有理由将其作为一个家庭 控制终端来看待, 特别是当其能提供一些适合人们在枕边操作, 为使用者带来 方便的扩展控制功能。 本发明实施例的网络控制对象包括两种情形, 第一种情 形是网络控制对象作为一个独立的与网络闹钟控制命令兼容的控制设备, 第二 种情形是网络控制对象作为一个附加在第二数字闹钟上的, 由第二数字闹钟直 接控制的设备。 例如家人深夜回家, 在前门①通过对讲门铃叫门, 此时用户即 使已经上了床也不需要起来, 只要按下床头闹钟的 "开锁" 键, 此时, 如果门 锁为独立的控制设备, 则远程控制命令识别单元 11识别出当前的远程控制命令 为远程门锁控制命令, 相应的远程门锁控制单元 121通过控制网络接口 4发送 相应的控制数据包对控制网络中的门锁进行远程控制, 使前门铁闸自动打开; 如果门锁为附加在第二数字闹钟上的控制设备, 则第一数字闹钟向第二数字闹 钟发送远程门锁控制命令, 第二数字闹钟的远程门锁控制单元 121 根据来自第 一数字闹钟的远程门锁控制命令对附加在本闹钟上的门锁进行本地控制, 使前 门铁闸自动打开, 这样可令夜归者自行进入, 这是本发明实施例提供的一个方 便功能; 临睡前在床头按下 "布防" 键, 此时, 如果安防系统(需另行配置兼 容传感器 )为独立的控制设备, 则远程控制命令识别单元 11识别出当前的远程 控制命令为远程安防控制命令, 相应的远程安防控制单元 124通过控制网络接 口 4发送相应的控制数据包启动网络中的安防系统; 如果安防系统为附加在第 二数字闹钟上的控制设备, 则第一数字闹钟向第二数字闹钟发送远程安防控制 命令, 第二数字闹钟的远程安防控制单元 124根据来自第一数字闹钟的远程安 防控制命令启动附加在本闹钟上的安防系统; 其他网络控制功能的原理与上述 的远程门锁控制、 远程安防控制的原理相同, 不予赘述; 半夜突然被报警铃声 惊醒, 睁开眼睛看看闹钟便可知道是哪里的传感被触发(会显示传感器的号码, 如果传感器与某对讲分机一致则会显示分机号码), 此时按下 "监听" 键就可以 监听触发区的动静, 或用对讲功能与该区对讲, 或按下 "警号" 将入侵者吓跑, 这是本发明提供的一个安防功能; 晚上在床上惦挂小孩了,也可以随手按下 "儿 童" 分机按键⑤及 "监听" 按键, 这样便可以听到儿童房的动静, 令家长可更 放心入睡, 这是本发明实施例提供的一个儿童关爱功能; 晚上要起夜, 在床头 打开洗手间的灯(按 "起夜" 键), 并在起夜回来后将灯关闭, 既方便起夜又不 影响枕边人的熟睡, 这是本发明实施例提供的一个人性化功能; 早上闹铃响了, 该起来准备早餐了, 但又想多睡一会儿, 这时可以按下 "早餐" 键, 预设的咖 啡壶、 多士炉便可执行操作(需要事先将材料准备好), 自动将早餐备妥, 这是 本发明实施例提供的一个家务助理功能; 一家人计划起早旅行, 主人将闹铃设 好, 然后按下 "同步" 键, 这时所有的网络化闹钟便会自动校准, 并设定相同 的闹铃时间, 使所有人都能在同一时间唤醒, 这是本发明实施例提供的一个同 步功能; 起床前不知外边天气冷暖、 该穿多少衣服, 这时按下 "温度" 键便可 感应室外温度(数据可来自前门对讲门铃的温度传感器), 这是本发明实施例提 供的一个远程感应功能。 当然基于本发明实施例还可以实现更多的功能, 在此 不予赘述, 其基本原理则是通过本发明实施例提供的控制网络接口 4及音频通 信接口 5来实现的。
请参照图 4 所示, 在显示屏幕的中间位置有大的时间显示 (在本发明实施 例中显示 12: 08 ), 在时间的上方分别有 "日期"、 "时间"、 "收音"、 "闹钟"、
"对讲"、 "闹铃"、 "铃声" 等七个指示, 其中 "收音"、 "闹钟"、 "对讲" 是功 能模式指示, 与图 3 中的 "功能选择开关" 状态相对应。 在闹钟模式中, 当进 行日期 /时间相关设定时, "闹钟"、 "日期"、 "时间 "指示会相应点亮; 而在闹铃 设定和铃声设定时, "闹铃"、 "铃声 "指示会相应点亮。在时间显示的左边有 "下 午"、 "延迟"、 "睡眠"、 "报警"、 "监听" 五个指示, 分别与系统的状态相关, 例如选择十二小时制而时间为下午时, "下午" 指示点亮。 其它指示分别与闹铃 延迟、 睡眠模式、 报警状态、 监听状态相关。 在时间显示的右边有 "兆赫"、 "通 道"、 "摄氏"、 " 华氏"、 "静音" 五个指示, 其中 "兆赫" 会在系统处于收音模 式时点亮, 这时中间的数字显示会自动变为收音机接收频道(频率) 的显示, 例如可以显示 88.0-108.0兆赫间的频率值; 另夕卜 "通道,,指示会在本对讲分机被 呼叫时显示, 并在原来时间显示的位置上显示呼叫方的通道号(分机号), 例如
"①" 号 (在本发明实施例中 "①" 代表 "前门", 即是前门与本发明实施例网 络化数字闹钟兼容的对讲门铃),或① -⑤间的其它数字,代表相应的对讲分机。 至于 "摄氏"、 "华氏" 则是在 "温度" 按键被按下时出现, 此时原来的时间显 示也就变为温度显示了, 至于是显示 "摄氏" 还是 "华氏", 则是由用户在相关 设定时选定。 至于 "静音" 则表明闹钟的一种状态, 在静音状态时, 全局呼叫 / 对讲和对讲门铃的呼叫都会被禁止, 这个状态也可以由用户设定。 时间显示的 下方有 "全局"、 "特定"、 "呼叫"、 "信道忙" 四个显示, 其中前三个显示可分 别组成 "全局呼叫" 和 "特定呼叫" 两个短语, 代表当前的呼叫形式, 而 "信 道忙" 则表明信道的使用状态, 当传输通道有信号正在传输时 (例如某一 "对 讲" 或 "监听" 按键按下, 或其它远程控制命令正在传输时), "信道忙" 便被 点亮。 在本发明实施例中, 对讲是釆用双向半双工模式进行的, 在这种通信模 式中, 同一时间里只能有一个对讲单元 (分机)可以发送信号, 如果有两个或 两个以上对讲单元的对讲键被按下, 则只有最先按下的对讲单元可以发送信号, 另一个对讲单元必须等前一个对讲单元的对讲按键被释放后才能进行信号的发 送。 为了避免在使用中的误操作, 本发明实施例还提供了一个提示音功能, 即 在对讲按键被有效按下并获取信道控制权后, 会用 "哔" 声提示可以开始通话。 在图 4 的左右两边还有两个圓形旋钮, 左边为用于收音机调台的调台钮; 右边 为用于收音和对讲音量调节的音量钮。 请参照图 5所示, 在图 5的中间位置是一个处理器 1 , 这是本发明实施例网 络化数字闹钟的控制核心, 承担按键输入检测、 传感器输入检测、 功能选择开 关检测, 以及数字信号的收发、 石英晶振的输入和显示内容的输出等功能。 在 本发明实施例中, 石英晶振为闹钟的时间信号源, 处理器为时间计数器, 所有 的日期、 时间、 闹铃、 睡眠设定, 以及对讲分机选择、 发出对讲呼叫或通话等, 都是通过处理器的控制来实现的。 在图 2中所述的远程控制命令识别单元 11以 及远程控制执行单元 12也是由处理器 1来实现 /体现的, 这包含有两种情形, 第 一种情形是在本地按键或传感器输入时, 处理器 1 对其进行检测和识别, 并根 据所检测的情况确认要执行的远程控制命令, 然后通过控制网络接口 4发出相 应的命令以实现所述的远程控制; 而第二种情形是, 本闹钟作为第二网络闹钟, 处理器 1通过控制网络接口 4接收第一网络闹钟的远程控制命令, 并对该命令 进行识别, 如果与本闹钟相关 (例如目标地址(即控制对象)与自身相符), 则 处理器 1 会通过与其连接的本地控制装置实施本地控制, 以实现第一网络闹钟 期望的远程控制功能。 时钟和对讲按键的复用也是由处理器 1 根据功能选择开 关的状态(位置 )来控制的, 处理器 1还根据按键按下的时间来判断是轻按 (少 于两秒)还是长按(大于两秒), 以实现更多的按键复用功能。 在本图中没有提 及收音功能, 至于更多的收音和对讲功能将会在下面有关的图表中论述。 请参照图 6 所示, 本发明实施例所发送的信号有两种, 一种是来自麦克风 的音频模拟信号; 另一种就是来自处理器 1 的控制数字信号, 包括地址码、 指 令码和参数等二进制控制代码(以下简称数据)。 在图 6中, 模拟信号和数字信 号是独立调制 /解调 (模拟信号通过第一载波调制器 41a和第一载波解调器 44a, 数字信号通过第二载波调制器 41b和第二载波解调器 44b ) , 以及独立发送 /接收 的(模拟信号通过第一载波发送器 42a和第一载波接收器 43a, 数字信号通过第 二载波发送器 42b和第二载波接收器 43b ) , 也就是说模拟信号和数字信号有不 同的信号通道, 不同的信号调制方式, 甚至用不同的信号传输媒体(在实际应 用中, 也可是令模拟信号和数字信号使用相同的调制器、 发送器、 接收器和解 调器, 这将会在下面的图 8和图 9中有更详尽的描述)。 最常用的信号传输媒体 是空气(通过天线发射和接收无线电波信号)和电力线 (通过电力线载波来传 输信号)。至于选用何种传输媒体要视乎信号发送的频率以及发送 /接收耦合器的 类别。 在实践上, 高频无线电信号 (>=30MHz )通常会釆用天线发射 /接收, 而 低频无线电信号 (<30MHz )则通过电力线载波来传送。 至于信号的调制方式, 模拟信号常用 AM和 FM,而数字信号除 AM/FM夕卜,还可以用开关键控( On-Off Keying, OOK )、频移键控( Frequency-Shift Keying, FSK )、相移键控( Phase-Shift Keying, PSK )等数字开关调制。 对于数字信号的传输通常还要选用某种通信协 议, 以协调信号的发送和接收, 以及实现控制信号的有效还原和控制指令的正 确执行。 常用的无线控制网络有 Zigbee、 Z-Wave, INSTEON等, 而常用的电力线载 波控制网络则有通用电力线载波总线 ( Universal Powerline Bus, UPB )、 电子消 费总线( Consumer Electronic Bus, CEBUS ), 以及 X10和 LonWorks等。 除上述 控制网络外, 在市场上还有许许多多自定义的网络接口, 本发明不排除任何一 种控制网络接口, 只要能令闹钟上实现远程的控制功能即可。 控制网络是本发 明实现网络化远程控制的最佳选择, 因为网络化意味着可以将系统功能分散化, 即是一个控制系统的传感器、控制器和执行器可以摆放 /安装在系统不同的地方, 并且可以根据需要而增减。 本发明实施例的网络化数字闹钟在系统中既可以扮 演控制器的角色, 也可以扮演传感器和执行器的角色, 视乎闹钟上远程功能模 块的配置和远程控制命令的设置而定, 详情可参照后述的表 2。 请参照图 7所示, 与处理器 1相连接的除了数字信号发送和接收装置外, 还有一个存储器 2,用于存放闹钟系统相关的设定信息,包括本地址码(源地址 )、 控制对象地址码(目标地址)等, 其中控制对象地址可以是对讲分机的地址, 也可以是被控门锁、 灯光、 电器等设备的地址, 还可以是安防、 温度等传感器 的地址。 上述门锁、 灯光、 电器等设备可以是一个独立的与网络闹钟系统兼容 的设备, 也可以是依附于网络闹钟上的, 由网络闹钟处理器直接控制的设备。 在本发明实施例中给出的是针对依附于网络闹钟上的设备进行控制, 因此所述 的控制对象地址实际上就是远程网络闹钟的地址, 至于安防、 温度等传感器的 情形和上述控制设备的情形是一样的。 在一个网络系统中, 要对某一特定目标 设备实施控制, 一定要给出正确的地址码, 否则就不能引起目标设备的关注。 同样地, 在一个双向控制 (例如对讲) 或需要状态反馈的系统中, 发出控制指 令的设备也要携带自身的地址码, 令目标设备可以知道控制信号的来源, 并作 为状态反馈的目标。 在对讲系统中, 接收到呼叫信号的分机会将发出呼叫信号 的分机号码显示在显示屏上, 使用户可以知道是谁在呼叫, 这和电话系统中的 来电显示功能是相似的。 由于系统的相关控制信息和参数都可以由用户来设定, 并要求这些信息的设定不会因掉电而丟失, 因此存储器通常会使用电可擦可编 程只读存储器 (Electrically Erasable Programmable Read-Only Memory, EEPROM)、 FLASH存储器等非易失性存储器 IC。
另外与处理器 1 相连接的还有一组输入设备和一组输出设备。 在输入设备 中, 除之前已有描述的特定按键输入外, 还有一些传感器的输入, 包括安防传 感器 (例如红外、 门磁、 窗磁、 玻璃、 煤气、 火烛、 水浸等传感器)和参数传 感器(包括温度、 湿度、 亮度、 压力等传感器)。 其中特定按键输入和安防传感 器触发都可能会引发一个控制信号的传输, 例如引发一次呼叫 /对讲, 或一次主 动的安防报警, 这要视乎系统当时的设定, 例如系统是否处于对讲状态, 通信 信道是否空闲, 以及系统是否处于布防状态等。 至于参数传感器, 除作本地闹 钟使用外(例如在闹钟显示屏幕中显示本地温度), 也可以作远程遥感之用, 例 如当有其它远程网络闹钟要求读温度时, 向该远程网络闹钟返回所检测到的温 度值。 在本发明实施例中, 输入设备还包括一个电话感应装置, 这主要是感应 与闹钟连接的电话机是否在摘机状态, 如果是并且信道也在空闲状态, 则会发 起一个电话的语音连接, 即首先通过控制网络接口 4选通远端的一个电话连接 装置(与一电话线相连), 然后再通过音频通信接口 5连通该电话连接装置的语 音通道, 这样便等于连通了本地电话机与远端电话线的连接。 这样就可以用无 线方式(或电力线载波方式)扩展了电话机的接入, 特别是在一些没有电话线 的房间实现了电话机与电话线的虚拟连接。 下面再分析一下与处理器 1 相连接的输出设备功能。 在这些输出设备中包 括有五个控制装置, 分别为电话控制装置、 灯光控制装置、 麦克风控制装置、 电子门锁控制装置、 扬声器控制装置。 其中电话控制装置与上述的电话感应装 置是相对应的, 但控制流向则为相反, 主要在电话线有一个外来电话进入时, 可以通过远程电话连接装置激活本地的电话振铃信号, 使与闹钟相连的电话机 振铃, 并在电话机摘机后连通远程电话连接装置的语音通道, 实现本地电话与 远程电话线的音频连接。 至于麦克风控制装置和扬声器控制装置, 主要是用来控制语音模拟信号的 连通状态。 当本地单元的监听被要求(例如由远程网络闹钟发出远程监听命令, 这在后述表 2中有相关描述)并被允许(在本地可以选择监听允许或监听屏蔽) 时, 麦克风的音频信号便与模拟载波调制通道及模拟信号发送器连通, 将已调 的音频信号发送给网络中要求监听的单元(例如其它远程网络闹钟) 实现远程 监听的功能。 同样地在对讲功能模式时, 麦克风控制装置也会根据需要进行连 通或屏蔽, 以实现音频流的控制, 类似于上述的监听过程。 至于扬声器控制装 置则也可根据需要控制扬声器的开或关, 实现音频的播放或静音。 另外两个输 出控制装置可直接连接受控的设备, 例如灯光控制装置连接相关的灯具(可通 过继电器或可控硅驱动), 电子门锁控制装置连接电子锁(也是通过继电器或晶 体管 /场效应管驱动)等, 以在本地执行远端设备发出的远程控制命令, 实现所 述的 "起夜" 灯光控制, 以及远程 "开锁" 等功能。 除上述例子外, 还可以在 网络闹钟上接更多的本地控制设备, 以实现更多的控制功能, 因为原理都是一 样的, 这里就不再赘述。 除上述可以看到的控制输入和控制输出功能外, 在图 7 中实际上还包括一 些看不到的远程控制功能, 例如远程时间同步和远程闹铃同步功能。 由于这些 同步功能是在处理器 1 内部实现的, 因此这两个功能就没有在图 7中画出来。 其具体实现方法是, 当处理器 1收到来自其它远程网络闹钟的远程同步命令(在 后述表 2中有相关的描述)后, 将所收到的附于远程同步命令内的时间 /闹铃信 息置换自身原有的时间 /闹铃信息, 从而实现时间和闹铃的远程同步。
请参照图 8所示, 在之前的图 6中分析了实施例中一个具有一般性特色的 信号发送和接收原理框图, 这里则介绍实施例中的最佳通信接口实施方案, 该 方案的最大特色是可实现音频信号与数字信号的同步传输, 这个技术进一步简 化了系统的线路, 同时也有效地降低了系统的成本。 图 8 中可以看到所有要发 送的信号,包括来自电话 /麦克风的音频模拟信号和来自处理器的控制数字信号, 这些信号都被送往同一个载波调制器调制, 在本发明实施例中, 载波调制器釆 用压控振荡器, 通过 FM 的调制方式来实现模拟信号和音频信号的调制, 产生 一个统一的已调制载波信号 (以下简称复合 FM信号), 然后通过发送器及发送天 线进行发送(根据不同的国家与市场可釆用不同的频段, 例如市民频段 (City Band, CB)、 家庭无线电服务(Family Radio Service, FRS)频段、 无线传声器频 段、 公众对讲频段、 无绳电话频段等, 或通过发送器和耦合器在电力线中发送, 频率上可釆用 100-500KHz的低频段, 或者以 6.78M、 13.56M、 27.12M、 40.68M ( Hz )为中心频率的工业、 科学、 医学频段(Industrial, Scientific and Medical, ISM)等。
电话模拟信号和麦克风模拟信号在接入压控振荡器之前会先通过相关的控 制装置, 这在上面有关段落中已有描述。 至于数字信号则可在进入压控振荡器 前先进行了一次低频载波调制, 而该载波为一低频信号 (相对于前述的 FM调 制频率而言), 其最高频率以不超过后述的 FM解调器能处理的频率为度, 在实 践上以 19KHz或附近的频率为最佳, 因为这个频率既处于常规 FM解调器的输 出信号带宽之内, 又不会在语音放大与播放系统(通常带宽 <=8KHz ) 中产生噪 音, 使混合解调信号中数字低频载波信号分量的存在不会影响模拟信号的播放 质量。
数字信号的低频载波调制是模拟信号与数字信号混合传输的关键。 数字信 号经低频调制后事实上就成为一个模拟的已调载波信号了。 低频调制可以是 OOK、 AM、 FM或其它任一种模式, 但每一种模式都必须在信号接收后用相同 模式的解调器进行解调。 在实践中不管是调制还是解调, 釆用 OOK模式是最简 单的。 上述模拟 /数字混合信号在同一 FM调制器 /解调器进行处理, 从而实现模 拟及数字信号的同步传输。 关于载波信号的接收、 解调及还原部分将会在下面 有关段落作进一步的描述。
请参照图 9所示, 图 9的核心为一 FM收音机电路或集成电路, 该集成电 路同时负责 FM调频广播的接收(简称收音)和上述模拟 /数字混合 FM载波信 号的接收。 图中有一功能选择开关, 可选择收音或对讲功能, 这个选择开关实 际上是图 3 中所述的功能选择开关的一部分。 当选择收音输入时, 图 9便是一 个传统的 FM收音机接收机, FM信号由天线输入, 并经 FM滤波器将 FM广播 频段外的杂波滤掉,然后进入 FM收音机集成电路,并由该集成电路对 FM信号 进行放大和解调,解调后的音频信号先经过一个扬声器控制装置(即静音装置 ), 如果该装置被使能(由前述的处理器控制), 则该音频信号就被输出至一音量调 节装置进行音量控制, 然后再进行功率放大, 最后由扬声器输出。 在图中还可 以看到有一个 FM调谐电路,该调谐电路通常由 LC振荡电路或压控振荡器组成, 并连接到收音机集成电路的本振输入回路, 以实现 FM信号接收的选频, 这和 常规的收音机电路结构是一样的。
图 9的另一个功能是实现上述图 8中所述的模拟 /数字混合 FM已调载波信 号的接收和解调, 这个功能在当选择开关置于 "对讲 /电话" 时选定。 在对讲 /电 话该模式中,复合 FM信号从电力线经载波耦合电路输入(也可以从天线输入;), 然后经选择开关进入 FM收音机集成电路,并由该集成电路对 FM信号进行放大 和解调, 解调 (还原)后的信号为一个混合信号, 包含了图 8 中所述的音频模 拟信号和低频数字载波信号。 还原的音频信号有两个传输通道, 分别受扬声器 控制装置(在对讲模式时适用)和电话控制装置(在电话模式时适用)所控制。 对讲模式中的音频信号输出通道与 FM收音机是一致的, 而电话模式中的音频 信号经过电话控制装置后被传输到电话机接口, 并在电话机中收听所接收到的 电话音频信号。 与音频信号同时传输并被解调出来的还有一个低频数字载波信 号, 这个信号还必须经过一个低频载波带通滤波器的选频, 然后再送到低频载 波解调器进行解调, 才能还原出二进制数字控制信号, 该数字控制信号会由前 述的处理器进行处理, 并根据情况分别控制扬声器控制装置或电话控制装置, 从而实现网络化的对讲控制或远程电话接口的连通控制。 图 10是本发明实施例一网络化数字闹钟的数字信号的调制、 解调波形时序 图。 这里的低频载波调制器为一个 OOK调制器, 低频载波解调器为一个 ΟΟΚ 解调器。 图中数字信号(原信号)表现为高 /低电平(即开和关)的二进制格式, 并由数字信号对低频载波进行开关调制, 产生一连串的开关键控(ΟΟΚ )信号。 在图中表现为高电平时载波通过, 低电平时载波截止。 还原信号先经收音机集 成电路输出, 再由低频载波解调器解调, 最后得到一个与原信号同相的二进制 开关还原信号。 实际上还原信号与原信号正是同相还是反相都没有问题, 只要 还原信号与原信号有一个明确的对应关系即可。
数字信号的传输是网络控制系统的基础, 为了实现本发明上述的控制功能, 一套有效的指令系统是必不可少的。 根据系统所需的功能要求, 本发明实施例 定义了九位字长的地址码, 六位字长的指令码及八位字长的参数, 具体的数字 长度、 容量及范围等资料见表 1所示。 表 1 数据类别及平均传输时间
Figure imgf000019_0001
表 2给出了本发明定义的一个网络控制指令一览表。 表 2中还可以见到有 七种不同的控制指令类别, 其中前四类为主动类指令(由模块主动发出控制信 号), 后二类为被动类指令(当相关设备被查询时, 进行状态的反馈), 最后一 类(安防类)则既是主动指令又是被动指令, 主要是视乎系统的安防状态而定, 如果系统处于安防的布防状态, 则相关传感器会主动发出报警数据包; 而当系 统处于撤防状态时, 则相关传感器只有在被查询时才进行被动式的状态反馈。
表 2网络控制指令一览表
指令类别 ( dl ) 设备控制 (主动类)
指令组成 目标地址 +设备控制指令
表达方式 aaaaaaaaa + cccccc
数据长度 9 + 6 = 15位(Bi ts )
设备控制指令类别 设备控制指令代码 全开 (灯、 电) 000000
全关 (灯、 电) 000001
灯开 000010
灯关 000011
电开 000100
电关 000101
锁开 000110
锁关 000111
警号 (开) 001000 警号 (关) 001001
布防 001010
撤防 001011
灯亮 001100
灯暗 001101
停止 001110
清除 001111
指令类别: (d2 ) 语音控制 (主动类)
指令组成: 目标地址 +语音控制指令 + 源地址 表达方式: aaaaaaaaa + cccccc + aaaaaaaaa 数据长度: 9 + 6 + 9 = 24位(Bi ts )
语音控制指令类别 语音控制指令代码 呼叫 010000
呼叫 (取消) 010001
通话 010010
通话(结束) 010011
监听 010100
监听(取消) 010101 静音 010110 静音(关) 010111
(电话)连线 011000
(电话)振铃 011001
(电话)摘机 011010
(电话)挂机 011011
指令类别: (d3 ) 状态 /参数查询 (主动类) 指令组成: 目标地址 + 查询指令
表达方式: aaaaaaaaa + cccccc
数据长度: 9 + 6 = 15位(Bi ts ) 查询指令类别 查询指令代码 设备状态查询 (所有) 100000
灯状态查询 100001
电状态查询 100010
锁状态查询 100011
安防状态查询 100100 对讲状态查询 100101 电话状态查询 100110
传感器参数查询 (所有) 101000
温度查询 101001
湿度查询 101010
亮度查询 101011
气压查询 101100
音量查询 101101
风量查询 101110
指令类别: (d4 ) 参数设定(主动类)
指令组成: 目标地址 +参数设定指令 +参数 表达方式: aaaaaaaaa + cccccc + vvvvvvvv 数据长度: 9 + 6 + 8 = 23位(Bi ts ) 参数设定指令类别 参数设定指令代码 参数设定 110000 温度设定 110001 湿度设定 110010 亮度设定 110011 音 f设足 110100 风量设定 110101 同步设定 111000 同步设定 111001 同步设定 111010 指令类别 ( d5 ) 设备状态反馈(被动类) 指令组成 设备状态 + 源地址 表达方式 ss ssss + aaaaaaaaa 数据长度 6 + 9 = 15位(Bi ts ) 设备状态类别 设备状态代码 全开 (灯、 电) 000000 全关 (灯、 电) 000001 灯开 000010 灯关 000011 电开 000100 电关 000101 锁开 000110 锁关 000111 警号 (开) 001000 警号 (关) 001001 布防 001010 撤防 001011 呼叫状态 010001
通话(繁忙) 010010 闲置 (挂机) 011011
指令类别 ( d6 ) 设备参数反馈(被动类) 指令组成 参数值 +参数类别 + 源地址 表达方式 VVVVVVW + cccccc + aaaaaaaaa 数据长度 8 + 6 + 9 = 23位(Bi ts ) 反应时间 1 : 0. 695秒(不计源地址) 参数类别含义 参数类别代码
温度 101001
湿度 101010
亮度 101011
气压 101100
首里 101101
指令类别 ( d7 ) 安防报警 /反馈 (主动 /被动类) 指令组成 安防报警 /状态 + 源地址 表达方式 ss ssss + aaaaaaaaa
数据长度 6 + 9 = 15位(Bi ts )
安防报警 /状态类别 安防报警 /状态代码
其它触发 110000
红外触发 110001
门磁触发 110010
窗磁触发 110011
玻璃触发 110100
煤气触发 110101 火灾触发 110111
水浸触发 111000 高温触发 111001 氐温触发 111010 下雨触发 111011 由于本发明实施例中的地址、 指令和参数的长度都不相同, 因此系统可以 很方便识别所接收的数据是属于何种类别的数据, 并根据情况进行判别与解码。 在指令类别 (dl ) 中包含了灯光、 电器、 门锁、 安防等设备控制指令; 在指令 类别 (d2 ) 中包含了对讲、 监听、 电话等语音控制指令; 在指令类别 (d3 ) 中 包含了设备、 传感器、 对讲 /电话的状态查询指令; 在指令类别 (d4 ) 中包含了 设备参数设定及系统同步指令; 在指令类别 (d5 )和(d6 ) 中包含了设备及传 感器状态及参数反馈指令; 在指令类别 (d7 ) 中包含了安防报警及安防状态反 馈指令。 上述这些指令可完全满足本发明实施例上述关于控制、 感应、 同步、 语音等功能的网络控制需求。
本发明实施例通过将数字闹钟网络化, 使其兼备远程的传感、 控制、 同步, 以及网络化的监听、 对讲等功能, 为用户提供更加便捷的生活。
请参照图 11所示, 本发明实施例二网络化数字闹钟的远程控制方法包括以 下步骤:
步骤 S1101 设定并存储本闹钟源地址码以及网络控制对象地址码。
网络控制对象地址可以是对讲分机的地址, 也可以是被控制的门锁、 灯光、 电器等设备的地址, 还可以是安防、 温度等传感器的地址。 上述门锁、 灯光、 电器等设备可以是一个独立的与网络闹钟系统兼容的设备, 也可以是依附于网 络闹钟上的, 由网络闹钟处理器直接控制的设备。 在本发明实施例中给出的是 针对依附于网络闹钟上的设备进行控制, 因此所述的控制对象地址实际上就是 远程网络闹钟的地址, 至于安防、 温度等传感器的情形和上述控制设备的情形 是一样的。 在一个网络系统中, 要对某一特定目标设备实施控制, 一定要给出 正确的地址码, 否则就不能引起目标设备的关注。 同样地, 在一个双向控制(例 如对讲)或需要状态反馈的系统, 发出控制指令的设备也要携带自身的地址码, 令目标设备可以知道控制信号的来源, 并作为状态反馈的目标。 在对讲系统中, 接收到呼叫信号的分机会将发出呼叫信号的分机号码显示在显示屏上, 使用户 可以知道是谁在呼叫, 这和电话系统中的来电显示功能是一样的。
步骤 S1102 输入远程控制命令, 或当本闹钟为第二数字闹钟时, 接收第一 数字闹钟发送的远程控制命令。
远程控制命令包括远程门锁控制命令、 远程灯光控制命令、 远程电器控制 命令、 远程安防控制命令、 远程传感器遥感命令、 远程音频监听命令、 远程语 音对讲命令、 远程电话接入命令、 远程时间同步命令或远程闹铃同步命令。 在 本发明实施例中, 釆用按键输入远程控制命令。
步骤 S1103 识别所述输入的远程控制命令,或当本闹钟为第二数字闹钟时, 识别第一数字闹钟发送的远程控制命令。
步骤 S1104 根据识别的远程控制命令对网络控制对象进行远程控制, 或当 本闹钟为第二数字闹钟时, 根据识别的第一数字闹钟发送的远程控制命令进行 本地控制。
根据识别的远程控制命令对网络控制对象进行远程控制, 具体包括: 当识别的远程控制命令为远程门锁控制命令时, 对控制网络中的门锁进行 远程控制; 或
当识别的远程控制命令为远程灯光控制命令时, 对控制网络中的灯光进行 远程控制; 或
当识别的远程控制命令为远程电器控制命令时, 对控制网络中的电器进行 远程控制; 或
当识别的远程控制命令为远程安防控制命令时, 启动控制网络中的安防系 统; 或
当识别的远程控制命令为远程传感器遥感控制命令时, 控制网络中的远程 传感器进行远程遥感; 或
当识别的远程控制命令为远程音频监听命令时, 监听控制网络中被远程音 频监听命令所选定的对讲分机的动静; 或
当识别的远程控制命令为远程语音对讲命令时, 与控制网络中被远程语音 对讲命令所选定的对讲分机进行语音对讲; 或
当识别的远程控制命令为远程电话接入命令时, 连通接入本闹钟的电话机 与控制网络中远端电话线的通信连接; 或
当识别的远程控制命令为远程时间同步命令时, 控制第二数字闹钟根据本 闹钟进行时间同步显示; 或
当识别的远程控制命令为远程闹铃同步命令时, 控制第二数字闹钟根据本 闹钟进行闹铃同步设置;
根据识别的第一数字闹钟发送的远程控制命令进行本地控制, 具体包括: 当本闹钟作为第二数字闹钟时, 根据来自第一数字闹钟的远程门锁控制命 令对与本闹钟连接的门锁进行本地控制; 或
当本闹钟作为第二数字闹钟时, 根据来自第一数字闹钟的远程灯光控制命 令对与本闹钟连接的灯光进行本地控制; 或
当本闹钟作为第二数字闹钟时, 根据来自第一数字闹钟的远程电器控制命 令对与本闹钟连接的电器进行本地控制; 或
当本闹钟作为第二数字闹钟时, 根据来自第一数字闹钟的远程安防控制命 令启动与本闹钟连接的安防系统; 或
当本闹钟作为第二数字闹钟时, 根据来自第一数字闹钟的远程传感器遥感 控制命令读取与本闹钟连接的传感器信息 , 并将有关传感器信息反馈给第一数 字闹钟; 或
当本闹钟作为第二数字闹钟时, 根据来自第一数字闹钟的远程音频监听命 令启动本闹钟的监听功能; 或
当本闹钟作为第二数字闹钟时, 根据来自第一数字闹钟的远程语音对讲命 令与第一数字闹钟进行语音对讲; 或
当本闹钟作为第二数字闹钟时, 根据来自第一数字闹钟的远程电话接入命 令连通接入本闹钟的电话机与控制网络中远端电话线的通信连接; 或
当本闹钟作为第二数字闹钟时, 根据来自第一数字闹钟的远程时间同步命 令使自身时间与第一数字闹钟时间同步; 或
当本闹钟作为第二数字闹钟时, 根据来自第一数字闹钟的远程闹铃同步命 令使自身闹铃设置与第一数字闹铃设置同步。。
请参照图 12所示, 本发明实施例三于网络化数字闹钟系统中实现音频信号 及数字信号远程同步传输的方法, 包括以下步骤: 步骤 S1201 于第一数字闹钟上, 第一处理器根据输入的远程控制指令或激 活的逻辑状态发出一组相应的二进制数字控制代码; 步骤 S1202 所述数字控制代码经第一载波调制器调制产生第一已调载波信 号, 并由第一载波发送器经第一特定传输媒体输出; 步骤 S1203使能第一音频信号通道, 音频信号经第二载波调制器调制, 产 生第二已调载波信号, 并由第二载波发送器经第二特定传输媒体输出; 步骤 S1204 于第二数字闹钟上, 第一载波接收器接收所述经第一特定传输 媒体输出的第一已调载波信号, 并由第一载波解调器对所述第一已调载波信号 进行解调, 还原出二进制数字信号, 并向第二处理器传输所述还原后的二进制 数字信号;
步骤 S1205第二处理器对还原后的二进制数字信号进行解码, 并根据解码 情况进行相应处理, 所述相应处理包括与远程时间信息同步、 将远程信息进行 显示、从 I/O端口输出特定控制逻辑信号或数字信号、使能音频接收通道 /装置; 步骤 S1206第二载波接收器接收所述经第二特定传输媒体输出的第二已调 载波信号, 并由第二载波解调器对所述第二已调载波信号进行解调, 还原出音 频信号。
当本发明网路化数字闹钟用于远程语音对讲、 远程音频监听等使用功能时, 本发明所发送的信号有两种, 一种是来自麦克风的音频模拟信号; 另一种就是 来自处理器的控制数字信号。
具体实施时, 于第一数字闹钟上, 用户按下一特定远程控制功能按键或激 活一特定逻辑状态, 第一处理器根据上述按键输入或逻辑状态发出一组相应的 二进制数字控制代码, 该代码经第一载波调制器调制, 产生第一已调载波信号, 然后经第一特定传输媒体输出, 同时使能第一音频信号通道, 使音频信号可以 进入第二载波调制器进行调制, 产生第二已调载波信号, 然后经第二特定传输 媒体输出; 于第二数字闹钟上, 第一载波接收器接收上述第一特定传输媒体上 的第一已调载波信号, 并由第一载波解调器对其进行解调, 还原出二进制数字 信号, 并将该数字信号传输给第二处理器, 第二处理器对还原的二进制数字信 号进行解码, 并根据解码情况进行相应处理, 包括但不限于与远程时间信息同 步、 将远程信息进行显示、从 I/O端口输出特定控制逻辑信号或数字信号、使能 音频接收通道 /装置, 从而实现数字信号从第一数字闹钟输入并在第二数字闹钟 输出并实现相关操作的控制传递的全过程; 同理, 第二载波接收器接收第二特 定传输媒体上的第二已调载波信号, 并由第二载波解调器对其进行解调并还原 出音频信号, 从而实现音频信号从第一数字闹钟输入并在第二数字闹钟输出的 音频传输的全过程。
在本发明的典型实施例中, 第一特定传输媒体和第二特定传输媒体釆用同 一传输媒体; 第一载波调制器和第二载波调制器釆用同一压控振荡器; 第一已 调载波信号和第二已调载波信号为同一频率的已调 FM载波信号; 第一载波接 收器和第二载波接收器釆用同一 FM接收器; 第一载波解调器和第二载波解调 器釆用同一 FM解调器。 数字控制代码可在进入压控振荡器前先进行了一次低 频载波调制, 而该载波为一低频信号(相对于前述的 FM调制频率而言), 其最 高频率以不超过后述的 FM解调器能处理的频率为度, 在实践上以 19KHz或附 近的频率为最佳, 因为这个频率既处于常规 FM解调器的输出信号带宽之内, 又不会在语音放大与播放系统(通常带宽 <=8KHz ) 中产生噪音, 使混合解调信 号中数字低频载波信号分量的存在不会影响模拟信号的播放质量。
本发明实施例通过将数字闹钟网络化, 使其兼备远程的传感、 控制、 同步, 以及网络化的监听、 对讲等功能, 为用户提供更加便捷的生活。
以上所述仅是本发明的优选实施方式, 应当指出, 对于本技术领域的普通 技术人员来说, 在不脱离本发明原理的前提下, 还可以作若干改进和润饰, 这 些改进和润饰也应视为本发明的保护范围。

Claims

权 利 要 求
1、 一种网络化数字闹钟, 包括显示屏幕、 时间设定装置以及闹铃发声装置, 其特征在于, 还包括:
存储器, 用于设定并存储本闹钟源地址码以及网络控制对象地址码; 远程控制命令输入单元, 用于输入远程控制命令;
处理器, 用于进行各种检测以及功能控制, 所述功能控制包括:
识别所述远程控制命令输入单元输入的远程控制命令, 或当本闹钟作为第 二数字闹钟时, 识别来自第一数字闹钟的远程控制命令; 以及
根据识别的远程控制命令对网络控制对象进行远程控制, 或当本闹钟作为 第二数字闹钟时, 根据来自第一数字闹钟的远程控制命令进行本地控制;
控制网络接口, 用于与所述网络控制对象进行信息交互。
2、 如权利要求 1所述的网络化数字闹钟, 其特征在于, 所述处理器包括: 远程控制命令识别单元, 用于识别所述远程控制命令输入单元输入的远程 控制命令, 或当本闹钟作为第二数字闹钟时, 识别来自第一数字闹钟的远程控 制命令;
远程控制执行单元, 用于根据识别的远程控制命令对网络控制对象进行远 程控制, 或当本闹钟作为第二数字闹钟时, 根据来自第一数字闹钟的远程控制 命令进行本地控制。
3、 如权利要求 2所述的网络化数字闹钟, 其特征在于, 所述远程控制命令 包括远程门锁控制命令、 远程灯光控制命令、 远程电器控制命令、 远程安防控 制命令、 远程传感器遥感控制命令、 远程音频监听命令、 远程语音对讲命令、 远程电话接入命令、 远程时间同步命令或远程闹铃同步命令; 所述远程控制执 行单元包括:
远程门锁控制单元, 用于当识别的远程控制命令为远程门锁控制命令时, 对控制网络中的门锁进行远程控制, 或当本闹钟作为第二数字闹钟时, 根据来 自第一数字闹钟的远程门锁控制命令对与本闹钟连接的门锁进行本地控制; 或 远程灯光控制单元, 用于当识别的远程控制命令为远程灯光控制命令时, 对控制网络中的灯光进行远程控制, 或当本闹钟作为第二数字闹钟时, 根据来 自第一数字闹钟的远程灯光控制命令对与本闹钟连接的灯光进行本地控制; 或 远程电器控制单元, 用于当识别的远程控制命令为远程电器控制命令时, 对控制网络中的电器进行远程控制, 或当本闹钟作为第二数字闹钟时, 根据来 自第一数字闹钟的远程电器控制命令对与本闹钟连接的电器进行本地控制; 或 远程安防控制单元, 用于当识别的远程控制命令为远程安防控制命令时, 启动控制网络中的安防系统, 或当本闹钟作为第二数字闹钟时, 根据来自第一 数字闹钟的远程安防控制命令启动与本闹钟连接的安防系统; 或
远程传感器遥感控制单元, 用于当识别的远程控制命令为远程传感器遥感 控制命令时, 控制网络中的远程传感器进行远程遥感, 或当本闹钟作为第二数 字闹钟时, 根据来自第一数字闹钟的远程传感器遥感控制命令读取与本闹钟连 接的传感器信息, 并将有关传感器信息反馈给第一数字闹钟; 或
远程音频监听单元, 用于当识别的远程控制命令为远程音频监听命令时, 监听控制网络中被远程音频监听命令所选定的对讲分机的动静, 或当本闹钟作 为第二数字闹钟时, 根据来自第一数字闹钟的远程音频监听命令启动本闹钟的 监听功能; 或
远程语音对讲单元, 用于当识别的远程控制命令为远程语音对讲命令时, 与控制网络中被远程语音对讲命令所选定的对讲分机进行语音对讲, 或当本闹 钟作为第二数字闹钟时, 根据来自第一数字闹钟的远程语音对讲命令与第一数 字闹钟进行语音对讲; 或
远程电话接入单元, 用于当识别的远程控制命令为远程电话接入命令时, 连通接入本闹钟的电话机与控制网络中远端电话线的通信连接, 或当本闹钟作 为第二数字闹钟时, 根据来自第一数字闹钟的远程电话接入命令连通接入本闹 钟的电话机与控制网络中远端电话线的通信连接; 或
远程时间同步单元, 用于当识别的远程控制命令为远程时间同步命令时, 控制第二数字闹钟根据本闹钟进行时间同步显示, 或当本闹钟作为第二数字闹 钟时, 执行来自第一数字闹钟的远程时间同步命令; 或
远程闹铃同步单元, 用于当识别的远程控制命令为远程闹铃同步命令时, 控制第二数字闹钟根据本闹钟进行闹铃同步设置, 或当本闹钟作为第二数字闹 钟时, 执行来自第一数字闹钟的远程闹铃同步命令。
4、 如权利要求 1所述的网络化数字闹钟, 其特征在于, 所述控制网络接口 为电力线载波控制网络接口, 所述电力线载波控制网络接口进一步包括:
载波调制器, 用于将数字控制信号调制为已调载波信号;
载波发送器, 用于将所述已调载波信号发送到电力线;
载波接收器, 用于当本闹钟作为第二数字闹钟时, 接收第一数字闹钟通过 电力线输送的已调载波信号;
载波解调器, 用于解调所述第一数字闹钟输送的已调载波信号, 产生还原 的数字控制信号。
5、 如权利要求 1所述的网络化数字闹钟, 其特征在于, 还包括音频通信接 口, 用于在不同闹钟间进行音频监听或语音对讲时, 传送相关的音频信号。
6、 如权利要求 5所述的网络化数字闹钟, 其特征在于, 所述音频通信接口 为可寻址双向半双工模拟通信接口, 并与所述控制网络接口使用同一载波调制 器、 同一载波频率、 同一载波发送器、 同一信号传输媒体以及同一载波接收器; 且本闹钟还包括与所述载波调制器电连接的低频载波调制电路, 用于在所述载 波调制器将数字控制信号调制为已调载波信号前, 对所述数字控制信号进行低 频调制。
7、 如权利要求 6所述的网络化数字闹钟, 其特征在于, 所述载波调制器为 FM调制器; 所述载波接收器为 FM收音机集成电路。
8、 如权利要求 1所述的网络化数字闹钟, 其特征在于, 还包括:
功能选择开关, 用于选择闹钟当前使用功能为收音功能、 闹钟功能或对讲 功能;
收音机装置, 用于接收公共 FM调频广播;
麦克风, 用于实施音频监听或语音对讲;
扬声器, 用于收听调频广播或语音对讲;
音量调节装置, 用于调节扬声器音量。
9、 如权利要求 1所述的网络化数字闹钟, 其特征在于, 还包括: 倒计时睡眠时间设定单元, 用于通过倒计时的方式设定睡眠时间。
10、 一种网络化数字闹钟的远程控制方法, 其特征在于, 包括以下步骤: 设定并存储本闹钟源地址码以及网络控制对象地址码;
当本闹钟为第一数字闹钟时:
输入远程控制命令;
识别所述输入的远程控制命令;
根据识别的远程控制命令对网络控制对象进行远程控制;
或当本闹钟为第二数字闹钟时:
接收第一数字闹钟发送的远程控制命令;
识别所述第一数字闹钟发送的远程控制命令;
根据识别的第一数字闹钟发送的远程控制命令进行本地控制。
11、 如权利要求 10所述的方法, 其特征在于, 所述远程控制命令包括远程 门锁控制命令、 远程灯光控制命令、 远程电器控制命令、 远程安防控制命令、 远程传感器遥感控制命令、 远程音频监听命令、 远程语音对讲命令、 远程电话 接入命令、 远程时间同步命令或远程闹铃同步命令。
12、 如权利要求 11所述的方法, 其特征在于, 所述根据识别的远程控制命 令对网络控制对象进行远程控制, 具体包括:
当识别的远程控制命令为远程门锁控制命令时, 对控制网络中的门锁进行 远程控制; 或
当识别的远程控制命令为远程灯光控制命令时, 对控制网络中的灯光进行 远程控制; 或
当识别的远程控制命令为远程电器控制命令时, 对控制网络中的电器进行 远程控制; 或
当识别的远程控制命令为远程安防控制命令时, 启动控制网络中的安防系 统; 或 当识别的远程控制命令为远程传感器遥感控制命令时, 控制网络中的远程 传感器进行远程遥感; 或
当识别的远程控制命令为远程音频监听命令时, 监听控制网络中被远程音 频监听命令所选定的对讲分机的动静; 或
当识别的远程控制命令为远程语音对讲命令时, 与控制网络中被远程语音 对讲命令所选定的对讲分机进行语音对讲; 或
当识别的远程控制命令为远程电话接入命令时, 连通接入本闹钟的电话机 与控制网络中远端电话线的通信连接; 或
当识别的远程控制命令为远程时间同步命令时, 控制第二数字闹钟根据本 闹钟进行时间同步显示; 或
当识别的远程控制命令为远程闹铃同步命令时, 控制第二数字闹钟根据本 闹钟进行闹铃同步设置;
所述根据识别的第一数字闹钟发送的远程控制命令进行本地控制, 具体包 括:
当本闹钟作为第二数字闹钟时, 根据来自第一数字闹钟的远程门锁控制命 令对与本闹钟连接的门锁进行本地控制; 或
当本闹钟作为第二数字闹钟时, 根据来自第一数字闹钟的远程灯光控制命 令对与本闹钟连接的灯光进行本地控制; 或
当本闹钟作为第二数字闹钟时, 根据来自第一数字闹钟的远程电器控制命 令对与本闹钟连接的电器进行本地控制; 或
当本闹钟作为第二数字闹钟时, 根据来自第一数字闹钟的远程安防控制命 令启动与本闹钟连接的安防系统; 或
当本闹钟作为第二数字闹钟时, 根据来自第一数字闹钟的远程传感器遥感 控制命令读取与本闹钟连接的传感器信息 , 并将有关传感器信息反馈给第一数 字闹钟; 或
当本闹钟作为第二数字闹钟时, 根据来自第一数字闹钟的远程音频监听命 令启动本闹钟的监听功能; 或
当本闹钟作为第二数字闹钟时, 根据来自第一数字闹钟的远程语音对讲命 令与第一数字闹钟进行语音对讲; 或
当本闹钟作为第二数字闹钟时, 根据来自第一数字闹钟的远程电话接入命 令连通接入本闹钟的电话机与控制网络中远端电话线的通信连接; 或 当本闹钟作为第二数字闹钟时, 根据来自第一数字闹钟的远程时间同步命 令使自身时间与第一数字闹钟时间同步; 或
当本闹钟作为第二数字闹钟时, 根据来自第一数字闹钟的远程闹铃同步命 令使自身闹铃设置与第一数字闹铃设置同步。
13、 一种于网络化数字闹钟系统中实现音频信号及数字信号远程同步传输 的方法, 其特征在于, 包括以下步骤: 于第一数字闹钟上, 第一处理器根据输入的远程控制指令或激活的逻辑状态发出一组相应的二 进制数字控制代码, 所述数字控制代码经第一载波调制器调制产生第一已调载 波信号, 并由第一载波发送器经第一特定传输媒体输出; 使能第一音频信号通道, 音频信号经第二载波调制器调制, 产生第二已调 载波信号, 并由第二载波发送器经第二特定传输媒体输出; 于第二数字闹钟上, 第一载波接收器接收所述经第一特定传输媒体输出的第一已调载波信号 , 并由第一载波解调器对所述第一已调载波信号进行解调, 还原出二进制数字信 号, 并向第二处理器传输所述还原后的二进制数字信号; 第二处理器对还原后的二进制数字信号进行解码, 并根据解码情况进行相 应处理, 所述相应处理包括与远程时间信息同步、 将远程信息进行显示、 从 I/O 端口输出特定控制逻辑信号或数字信号、 使能音频接收通道 /装置;
第二载波接收器接收所述经第二特定传输媒体输出的第二已调载波信号 , 并由第二载波解调器对所述第二已调载波信号进行解调, 还原出音频信号。
14、 如权利要求 13所述的方法, 其特征在于, 所述的第一特定传输媒体和 第二特定传输媒体为同一传输媒体; 所述的第一载波调制器和第二载波调制器 为同一 FM调制器; 所述的第一已调载波信号和第二已调载波信号为同一频率 的已调 FM载波信号;所述的第一载波调发送器和第二载波发送器为同一 FM发 送器; 所述的第一载波接收器和第二载波接收器为同一 FM接收器; 所述的第 一载波解调器和第二载波解调器为同一 FM解调器。
15、如权利要求 14所述的方法,其特征在于,在所述数字控制代码进入 FM 调制器的步骤之前还包括步骤: 对所述数字控制代码进行低频载波信号调制 , 生成低频已调载波信号; 且在所述低频已调载波信号作为还原的数字信号传输至第二处理器的步骤 之前还包括步骤:
对所述低频已调载波信号进行低频载波信号解调。
16、 如权利要求 14所述的方法, 其特征在于, 所述的 FM调制器为压控振 荡器, 所述 FM接收器为 FM收音机集成电路, 所述 FM解调器为所述 FM收音 机集成电路中的 FM解调器, 所述还原的音频信号及所述低频已调载波信号均 在所述 FM收音机集成电路中的音频信号端口输出。
17、 如权利要求 14所述的方法, 其特征在于, 所述的同一传输媒体为电力 线;所述的同一已调 FM载波信号为频率在 lOOKHz至 500KHz之间的 FM信号, 或以 6.78MHz/ 13.56MHz/ 27.12MHz/ 40.68MHz为中心的 FM信号。
18、 如权利要求 15所述的方法, 其特征在于, 所述的低频载波信号的频率 为 19KHZ。
PCT/CN2009/072396 2008-06-28 2009-06-23 一种网络化数字闹钟、远程控制方法及信号同步传输方法 WO2009155854A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN200810029204.2 2008-06-28
CN2008100292042A CN101315543B (zh) 2008-06-28 2008-06-28 一种网络化数字闹钟、远程控制方法及信号同步传输方法

Publications (1)

Publication Number Publication Date
WO2009155854A1 true WO2009155854A1 (zh) 2009-12-30

Family

ID=40106574

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2009/072396 WO2009155854A1 (zh) 2008-06-28 2009-06-23 一种网络化数字闹钟、远程控制方法及信号同步传输方法

Country Status (2)

Country Link
CN (1) CN101315543B (zh)
WO (1) WO2009155854A1 (zh)

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102025397A (zh) * 2009-09-10 2011-04-20 深圳长城开发科技股份有限公司 电力载波信号解调装置
CN102215224A (zh) * 2011-05-20 2011-10-12 深圳市金槌拍卖行有限公司 网络倒计时精确同步技术
CN102854852B (zh) * 2012-07-27 2014-08-27 北京空间飞行器总体设计部 一种基于带权双链表的设备监控方法
CN102982666B (zh) * 2012-11-26 2015-07-15 四川九洲电器集团有限责任公司 一种基于ZigBee技术的玻璃门窗防盗报警系统的工作方法
CN103888623B (zh) * 2012-12-24 2017-05-10 中国电信股份有限公司 语音提醒设置装置、系统和方法
CN103051805B (zh) * 2012-12-28 2014-10-29 广东欧珀移动通信有限公司 一种闹钟定时方法、装置以及移动终端
CN103218033B (zh) * 2013-03-28 2015-11-25 小米科技有限责任公司 一种唤醒硬件设备的方法及装置
CN103561379A (zh) * 2013-10-24 2014-02-05 三星电子(中国)研发中心 一种闹钟设置方法和移动终端
CN103676624A (zh) * 2013-11-29 2014-03-26 樊书印 报时器
CN103745652B (zh) * 2013-12-31 2016-04-06 余姚市盛飞电器有限公司 可远程控制电子万年历设备
CN105022267A (zh) * 2015-07-23 2015-11-04 深圳思考软件有限公司 将手机的时间同步到带计时功能的电子设备的方法及设备
CN105404472A (zh) * 2015-11-23 2016-03-16 天脉聚源(北京)传媒科技有限公司 一种压缩日志时间数据的存储空间的方法及装置
CN108732915A (zh) * 2018-06-02 2018-11-02 姚育军 一种家用多功能定时遥控小夜灯的数码时钟

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1081301A (zh) * 1992-06-19 1994-01-26 西屋电气公司 分布式处理网络系统中的日历时钟的同步化
JPH08254583A (ja) * 1995-03-16 1996-10-01 Fujitsu Ltd 内蔵時計の整合方法及び整合装置並びに電気機器
CN1341894A (zh) * 2000-09-06 2002-03-27 黄更 中介式控制传递的方法及中介式控制总线系统
JP2002162488A (ja) * 2000-11-24 2002-06-07 Seiko Clock Inc 目覚し時計
CN1794655A (zh) * 2005-12-22 2006-06-28 中山大学 一种数字家庭网络的时间同步装置及同步方法
US20070050657A1 (en) * 2005-08-31 2007-03-01 Mcreynolds Stephen R Optimum stable composite clock network
CN101136738A (zh) * 2007-10-08 2008-03-05 中控科技集团有限公司 网络时钟同步方法、装置及系统

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2726238Y (zh) * 2004-07-20 2005-09-14 张尧弟 一种远程集中控制开关
CN1293772C (zh) * 2004-08-30 2007-01-03 侯万春 在移动电话中增加网络闹钟的设备和方法
CN1936700A (zh) * 2006-09-30 2007-03-28 河海大学 一种同步摄影的控制方法

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1081301A (zh) * 1992-06-19 1994-01-26 西屋电气公司 分布式处理网络系统中的日历时钟的同步化
JPH08254583A (ja) * 1995-03-16 1996-10-01 Fujitsu Ltd 内蔵時計の整合方法及び整合装置並びに電気機器
CN1341894A (zh) * 2000-09-06 2002-03-27 黄更 中介式控制传递的方法及中介式控制总线系统
JP2002162488A (ja) * 2000-11-24 2002-06-07 Seiko Clock Inc 目覚し時計
US20070050657A1 (en) * 2005-08-31 2007-03-01 Mcreynolds Stephen R Optimum stable composite clock network
CN1794655A (zh) * 2005-12-22 2006-06-28 中山大学 一种数字家庭网络的时间同步装置及同步方法
CN101136738A (zh) * 2007-10-08 2008-03-05 中控科技集团有限公司 网络时钟同步方法、装置及系统

Also Published As

Publication number Publication date
CN101315543B (zh) 2010-06-16
CN101315543A (zh) 2008-12-03

Similar Documents

Publication Publication Date Title
WO2009155854A1 (zh) 一种网络化数字闹钟、远程控制方法及信号同步传输方法
US20060023847A1 (en) Remote control of a speaker phone device as a standalone device or as part of a security system
AU2002245502B2 (en) System and method for controlling home appliances
US5127045A (en) Identifying telephone controller system
US7751578B2 (en) Hearing device remote control unit as a network component and corresponding use thereof
US20020050799A1 (en) Lighting apparatus, lighting control system and home electric appliance
AU2002245502A1 (en) System and method for controlling home appliances
WO1999041693A1 (en) Wireless rolling code security system
CN105391856A (zh) 事件提醒的方法和装置
US6163270A (en) Apparatus and method for controlling communication in an electronic control and monitoring system
JP3633375B2 (ja) ワイヤレス伝送システム
CN102469223A (zh) 智能无线转接可视背光门铃
JP3359213B2 (ja) インターホン機能付リモートコントローラおよびリモートコントロールシステム
JP3889291B2 (ja) インターホン機能付きリモコンシステム
CN210444491U (zh) 一种可快速唤醒的可视门铃
KR100368953B1 (ko) 착탈이동 가능한 가정용 무선 제어 시스템
JP2000069184A (ja) インターホンシステム及び警報報知システム
JP3575877B2 (ja) 緊急通報システム
KR200330717Y1 (ko) 전화에 의해 원격지 제어가 가능한 방범기능을 가진 전기콘센트
KR100778172B1 (ko) 티브이 폰
CN110856143A (zh) 一种可快速唤醒的可视门铃及其唤醒方法
JP2002344637A (ja) ワイヤレスインターホンシステム、ワイヤレスコールインターホンシステム
JPS6359051A (ja) 遠隔制御装置
KR100269409B1 (ko) 호출제어장치
JP2004179834A (ja) マンションhaシステム

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: 09768779

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 09768779

Country of ref document: EP

Kind code of ref document: A1