(19)
(11)EP 2 124 376 A1

(12)EUROPEAN PATENT APPLICATION
published in accordance with Art. 153(4) EPC

(43)Date of publication:
25.11.2009 Bulletin 2009/48

(21)Application number: 07738726.4

(22)Date of filing:  15.03.2007
(51)International Patent Classification (IPC): 
H04L 7/033(2006.01)
(86)International application number:
PCT/JP2007/055276
(87)International publication number:
WO 2008/111229 (18.09.2008 Gazette  2008/38)
(84)Designated Contracting States:
AT BE BG CH CY CZ DE DK EE ES FI FR GB GR HU IE IS IT LI LT LU LV MC MT NL PL PT RO SE SI SK TR

(71)Applicant: Fujitsu Limited
Kawasaki-shi, Kanagawa 211-8588 (JP)

(72)Inventor:
  • KISHI, Masakazu
    Kawasaki-shi Kanagawa 211-8588 (JP)

(74)Representative: Lewin, David Nicholas 
Haseltine Lake LLP Lincoln House, 5th Floor 300 High Holborn
London WC1V 7JH
London WC1V 7JH (GB)

  


(54)ELECTRONIC DEVICE, CLOCK, AND CLOCK CONTROLLER


(57) An electronic apparatus input and/ or output a signal from and/or an external apparatus. The electronic apparatus includes: a clock section in which a frequency is set and which gives a clock signal having the set frequency; an input-output section which inputs and/or outputs the signal according to the clock signal given from the clock section; a frequency detecting section which detects a frequency of a signal given from the external apparatus; and a frequency setting section which determines the frequency of the clock signal based on the frequency detected by the frequency detecting section, and sets the frequency in the clock section.
Since the frequency of the clock signal is automatically set based on the frequency given from the external apparatus, it is possible to diminish a cumbersome maintenance work or reduce the cost.




Description

Technical Field



[0001] The present invention relates to an electronic apparatus which inputs and/or outputs a signal to and/or from an external apparatus, a clock apparatus which supplies a clock signal to the electronic apparatus, and a clock control apparatus which controls the clock signal supplied to the electronic apparatus.

Background Art



[0002] Electronic apparatuses such as a mobile telephone or a personal computer are composed by combining many electronic parts such as various integrated circuits, a resistor, and a capacitor. Each of electronic apparatuses mounts thereon an oscillator having a clock frequency according to its specifications. Each of plural housed electronic components is driven according to a clock signal, thereby achieving operational characteristics complying with the specifications.

[0003] In a communication apparatus which performs communications with an external apparatus, data carrier frequencies are different according to a country in which the device is used or the type of external apparatus to be connected. Therefore, a preferred clock frequency may depend upon a network condition on a client side even in the case of the communication apparatuses of the same type. In view of this, there are prepared plural versions mounting plural oscillators having clock frequencies different from each other in one type of communication apparatus; or plural oscillators having clock frequencies different from each other are mounted in one communication apparatus, and then, only an oscillator having a clock frequency suitable for a network condition is set to be effectively available on a client side, thus raising a problem of unnecessary cost.

[0004] In regard to this, a programmable oscillator whose oscillation frequency may be set by a user has been used in recent years (see, for example, Japanese Laid-open Patent Publication Nos. 2005-276179, 2001-320275, 11-55118, and 2000-341119). It is conceivable to mount such a programmable oscillator on a communication apparatus. The programmable oscillator is mounted on the communication apparatus, and a clock frequency according to a network condition on a client side is set, so that it is possible to save time and effort in preparing communication apparatuses of plural versions or mounting plural oscillators inside of one communication apparatus, thus reducing fabrication cost.

[0005] However, in delivering the communication apparatus to a client, it is necessary for an engineer of a manufacturer of the communication apparatus to visit to the client, to determine a clock frequency in consideration of a network condition or the like, and to set the clock frequency for the programmable oscillator. In addition, every time the use environment of the communication apparatus is changed, an engineer needs to determine and reset the clock frequency, thereby raising a problem of cumbersome maintenance.

[0006] Such a problem is not limited to only the communication apparatus but generally arises in the field of the electronic apparatus which inputs and/or outputs a signal to and/or from an external apparatus.

[0007] In view of the foregoing, an object of the present invention is to provide an electronic apparatus, a clock apparatus, and a clock control apparatus in which a clock frequency may be readily set.

Disclosure of the Invention



[0008] According to the present invention, an electronic apparatus to which an external apparatus is connected and which performs at least one of inputting and outputting a signal to and from the external apparatus, includes:

a clock section in which a frequency is set and which gives a clock signal having the set frequency;

