CN101888299A - Method and device for implementing display mode switching by low-frequency clock - Google Patents

Method and device for implementing display mode switching by low-frequency clock Download PDF

Info

Publication number
CN101888299A
CN101888299A CN2010102075822A CN201010207582A CN101888299A CN 101888299 A CN101888299 A CN 101888299A CN 2010102075822 A CN2010102075822 A CN 2010102075822A CN 201010207582 A CN201010207582 A CN 201010207582A CN 101888299 A CN101888299 A CN 101888299A
Authority
CN
China
Prior art keywords
display mode
low
frequency clock
epld
switch
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN2010102075822A
Other languages
Chinese (zh)
Inventor
尚迎春
欧洋
白宏伟
唐伟
钱电生
任立涛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN2010102075822A priority Critical patent/CN101888299A/en
Publication of CN101888299A publication Critical patent/CN101888299A/en
Priority to PCT/CN2011/071175 priority patent/WO2011160461A1/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G5/00Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators

Abstract

The invention discloses a method and a device for implementing display mode switching by a low-frequency clock. The method comprises the following steps: a physical layer chip of communication equipment outputs a low-frequency clock signal to an erasable programmable logic device (EPLD) of the communication equipment; while a display mode requires to be switched, the EPLD times by the low-frequency clock signal output by the physical layer chip; and when the time reaches a preset time value TIME 1, a processor of the communication equipment is informed to switch the display mode. By adopting the method and the device for implementing display mode switching by the low-frequency clock of the invention, the display mode can be switched by virtue of less EPLD resources.

Description