an input-output section which performs an input-output operation including at least one of inputting and outputting the signal according to the clock signal given from the clock section;

a frequency detecting section which detects a frequency of a signal given from the external apparatus; and

a frequency setting section which determines the frequency of the clock signal based on the frequency detected by the frequency detecting section, and sets the frequency in the clock section.



[0009] In the electronic apparatus according to the present invention, the frequency of the signal given from the external apparatus is detected, and, the frequency of the clock signal is automatically determined based on the detected frequency to be set in the clock section. As a consequence, it is possible to save time and effort that an engineer visits to a client to set the frequency of the clock signal when delivering the electronic apparatus, or that the clock signal is manually adjusted again when the electronic apparatus is used in a different country or the external apparatus to be connected is changed, thus diminishing a cumbersome maintenance work or reducing the cost.

[0010] In the electronic apparatus according to the invention, it is preferable that the frequency detecting section receives a reference clock signal given from the clock section in which a predetermined reference frequency is set, and operates according to the reference clock signal.

[0011] Before the frequency of the clock signal is determined, the reference clock signal is given, so that the frequency detecting section may be securely driven.

[0012] In addition, in the electronic apparatus according to the invention, it is preferable that the frequency setting section finds, out of plural predetermined frequencies, a corresponding frequency which is an integral multiple or an integral submultiple of the frequency detected by the frequency detecting section, and then, determines the corresponding frequency as the frequency of the clock signal to set the frequency in the clock section.

[0013] According to the preferred electronic apparatus, a corresponding frequency being an integral multiple or an integral submultiple of the frequency of the signal to be input into or output from the external apparatus is determined as the frequency of the clock signal, highly reliable communications in which communication errors are reduced may be performed with the external apparatus.

[0014] In addition, in the electronic apparatus according to the invention, it is preferable that the electronic apparatus according to claim 1 further includes a frequency notifying section of which a frequency is notified via a communication line,
wherein the frequency setting section searches, out of plural predetermined frequencies, the corresponding frequency which is an integral multiple or an integral submultiple of the frequency detected by the frequency detecting section, and if the frequency setting section finds the corresponding frequency, the frequency setting section determines the corresponding frequency as the frequency of the clock signal to set the frequency in the clock section, and if the frequency setting section does not find the corresponding frequency, the frequency setting section sets, in the clock section, the frequency notified in the frequency notifying section.

[0015] Firstly, the corresponding frequency is searched for based on the frequency detected by the frequency detecting section. When the corresponding frequency is not found, the frequency notified via the communication line is determined as the frequency of the clock signal, so that the frequency of the clock signal nay be efficiently set.

[0016] In addition, in the electronic apparatus according to the invention, it is preferable that the clock section includes:

a storing section which stores plural frequencies;

a designating section in which one of the plural frequencies stored in the storing section is designated; and an oscillating section which gives a clock signal having the frequency designated in the designating section.



[0017] The clock frequency of the communication apparatus or the like is generally limited to some typical frequencies associated with carrier frequency of the signal. The candidates of the typical frequencies are stored in advance, so that the clock signal may be oscillated at an adequate frequency.

[0018] In addition, in the electronic apparatus according to the invention, it is preferable that the clock section includes:

a storing section which stores plural frequencies and rewritably stores one or more frequencies other than the plural frequencies;

a designating section which one of the frequencies stored in the storing section is designated; and

an oscillating section which gives a clock signal having the frequency designated in the designating section, and

the electronic apparatus further includes a frequency notifying-storing section of which a frequency is notified via a communication line and which stores the notified frequency in the storing section.



[0019] The frequency notified via the communication line is stored in the storing section in the clock section, so that the frequency of the clock signal given from the oscillator may be remotely operated.

[0020] In addition, in the electronic apparatus according to the invention, it is preferable that the electronic apparatus further includes a determining section which evaluates the quality of the input-output operation performed by the input-output section according to the clock signal given from the clock section, so as to determine the propriety of the frequency set in the clock section.

[0021] It is determined whether or not the frequency set in the clock section is suitable. Then, the frequency determined as being suitable is used as the frequency of the clock signal, thus suppressing the generation of an inconvenience such as a communication error, so as to accurately input and/or output a signal to and/or from the external apparatus.

[0022] In addition, in the electronic apparatus according to the invention, it is preferable that the electronic apparatus according to claim 1 further includes a determining section which evaluates, every time the frequency setting section sets the frequency in the clock section, the quality of the input-output operation performed by the input-output section according to a clock signal given from the clock section, and determines the propriety of the frequency set in the clock section,
wherein the frequency setting section finds, out of plural predetermined frequencies, a corresponding frequency which is an integral multiple or an integral submultiple of the frequency detected by the frequency detecting section, and determines the corresponding frequency as the frequency of the clock signal to set the frequency in the clock section; and
if the frequency setting section finds plural the corresponding frequencies, the frequency setting section sets the plural the corresponding frequencies in the clock section one by one sequentially in a predetermined priority, and determines as a frequency of the clock signal the corresponding frequency which is determined to be appropriate in the determining section.

[0023] When plural corresponding frequencies are found, they are set in the clock section one by one sequentially in accordance with the priority. At a time when the corresponding frequency is determined to be appropriate, the corresponding frequency is determined as a frequency of the clock signal, so that a processing speed until the frequency of the clock signal is set may be increased.

[0024] Further, according to the invention, aclockapparatus that supplies a clock signal to an electronic apparatus to which an external apparatus is connected, and which performs at least one of inputting and outputting a signal to and from the external apparatus, includes:

a clock section in which a frequency is set and gives a clock signal having the set frequency;

a frequency detecting section which detects a frequency of the signal given from the external apparatus; and

a frequency setting section which determines the frequency of the clock signal based on the frequency detected by the frequency detecting section, and sets the frequency in the clock section.



[0025] In the clock apparatus according to the present invention, the frequency of the signal given from the external apparatus is detected, and the frequency of the clock signal is automatically determined based on the detected frequency.

[0026] Here, with respect to the clock apparatus, only the basic mode thereof is explained. However, this is only for avoiding duplication. The clock apparatus according to the present invention includes not only the basic mode but also various modes corresponding to the modes of the electronic apparatus.

[0027] Furthermore, according to the invention, a clock control apparatus that controls a clock signal to be supplied to an electronic apparatus to which an external apparatus is connected, and which performs at least one of inputting and outputting a signal to and from the external apparatus, includes:

a frequency detecting section which detects a frequency of the signal given from the external apparatus; and

a frequency setting section which determines the frequency of the clock signal based on the frequency detected by the frequency detecting section, and sets the determined frequency for a clock which supplies a clock signal of the set frequency to the electronic apparatus.



[0028] According to the clock control apparatus of the present invention, the frequency of the clock signal given from the clock may be automatically set based on the frequency of the signal given from the external apparatus.

[0029] Here, also with respect to the clock control apparatus, only the basic mode is explained. However, this is only for avoiding duplication. The clock control apparatus according to the present invention includes not only the basic mode but also various modes corresponding to the modes of the electronic apparatus.

[0030] As described above, according to the present invention, it is possible to provide the electronic apparatus, the clock apparatus, and the clock control apparatus in which a clock frequency may be readily set.

Brief Description of Drawings



[0031] 

FIG. 1 is a schematic block diagram of a communication system to which an embodiment according to the present invention is applied.

FIG. 2 is a functional block diagram of the WDM apparatus.

FIG. 3 is a functional block diagram of the oscillating apparatus.

FIG. 4 is a flowchart illustrating a series of processes until the clock frequency is determined.

FIG. 5 is a flowchart illustrating a series of processes up to determining of a clock frequency in the second embodiment according to the present invention.


Best Mode for Carrying Out the Invention



[0032] Best modes according to the present invention will be described below with reference to the drawings.

[0033] FIG. 1 is a schematic block diagram of a communication system to which an embodiment according to the present invention is applied.

[0034] A communication system 1 illustrated in FIG. 1 includes two WDM (wavelength division multiplexing) apparatuses 100_1 and 100_2 connected to each other via an optical fiber line 400, plural terminals 201_1, 202_1, 203_1, and 204_1 connected to the left WDM apparatus 100_1 in FIG. 1 via a client line 300_1, and plural terminals 201_2, 202_2, 203_2, and 204_2 connected to the right WDM apparatus 100_2 in FIG. 1 via a client line 300_2. In actuality, numerous terminals are connected to the WDM apparatus, and further, numerous WDM apparatuses, other communication apparatuses, the Internet network, and the like are connected to each other, although only members required for description of the present invention are illustrated in FIG. 1 for the sake of easy illustration of the drawing.

[0035] The WDM apparatuses 100_1 and 100_2 apply the characteristics that "lights having wavelengths that are different with each other do not interfere with each other" and convert plural signals to be transmitted to or to be received from the terminals 201_1, 202_1, 203_1, 204_1, 201_2, 202_2, 203_2, and 204_2 into optical signals having wavelengths different from one another, multiplex those plural optical signals to be loaded to perform communications, and then, allow them to communicate on a single optical fiber line 400. Each of the two WDM apparatuses 100_1 and 100_2 corresponds to the electronic apparatus in each of the embodiments according to the present invention. In addition, the terminals 201_1, 202_1, 203_1, 204_1, 201_2, 202_2, 203_2, and 204_2 correspond to an example of the external apparatus according to the present invention.