Utilize low-frequency clock to realize the method and apparatus that display mode switches
Technical field
The present invention relates to the communications field, specially refer to a kind of low-frequency clock that utilizes and realize the method and apparatus that display mode switches.
Background technology
Communication equipment is Ethernet switch for example, and FPDP such as 8 mouthfuls, 16 mouthfuls, 24 mouthfuls or 48 mouthfuls are generally arranged, and each port is with the operating state of 2 monochromatic burners or 1 bi-colour light indication port.The operating state that needs to show comprises connection LINK, speed SPEED, the duplexing DUPLICATION of each port and transfer of data ACTIVITY etc. is arranged, and uses switching key to switch the pattern that shows usually.
Communication equipment adopts programmable logic device (Erasable Programmable Logic Device, EPLD) state of pilot signal, after EPLD detects switching key and is pressed, report once to processor every the regular hour and to interrupt, till switching key is released.Processor is had no progeny in receiving, with the display mode of equipment by a kind of mode switch to another kind of pattern, as from the LINK mode switch to the SPEED pattern.
The switching of display mode need be carried out timing to the time span that the user presses switching key, and EPLD needs clock signal and makes the time statistics.At same timing time, if clock signal is a high frequency clock signal, then EPLD needs more register, for example need timing 500ms, under the high frequency clock signal of 25MHz, need 25 digit counters, the low-frequency clock signal of 8Hz then only needs 2 bit registers.Communication equipment adopts the high frequency clock signal of crystal oscillator or clock buffer output to carry out timing at present, and the defective that causes is the more EPLD resource of waste.
Summary of the invention
Main purpose of the present invention realizes the method and apparatus that display mode switches for a kind of low-frequency clock that utilizes is provided, and utilizes less EPLD resource to carry out the switching of display mode.
The present invention proposes a kind of low-frequency clock that utilizes and realizes the method that display mode switches, and comprises step:
The physical chip output low frequency clock signal of communication equipment is to the programmable logic device EPLD of described communication equipment;
When needs switched display mode, described EPLD carried out timing by the low-frequency clock signal of described physical chip output;
When described timing reaches Preset Time value TIME1, notify the processor of described communication equipment to switch display mode.
Preferably, described when timing reaches Preset Time value TIME1, the processor of notifying communication equipment switches after the display mode, also comprises:
When described timing surpasses described TIME1,, notify described processor to switch display mode every Preset Time value TIME2.
Preferably, described when timing reaches Preset Time value TIME1, the processor of notifying communication equipment switches display mode and comprises:
When described timing reached TIME1, described EPLD reported described processor once to interrupt.
Preferably, the low-frequency clock signal that described EPLD exports by physical chip carries out also comprising before the timing:
Whether described EPLD detects display mode needs to switch.
Preferably, whether described EPLD detection switching key is pressed and is specially:
Whether described EPLD needs to switch by the low-frequency clock signal rim detection display mode of described physical chip output.
The present invention also proposes a kind of low-frequency clock that utilizes and realizes the display mode device for switching, is connected with the processor of communication equipment, comprises programmable logic device EPLD and physical chip, wherein,
Described physical chip is used for the output low frequency clock signal to described EPLD;
Described EPLD comprises timing unit, be used for when needs switch display mode, the low-frequency clock signal of exporting by described physical chip carries out timing, first switch unit, be used for when described timing reaches Preset Time value TIME1, notify described processor to switch display mode.
Preferably, described EPLD also comprises second switch unit, is used for when described timing surpasses described TIME1, every Preset Time value TIME2, notifies described processor to switch display mode.
Preferably, described first switch unit specifically is used for reporting described processor once to interrupt when described timing reaches Preset Time value TIME1.
Preferably, described EPLD also comprises detecting unit, and whether be used to detect display mode needs to switch.
Preferably, whether described detecting unit specifically is used for needing to switch by the low-frequency clock signal rim detection display mode of described physical chip output.
The low-frequency clock that utilizes that the present invention proposes is realized the method and apparatus that display mode switches, the pin of physical chip is configured makes physical chip output low frequency signal, EPLD utilizes the low frequency signal of physical chip output that the time span that the user presses switching key is carried out timing, finishes the switching of display mode with less EPLD resource.
Description of drawings
Fig. 1 realizes the schematic flow sheet of method one embodiment that display mode switches for the present invention utilizes low-frequency clock;
Fig. 2 realizes the schematic flow sheet of the another embodiment of method that display mode switches for the present invention utilizes low-frequency clock;
Fig. 3 realizes the structural representation of display mode device for switching one embodiment for the present invention utilizes low-frequency clock;
Fig. 4 realizes the structural representation of the EPLD of display mode device for switching one embodiment for the present invention utilizes low-frequency clock.
The realization of the object of the invention, functional characteristics and advantage will be in conjunction with the embodiments, are described further with reference to accompanying drawing.
Embodiment
The low-frequency clock that utilizes that the present invention proposes is realized the method and apparatus that display mode switches, the pin of physical chip is configured makes physical chip output low frequency signal, EPLD utilizes the low frequency signal of physical chip output that the time span that the user presses switching key is carried out timing, finishes the switching of display mode with less EPLD resource.
With reference to Fig. 1, propose the present invention and utilize low-frequency clock to realize method one embodiment that display mode switches, comprising:
Step 101, the physical chip output low frequency clock signal of communication equipment is to the EPLD of communication equipment;
Step 102, when needs switched display mode, EPLD carried out timing by the low-frequency clock signal of physical chip output;
Step 103, when timing reached Preset Time value TIME1, the processor of notifying communication equipment switched display mode.
Step 103 is specially:
When timing reached Preset Time value TIME1, EPLD reported processor once to interrupt.
With reference to Fig. 2, propose the present invention and utilize low-frequency clock to realize the another embodiment of method that display mode switches, in the above-described embodiments, after the step 103, also comprise:
Step 104, when timing surpassed TIME1, every Preset Time value TIME2, notification processor switched display mode;
Also comprise before the step 102:
Step 1011, whether EPLD detects display mode needs to switch.
Step 1011 is specially:
Whether EPLD needs to switch by the low-frequency clock signal rim detection display mode of physical chip output.
Describe the operation principle that low-frequency clock of the present invention is realized the method embodiment that display mode switches below in detail.
After the communication equipment operate as normal, processor configures physical layer chip internal register, an indicator light holding wire output low frequency clock signal that makes physical chip is to EPLD;
Whether whether EPLD detects display mode needs to switch, can be switching key in the present embodiment and be pressed;
When switching key is pressed, the time span that EPLD utilizes low-frequency clock signal timing switching key to be pressed;
Reach default time value TIME1 if switching key is pressed, EPLD reports once to processor and interrupts, and by the mode switch of processor processing indicator light;
EPLD continues the time span of utilizing low-frequency clock signal timing switching key to be pressed;
Surpass default time value TIME1 if switching key is pressed, then every default time value TIME2, EPLD reports once to processor and interrupts, and by the mode switch of processor processing indicator light, TIME2 can greater than, be equal to or less than TIME1;
Whenever, as long as switching key is in the state that unclamps, whether flow process turns back to EPLD detection switching key and is pressed.
The low-frequency clock that utilizes that the present invention proposes is realized the method that display mode switches, the pin of physical chip is configured makes physical chip output low frequency signal, EPLD utilizes the low frequency signal of physical chip output that the time span that the user presses switching key is carried out timing, finishes the switching of display mode with less EPLD resource.
With reference to Fig. 3, propose the present invention and utilize low-frequency clock to realize display mode device for switching 40 1 embodiment, be connected with the processor 10 of communication equipment, comprise EPLD30 and physical chip 20, wherein,
Physical chip 20 is used for the output low frequency clock signal to EPLD30;
With reference to Fig. 4, EPLD30 comprises timing unit 32, is used for when needs switch display mode, low-frequency clock signal by physical chip 20 outputs carries out timing, first switch unit 33 is used for when timing reaches Preset Time value TIME1, and notification processor 10 switches display mode.
First switch unit 33 specifically is used for when timing reaches Preset Time value TIME1, reports processor 10 once to interrupt.
Other proposes the present invention and utilizes low-frequency clock to realize display mode device for switching 40 1 embodiment, and in the above-described embodiments, EPLD30 also comprises:
Second switch unit 34 is used for when timing surpasses TIME1, every Preset Time value TIME2, notifies described processor 10 to switch display mode;
Detecting unit 31, whether be used to detect display mode needs to switch;
Whether detecting unit 31 specifically is used for needing to switch by the low-frequency clock signal rim detection display mode of physical chip 20 outputs.
Describing the present invention below in detail utilizes low-frequency clock to realize the operation principle of display mode device for switching 40 embodiment.
After the communication equipment operate as normal, processor 10 configures physical layer chip 20 internal registers, an indicator light holding wire output low frequency clock signal that makes physical chip 20 is to EPLD30;
Whether whether the detecting unit 31 of EPLD30 detects display mode and switches, can be switching key in the present embodiment and be pressed;
When switching key is pressed, the time span that timing unit 32 utilizes low-frequency clock signal timing switching key to be pressed;
Reach default time value TIME1 if switching key is pressed, first switch unit 33 reports once interruption for processor 10, and is handled the mode switch of indicator lights by processor 10;
Timing unit 32 continues the time span of utilizing low-frequency clock signal timing switching key to be pressed;
If being pressed, switching key surpasses default time value TIME1, then every default time value TIME2, second switch unit 34 reports once for processor 10 to interrupt, and handles the mode switch of indicator lights by processor 10, TIME2 can greater than, be equal to or less than TIME1;
Whenever, as long as switching key is in the state that unclamps, timing unit 32 restarts timing.
The low-frequency clock that utilizes that the present invention proposes is realized display mode device for switching 40, the pin of physical chip 20 is configured makes physical chip 20 output low frequency signals, EPLD30 utilizes the low frequency signal of physical chip 20 outputs that the time span that the user presses switching key is carried out timing, finishes the switching of display mode with less EPLD30 resource.
The above only is the preferred embodiments of the present invention; be not so limit claim of the present invention; every equivalent structure or equivalent flow process conversion that utilizes specification of the present invention and accompanying drawing content to be done; or directly or indirectly be used in other relevant technical fields, all in like manner be included in the scope of patent protection of the present invention.