[0036] Moreover, the client lines 300_1 and 300_2 connect the WDM apparatuses 100_1 and 100_2 to the terminals 201_1, 202_1, 203_1, and 204_1 and 201_2, 202_2, 203_2, and 204_2, respectively, and may be wireless lines in addition to wire lines such as an optical fiber line or a coaxial cable line. The optical fiber line 400 and the client lines 300_1 and 300_2 correspond to an example of the communication line according to the present invention.

[0037] Here, the two WDM apparatuses 100_1 and 100_2 basically have the same configuration, and therefore, explanation will be representatively made below on the left WDM apparatus 100_1.

[0038] FIG. 2 is a functional block diagram of the WDM apparatus 100_1.

[0039] The WDM apparatus 100_1 includes an optical interface 110 which communicates with the terminal via the client line 300_1, an optical wavelength division multiplexing separator 120 which communicates with the other WDM apparatus via the optical fiber line 400, and an oscillating apparatus 130 which oscillates a clock signal.

[0040] The optical interface 110 includes plural communication units 110_1, 110_2, ... respectively corresponding to the plural terminals connected to the WDM apparatus 100_1. The communication units 110_1, 110_2, ... respectively include external communicators 111_1, 111_2, ... which communicate with the terminals via the client lines 300_1, internal communicators 113_1, 113_2, ... which optically communicates with the optical wavelength division multiplexing separator 120, and signal processors 112_1, 112_2, ... for subj ecting signals transmitted from the external communicators 111_1, 111_2, ... and the internal communicators 113_1, 113_2, ... to various signal processes.

[0041] On the other hand, the optical wavelength division multiplexing separator 120 includes an optical multiplexer 121 which multiplexes plural optical signals having different wavelengths, a transmitter 122 which transmits the optical signal multiplexed by the optical multiplexer 121 to the other WDM apparatus via the optical fiber line 400, a receiver 124 which receives the optical signal transmitted via the optical fiber line 400, and an optical separator 123 which separates the multiplexed optical signal for each of the wavelengths. The external communicators 111_1, 111_2, ..., the transmitter 122, and the receiver 124 correspond to an example of the input-output section according to the present invention.

[0042] Before communications, a clock frequency is set in the oscillating apparatus 130, and a clock signal having the set clock frequency is , oscillated. Various components in the WDM apparatus 100_1 operate according to the clock signal, and thus, at least one of an input and an output timings of signals is matched. Setting the clock frequency will be explained in detail later.

[0043] When data is transmitted from the terminals 201_1, 202_1, ... to the external apparatus, signals transmitted from the terminals 201_1, 202_1, ... are input into the external communicators 111_1, 111_2, ... corresponding to the terminals 201_1, 202_1, ..., respectively, via the client line 300_1. Here, for example, in a case where the client line 300_1 for the terminal is an optical fiber line, a signal to be input from the terminal into the external communicator is an optical signal, and in a case where the client line 300_1 for the terminal is a wireless line, a coaxial cable line, or the like, a signal to be input from the terminal into the external communicator is an electric signal. The signals input into the external communicators 111_1, 111_2, ... are transmitted to the signal processors 112_1, 112_2, ..., respectively.

[0044] The signal processors 112_1, 112_2, ... convert the signals transmitted from the external communicators 111_1, 111_2, ... into optical signals having wavelengths λ1, λ2, ... assigned to the terminals 201_1, 201_2, ..., and further, add headers or error bits to the converted optical signals (i.e., digital wrapping). The digitally wrapped optical signals are transmitted to the optical multiplexer 121 through the internal communicators 113_1, 113_2, ....

[0045] The plural optical signals having the wavelengths λ1, λ2, ...different from each other are transmitted from the communication units 110_1, 110_2, .. to the optical multiplexer 121. The optical multiplexer 121 multiplexes the plural of transmitted optical signals, and then, transmits the multiplexed optical signal to the transmitter 122.

[0046] In the transmitter 122, the multiplexed optical signal is amplified, and the amplified multiplexed optical signal is transmitted to the other WDM apparatus via the optical fiber line 400. The multiplexed optical signal is separated for each of the wavelengths in the WDM apparatus, and the separated signals are transmitted to the external apparatuses, respectively.

[0047] In this manner, the signals are transmitted to the external apparatuses.

[0048] In addition, the signals transmitted from the external apparatuses are converted into the optical signals having wavelengths different from each other by the other WDM apparatus, to be multiplexed, and the multiplexed optical signal is transmitted to the WDM apparatus 100_1.

[0049] The multiplexed optical signal transmitted to the WDM apparatus 100_1 is received by the receiver 124 illustrated in FIG. 2, and then transmitted to the optical separator 123.

[0050] In the optical separator 123, after the multiplexed optical signal is amplified, and separated for each of the wavelengths λ1, λ2, ..., so that the separated optical signals are transmitted to the communication units 110_1, 110_2, ..., respectively.

[0051] The optical signals transmitted to the communication units 110_1, 110_2, ... , respectively, are received by the internal communicators 113_1, 113_2, ..., respectively, to be then transmitted to the signal processors 112_1, 112_2, ..., respectively. In the signal processors 112_1, 112_2, ..., the optical signals are converted into signals in a form suitable for the client line 300_1, and are respectively transmitted to the external communicators 111_1, 111_2, ..., after being subjected to various signal processes such as error correction.

[0052] In the external communicators 111_1, 111_2, ..., the transmitted signals are transmitted to the terminals 201_1, 202_1, ..., respectively, via the client line 300_1.

[0053] As described above, the terminals 201_1, 202_1, ... illustrated on the left in FIG. 1 receive the signals, respectively.

[0054] The various components included in the WDM apparatus 100_1 illustrated in FIG. 2 perform the processing according to the clock signal given from the oscillating apparatus 130. Hereinafter, the oscillating apparatus 130 will be explained in detail.

[0055] FIG. 3 is a functional block diagram of the oscillating apparatus 130.

[0056] In FIG. 3, only the right terminal 201_1 and the left terminal 201_2 are representatively illustrated out of the plural terminals illustrated in FIG. 1.

[0057] The oscillating apparatus 130 includes a frequency controller 131 which controls a clock frequency of the entire WDM apparatus 100_1 illustrated in FIG. 2, a frequency counter 132 which detects a carrier frequency of a signal to be transmitted to or to be received from each of the terminals 201_1 and 201_2, a frequency determiner 133 which determines the clock frequency of the WDM apparatus 100_1, andanoscillator 134 which oscillates the clock signal at the clock frequency determined by the frequency determiner 133. Furthermore, the oscillator 134 is provided with a storing section 1341 which stores plural frequencies and designates one of the plural frequencies, an oscillating circuit 1342 which oscillates a signal at a predetermined frequency, and a PLL-buffer 1343 which adjusts a frequency of an oscillation signal oscillated from the oscillating circuit 1342. The frequency controller 131 corresponds to an example of the frequency notifying section according to the present invention, and also corresponds to an example of the determining section; the frequency counter 132 corresponds to an example of the frequency detecting section according to the present invention; and the frequency determiner 133 corresponds to an example of the frequency setting section according to the present invention.

[0058] The storing section 1341 stores the plural frequencies in advance, and has a reusable region which may be rewritten many times by a user. Upon designation of a frequency by the frequency determiner 133, the designated frequency is transmitted to the PLL-buffer 1343, and is set as a clock frequency. The storing section 1341 corresponds to an example of the storing section according to the present invention, and also corresponds to the designating section according to the present invention. In addition, the combination of the oscillating circuit 1342 and the PLL-buffer 1343 corresponds to an example of the oscillating section according to the present invention.

[0059] FIG. 4 is a flowchart illustrating a series of processes until the clock frequency is determined.

[0060] The storing section 1341 in advance stores an elementary frequency Fs of a reference signal to be used as a counter in an initial state. In determining the clock frequency, the frequency controller 131 first sends, to the entire WDM apparatus 100_1, an instruction for performing an operation according to the reference signal with the elementary frequency Fs.

[0061] When instruction for performance test communications is given, the frequency determiner 133 takes the elementary frequency Fs from the storing section 1341, and designates the elementary frequency Fs as a clock frequency for the storing section 1341.

[0062] The elementary frequency Fs designated in the storing section 1341 is transmitted to the PLL-buffer 1343, to be set as the clock frequency. In the PLL-buffer 1343, the frequency of the signal oscillated from the oscillating circuit 1342 is adjusted to the elementary frequency Fs, and the reference signal to be the counter for performing the processes is oscillated. In the various elements of the WDM apparatus 100_1 illustrated in FIG. 2, the processes are performed according to the oscillated reference signal (step S11 in FIG. 4).