Claims (10)

1. one kind is utilized low-frequency clock to realize the method that display mode switches, and it is characterized in that, comprises step:
The physical chip output low frequency clock signal of communication equipment is to the programmable logic device EPLD of described communication equipment;
When needs switched display mode, described EPLD carried out timing by the low-frequency clock signal of described physical chip output;
When described timing reaches Preset Time value TIME1, notify the processor of described communication equipment to switch display mode.
2. the low-frequency clock that utilizes as claimed in claim 1 is realized the method that display mode switches, and it is characterized in that, described when timing reaches Preset Time value TIME1, the processor of notifying communication equipment switches after the display mode, also comprises:
When described timing surpasses described TIME1,, notify described processor to switch display mode every Preset Time value TIME2.
3. the low-frequency clock that utilizes as claimed in claim 1 or 2 is realized the method that display mode switches, and it is characterized in that, and is described when timing reaches Preset Time value TIME1, and the processor of notifying communication equipment switches display mode and comprises:
When described timing reached TIME1, described EPLD reported described processor once to interrupt.
4. the low-frequency clock that utilizes as claimed in claim 1 or 2 is realized the method that display mode switches, and it is characterized in that, the low-frequency clock signal that described EPLD exports by physical chip carries out also comprising before the timing:
Whether described EPLD detects display mode needs to switch.
5. the low-frequency clock that utilizes as claimed in claim 4 is realized the method that display mode switches, and it is characterized in that, whether described EPLD detection switching key is pressed and be specially:
Whether described EPLD needs to switch by the low-frequency clock signal rim detection display mode of described physical chip output.
6. one kind is utilized low-frequency clock to realize the display mode device for switching, is connected with the processor of communication equipment, it is characterized in that, comprises programmable logic device EPLD and physical chip, wherein,
Described physical chip is used for the output low frequency clock signal to described EPLD;
Described EPLD comprises timing unit, is used for when needs switch display mode, and the low-frequency clock signal of exporting by described physical chip carries out timing; First switch unit is used for when described timing reaches Preset Time value TIME1, notifies described processor to switch display mode.
7. the low-frequency clock that utilizes as claimed in claim 6 is realized the display mode device for switching, it is characterized in that described EPLD also comprises second switch unit, be used for when described timing surpasses described TIME1, every Preset Time value TIME2, notify described processor to switch display mode.
8. realize the display mode device for switching as claim 6 or the 7 described low-frequency clocks that utilize, it is characterized in that described first switch unit specifically is used for reporting described processor once to interrupt when described timing reaches Preset Time value TIME1.
9. whether realize the display mode device for switching as claim 6 or the 7 described low-frequency clocks that utilize, it is characterized in that described EPLD also comprises detecting unit, being used to detect display mode needs to switch.
10. the low-frequency clock that utilizes as claimed in claim 9 is realized the display mode device for switching, it is characterized in that, whether described detecting unit specifically is used for needing to switch by the low-frequency clock signal rim detection display mode of described physical chip output.
CN2010102075822A 2010-06-22 2010-06-22 Method and device for implementing display mode switching by low-frequency clock Pending CN101888299A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN2010102075822A CN101888299A (en) 2010-06-22 2010-06-22 Method and device for implementing display mode switching by low-frequency clock
PCT/CN2011/071175 WO2011160461A1 (en) 2010-06-22 2011-02-22 Method and device for switching display mode by using low-frequency clock

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010102075822A CN101888299A (en) 2010-06-22 2010-06-22 Method and device for implementing display mode switching by low-frequency clock