[0063] A signal transmitted from the terminal 201_1 via the client line 300_1 or a signal transmitted from the terminal 201_2 to the WDM apparatus 100_2 via the client line 300_2 and further transmitted from the WDM apparatus 100_2 via the optical fiber line 400 is received by the frequency controller 131 and the frequency counter 132 in the oscillating apparatus 130 illustrated in FIG. 3 in addition to the optical interface 100 and the optical wavelength division multiplexing separator 120 illustrated in FIG. 2. The frequency counter 132 detects the carrier frequency of the received signal (step S12 in FIG. 4). The detected carrier frequency is transmitted to the frequency determiner 133.

[0064] The frequency determiner 133 determines a candidate frequency to be a candidate for the clock frequency out of the plural frequencies stored in the storing section 1341 based on the transmitted carrier frequency (step S13 in FIG. 4). In the present embodiment, first, an integral multiple (1xFh, 2xFh, 3xFh, ...) and an integral submultiple (Fh/1, Fh/2, Fh/3, ...) of a detected carrier frequency Fh are calculated, and a frequencies which coincides with the calculated frequency is determined as the candidate frequency out of the plural frequencies stored in the storing section 1341. At this time, a slight error is allowable. The determined candidate frequencies are designated as temporary clock frequencies one by one in sequence.

[0065] When the candidate frequency is designated as the temporary clock frequency, the clock signal having the designated candidate frequency is output from the PLL-buffer 1343. The various parts in the WDM apparatus 100_1 illustrated in FIG. 2 performs the test communications between the terminals 201_1 and 201_2 according to the oscillated temporary clock signal (step S14 in FIG. 4).

[0066] The frequency controller 131 detects transmission and reception errors during the test communications or an error in the transmitted signal, and it is determined whether or not the temporary clock signal is appropriate (step S15 in FIG. 4). If the number of transmission and reception errors or the number of errors of the signal is a predetermined number or less (Yes in step S15 in FIG. 4), it is determined that the temporary clock signal is appropriate, and thus, the number of transmission and reception errors and the number of errors of the signal are stored as a communication quality (step S16 in FIG. 4).

[0067] The processes in steps S14 and S15 are repeated up to a final candidate frequency(step S17 in FIG. 4).

[0068] If there are candidate frequencies which are determined to be appropriate for the clock frequency (i.e., the communication quality is preserved) (Yes in step S18 in FIG. 4) at the time when the processing up to the final candidate frequency is finished (Yes in step S17 in FIG. 4), one having a highest communication quality out of the candidate frequencies is determined as the clock frequency (step S19 in FIG. 4).

[0069] In addition, if there is no candidate frequency which is determined to be appropriate for the clock frequency (i.e., the communication quality is not preserved) (No in step S18 in FIG. 4), the frequency controller 131 transmits a request signal representing a request for designating a frequency to each of the terminals 201_1 and 201_2.

[0070] Forexample, when a user of the terminal 201_2 designates a frequency by using a mouse or the like, a response signal representing a designated frequency is transmitted to the WDM apparatus 100_2 via the client line 300_2, and is transmitted from the WDM apparatus 100_2 to the frequency controller 131 via the optical fiber line 400. The designated frequency acquired in the frequency controller 131 is transmitted to the frequency determiner 133 and is stored in the reusable region in the storing section 1341, and in the frequency determiner 133, the designated frequency is determined as the clock frequency (step S20 in FIG. 4).

[0071] The clock frequency such determined as described above is transmitted from the storing section 1341 to the PLL-buffer 1343 to be set as the clock frequency. In the PLL-buffer 1343, a signal oscillated from the oscillating circuit 1342 is output for each of the clock frequencies, so that the clock signal is oscillated (step S21 in FIG. 4).

[0072] As described above, according to the present embodiment, the carrier frequencies of the terminals 201_1 and 201_2 connected to the WDM apparatus 100_1 are detected, and the clock frequency is automatically determined based on the carrier frequencies. For this reason, even if the terminal connected to the WDM apparatus 100_1 is changed to other terminal or the WDM apparatus 100_1 is used in another country, it is possible to save time and effort for manually setting the clock frequency by an engineer of a manufacturer and to reduce the cost.

[0073] Moreover, according to the present embodiment, if there is no frequency suitable for the clock frequency in the frequencies stored in advance, a frequency may be remotely designated from the terminal connected to the WDM apparatus 100_1.

[0074] The explanation of the first embodiment according to the present invention is as described above. Next, a second embodiment will be described below. The second embodiment according to the present invention has the same configuration as that in the first embodiment according to the present invention illustrated in FIGS. 1, 2, and 3 except for a flow of processing of determining a clock frequency. Thus, FIGS. 1, 2, and 3 are also used in explaining the second embodiment according to the present invention, and a description will be given of only a difference from the first embodiment according to the present invention.

[0075] FIG. 5 is a flowchart illustrating a series of processes up to determining of a clock frequency in the second embodiment according to the present invention.

[0076] Also in the present embodiment, similar to step S11 in the first embodiment illustrated in FIG. 4, first, an elementary frequency Fs is set as a temporary clock frequency, and then, test communications are performed according to a temporary clock signal (step S31 in FIG. 5).

[0077] The frequency counter 132 detects carrier frequencies of signals received from the terminals 201_1 and 201_2 illustrated in FIG. 3 through the test communications (step S32 in FIG. 5).

[0078] Similar to step S13 in the first embodiment, the frequency determiner 133 determines a frequency being close by a predetermined extent or more to an integral multiple (1xFh, 2xFh, 3xFh, ...) and an integral submultiple (Fh/1, Fh/2, Fh/3, ...) of a detected carrier frequency Fh as a candidate frequency out of the plural frequencies stored in the storing section 1341.

[0079] In the first embodiment illustrated in FIG. 4, the determined candidate frequencies are designated as temporary clock frequencies one by one, and then, the test communications are performed for all of the candidate frequencies. In contrast, in the present embodiment, the determined candidate frequencies are designated as temporary clock frequencies sequentially in a predetermined priority, and the test communications are performed. The test communications are finished at the time when the communications are succeeded. In the present embodiment, the determined candidate frequencies are designated as the temporary clock frequencies in a decreasing order of frequency (step S33 in FIG. 5).

[0080] First, a candidate frequency having a highest priority is designated as the temporary clock frequency, and then, the PLL-buffer 1343 outputs a clock signal having the designated candidate frequency. The various components in the WDM apparatus 100_1 illustrated in FIG. 2 perform the test communications with the terminals 201_1 and 201_2 according to the oscillated temporary clock signal (step S34 in FIG. 5).

[0081] The frequency controller 131 detects transmission and/or reception errors during the test communications or an error in the transmitted signal. If the number of transmission and/or reception errors or the number of errors of the signal is a predetermined number or less (Yes in step S35 in FIG. 5), the candidate frequency set at this time is determined as the clock frequency as it is.

[0082] In addition, if the number of transmission/reception errors or the number of errors of the signal exceeds the predetermined number (No in step S35 in FIG. 5), the temporary clock signal is determined to be unsuitable, and then, a candidate frequency having a second priority is set as a clock frequency, followed by the test communications (step S34 in FIG. 5).

[0083] The candidate frequencies are set as the clock frequencies in sequence in accordance with the priority, and the test communications are performed (step S34 in FIG. 5). This processing is repeated until the number of transmission and/or reception errors or the number of errors of the signal becomes the predetermined number or less (Yes in step S35 in FIG. 5) or the state in which the number of transmission/reception errors or the number of errors of the signal exceeds the predetermined number (No in step S35 in FIG. 5) continues till the last candidate frequency (Yes in step S36 in FIG. 5).

[0084] If it is determined with respect to all of the candidate frequencies that the temporary clock signals are not appropriate (Yes in step S36 in FIG. 5), the frequency controller 131 transmits a request signal representing a request for designating a frequency to the terminals 201_1 and 201_2, and then, a user designates a frequency by using the terminals 201_1 and 201_2 (step S37 in FIG. 5).

[0085] The clock frequency remotely designated by the user is stored in the reusable region in the storing section 1341, and further, is transmitted from the storing section 1341 to the PLL-buffer 1343 to be set as the clock frequency (step S38 in FIG. 5).

[0086] According to the present embodiment, the candidate frequencies are set in sequence as the clock frequencies in accordance with the priority. The candidate frequency which has been set at the time when the communications are established is used as the clock frequency as it is, so that the processing is improved. Moreover, according to the present embodiment, the candidate frequencies are set in sequence in the descending order of frequency as the clock frequencies, and the clock frequency at which high speed communications are obtained may be set quickly.

[0087] The descriptions have been given to the example in which the electronic apparatus according to the present invention is applied to the WDM apparatus. However, the electronic apparatus according to the present invention may be a communication relay apparatus and the line other than the WDM apparatus.

[0088] In addition, although the example in which the plural candidate frequencies are set as the clock frequencies in sequence in the descending order of frequency is described. However, the frequency setter according to the present invention may set plural candidate frequencies as clock frequencies in a descending order from one closest to a carrier frequency of a signal transmitted from an external apparatus.


Claims