Publications (1)

Publication Number Publication Date
CN101888299A true CN101888299A (en) 2010-11-17

Family

ID=43074034

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010102075822A Pending CN101888299A (en) 2010-06-22 2010-06-22 Method and device for implementing display mode switching by low-frequency clock

Country Status (2)

Country Link
CN (1) CN101888299A (en)
WO (1) WO2011160461A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011160461A1 (en) * 2010-06-22 2011-12-29 中兴通讯股份有限公司 Method and device for switching display mode by using low-frequency clock
CN105786421A (en) * 2014-12-25 2016-07-20 中兴通讯股份有限公司 Server display method and device
CN111443628A (en) * 2020-04-01 2020-07-24 沈阳天眼智云信息科技有限公司 Operation and test dual-mode automatic switching method for intelligent monitoring terminal and intelligent monitoring terminal

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050091551A1 (en) * 2003-10-24 2005-04-28 Tien-Hsin Chang Operation mode switching method and apparatus for ensuring ultra low power consumption
CN1642010A (en) * 2004-01-01 2005-07-20 华为技术有限公司 Clock-locked frequency deviation detecting device
CN1725629A (en) * 2005-03-22 2006-01-25 杭州华为三康技术有限公司 Low frequency clock signal generating method and low frequency cloc ksignal generator
US20060120296A1 (en) * 2004-12-02 2006-06-08 Goh Ban H Auto mode detection for a switch
CN101132489A (en) * 2006-08-19 2008-02-27 乐金电子(沈阳)有限公司 Channel switching mechanism and method thereof
CN101262364A (en) * 2008-02-28 2008-09-10 福建星网锐捷网络有限公司 A device status and information display method and device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101888299A (en) * 2010-06-22 2010-11-17 中兴通讯股份有限公司 Method and device for implementing display mode switching by low-frequency clock

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050091551A1 (en) * 2003-10-24 2005-04-28 Tien-Hsin Chang Operation mode switching method and apparatus for ensuring ultra low power consumption
CN1642010A (en) * 2004-01-01 2005-07-20 华为技术有限公司 Clock-locked frequency deviation detecting device
US20060120296A1 (en) * 2004-12-02 2006-06-08 Goh Ban H Auto mode detection for a switch
CN1725629A (en) * 2005-03-22 2006-01-25 杭州华为三康技术有限公司 Low frequency clock signal generating method and low frequency cloc ksignal generator
CN101132489A (en) * 2006-08-19 2008-02-27 乐金电子(沈阳)有限公司 Channel switching mechanism and method thereof
CN101262364A (en) * 2008-02-28 2008-09-10 福建星网锐捷网络有限公司 A device status and information display method and device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011160461A1 (en) * 2010-06-22 2011-12-29 中兴通讯股份有限公司 Method and device for switching display mode by using low-frequency clock
CN105786421A (en) * 2014-12-25 2016-07-20 中兴通讯股份有限公司 Server display method and device
CN105786421B (en) * 2014-12-25 2020-11-03 中兴通讯股份有限公司 Server display method and device
CN111443628A (en) * 2020-04-01 2020-07-24 沈阳天眼智云信息科技有限公司 Operation and test dual-mode automatic switching method for intelligent monitoring terminal and intelligent monitoring terminal