1. An electronic apparatus to which an external apparatus is connected and which performs at least one of inputting and outputting a signal to and from the external apparatus, comprising:

a clock section in which a frequency is set and which gives a clock signal having the set frequency;

an input-output section which performs an input-output operation including at least one of inputting and outputting the signal according to the clock signal given from the clock section;

a frequency detecting section which detects a frequency of a signal given from the external apparatus; and

a frequency setting section which determines the frequency of the clock signal based on the frequency detected by the frequency detecting section, and sets the frequency in the clock section.


 
2. The electronic apparatus according to claim 1, wherein the frequency detecting section receives a reference clock signal given from the clock section in which a predetermined reference frequency is set, and operates according to the reference clock signal.
 
3. The electronic apparatus according to claim 1, wherein the frequency setting section finds, out of a plurality of predetermined frequencies, a corresponding frequency which is an integral multiple or an integral submultiple of the frequency detected by the frequency detecting section, and then, determines the corresponding frequency as the frequency of the clock signal to set the frequency in the clock section.
 
4. The electronic apparatus according to claim 1 further comprising a frequency notifying section of which a frequency is notified via a communication line,
wherein the frequency setting section searches, out of a plurality of predetermined frequencies, the corresponding frequency which is an integral multiple or an integral submultiple of the frequency detected by the frequency detecting section, and if the frequency setting section finds the corresponding frequency, the frequency setting section determines the corresponding frequency as the frequency of the clock signal to set the frequency in the clock section, and if the frequency setting section does not find the corresponding frequency, the frequency setting section sets, in the clock section, the frequency notified in the frequency notifying section.
 
5. The electronic apparatus according to claim 1, wherein the clock section comprises:

a storing section which stores a plurality of frequencies;

a designating section in which one of the plurality of frequencies stored in the storing section is designated; and

an oscillating section which gives a clock signal having the frequency designated in the designating section.


 
6. The electronic apparatus according to claim 1, wherein the clock section comprises:

a storing section which stores a plurality of frequencies and rewritably stores one or more frequencies other than the plurality of frequencies;

a designating section which one of the frequencies stored in the storing section is designated; and

an oscillating section which gives a clock signal having the frequency designated in the designating section, and

the electronic apparatus further comprises a frequency notifying-storing section of which a frequency is notified via a communication line and which stores the notified frequency in the storing section.


 
7. The electronic apparatus according to claim 1 further comprising a determining section which evaluates the quality of the input-output operation performed by the input-output section according to the clock signal given from the clock section, so as to determine the propriety of the frequency set in the clock section.
 
8. The electronic apparatus according to claim 1 further comprising a determining section which evaluates, every time the frequency setting section sets the frequency in the clock section, the quality of the input-output operation performed by the input-output section according to a clock signal given from the clock section, and determines the propriety of the frequency set in the clock section,
wherein the frequency setting section finds, out of a plurality of predetermined frequencies, a corresponding frequency which is an integral multiple or an integral submultipleof the frequency detected by the frequency detecting section, and determines the corresponding frequency as the frequency of the clock signal to set the frequency in the clock section; and
if the frequency setting section finds a plurality of the corresponding frequencies, the frequency setting section sets the plurality of the corresponding frequencies in the clock section one by one sequentially in a predetermined priority, and determines as a frequency of the clock signal the corresponding frequency which is determined to be appropriate in the determining section.
 
9. A clock apparatus that supplies a clock signal to an electronic apparatus to which an external apparatus is connected, and which performs at least one of inputting and outputting a signal to and from the external apparatus, comprising:

a clock section in which a frequency is set and gives a clock signal having the set frequency;

a frequency detecting section which detects a frequency of the signal given from the external apparatus; and

a frequency setting section which determines the frequency of the clock signal based on the frequency detected by the frequency detecting section, and sets the frequency in the clock section.


 
10. A clock control apparatus that controls a clock signal to be supplied to an electronic apparatus to which an external apparatus is connected, and which performs at least one of inputting and outputting a signal to and from the external apparatus, comprising:

a frequency detecting section which detects a frequency of the signal given from the external apparatus; and

a frequency setting section which determines the frequency of the clock signal based on the frequency detected by the frequency detecting section, and sets the determined frequency for a clock which supplies a clock signal of the set frequency to the electronic apparatus.


 




Drawing



















Search report







Cited references

REFERENCES CITED IN THE DESCRIPTION



This list of references cited by the applicant is for the reader's convenience only. It does not form part of the European patent document. Even though great care has been taken in compiling the references, errors or omissions cannot be excluded and the EPO disclaims all liability in this regard.

Patent documents cited in the description