Also Published As

Publication number Publication date
WO2011160461A1 (en) 2011-12-29

Similar Documents

Publication Publication Date Title
WO2012016004A3 (en) Handheld field maintenance tool with improved diagnostics
CN102096649A (en) UART-based sleep wakeup method and device
CN101888299A (en) Method and device for implementing display mode switching by low-frequency clock
CN103176042A (en) Frequency measurement method and device and frequency meter
CN203733234U (en) State detection and acousto-optic alarm device of indicator lights
CN107390090A (en) A kind of circuitry fault detection method and system
US9134852B2 (en) Static elimination method for a touch screen
CN102681739A (en) Static elimination method for touch screen
CN105070025A (en) Wireless torque monitoring system for industrial use
CN105634502A (en) Realization method of key scanning based on state machine
CN205091439U (en) Many outlet relay protection device action contact monitor
CN202433889U (en) Device for serial communication data parity check
CN201821161U (en) Digital distribution network monitoring and managing system and power equipment temperature rise early warning system thereof
CN104345267A (en) Aging and early failure detection method and detection apparatus of solid relay
JP5696292B2 (en) Wireless communication device
CN104637173A (en) Water meter management system based on wireless network
CN201259697Y (en) Intelligent lightning counter capable of communication
CN207976209U (en) Glass automatic wafer-counting counting device based on gravity detection
CN104464262A (en) Method and circuit for controlling remote controller to enter infrared test
CN101764664B (en) PCM signal monitoring device with error detection alarming function and error detection alarming method thereof
CN201134795Y (en) Multi-path invertable counter
CN204347204U (en) Based on handheld POS machine mainboard auto testing instrument
CN103235205B (en) A kind of multi-way switching values signal transition detection and precision timing system
CN103500152A (en) Method and device for switching touch-tone type debugging serial port and data service serial port
CN104655918A (en) Ampere meter

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20101117