CN102541493B - electronic device for adjusting display mode - Google Patents

electronic device for adjusting display mode Download PDF

Info

Publication number
CN102541493B
CN102541493B CN201110033644.7A CN201110033644A CN102541493B CN 102541493 B CN102541493 B CN 102541493B CN 201110033644 A CN201110033644 A CN 201110033644A CN 102541493 B CN102541493 B CN 102541493B
Authority
CN
China
Prior art keywords
memory element
display mode
electronic installation
algorithm code
controller
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.)
Active
Application number
CN201110033644.7A
Other languages
Chinese (zh)
Other versions
CN102541493A (en
Inventor
杨文信
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
IC Plus Corp
Original Assignee
IC Plus 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 IC Plus Corp filed Critical IC Plus Corp
Publication of CN102541493A publication Critical patent/CN102541493A/en
Application granted granted Critical
Publication of CN102541493B publication Critical patent/CN102541493B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Control Of Indicators Other Than Cathode Ray Tubes (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

An electronic device for adjusting a display mode comprises a nonvolatile storage element, a controller and at least one display module. The nonvolatile memory element is used for storing a plurality of operation command codes. The controller is used for reading the operation command code. The controller decodes the operation command code to generate a plurality of operation operations, and accesses at least one memory device built in the network switch device or operates data stored in the memory device according to the operation operations. The display module is used for receiving and carrying out a corresponding display mode according to the data stored in the memory element.

Description

The electronic installation of adjustment display mode
Technical field
The present invention relates to a kind of electronic installation adjusting display mode, particularly relate to and a kind ofly make affiliated display module carry out display operation according to different display modes by programmable mode.
Background technology
In the art, the network switch is often configured with the peripheral modules that some are used for performing non-productive operation.For example, commonly on the network switch light-emitting diode (LED) module is configured with.Above this light-emitting diode (LED) module, there is multiple light emitting diode, be used to refer to the duty of the current network switch of user.
In the mode of operation controlling above-mentioned light-emitting diode (LED) module, prior art often utilizes for the good corresponding hardware of the design of operating modes of pre-set light-emitting diode (LED) module, and utilizes the pin position of integrated circuit to select or the mode of programming setting code select the hardware that will use to drive the operation of light-emitting diode (LED) module execution correspondence.This mode of hardware that utilizes is to carry out light-emitting diode (LED) module driving, and it can support that the operation of light-emitting diode (LED) module is limited, can not need to change in response to user dynamically.If want to support that the operation of much different light-emitting diode (LED) modules then needs a large amount of hardware circuits, increase the burden on cost.
In addition, in the art, also can by the processor of configuration CPU (central processing unit) (CentralProcessing Unit, CPU) grade.And carry out by this processor the programming that light-emitting diode (LED) module carries out display operation.But processor needs expensive price usually, and cost of manufacture is not calculated very much.
Summary of the invention
The invention provides a kind of network-switching equipment, do not need processor, to make display module peripheral modules carry out corresponding operation by the algorithm code read in programmable nonvolatile memory element.
The present invention proposes a kind of electronic installation adjusting display mode, comprises non-volatile memory device, controller and at least one display module.Non-volatile memory device is in order to store multiple algorithm code.Controller couples non-volatile memory device, in order to read algorithm code.Controller algorithm code of decoding to produce multiple arithmetic operation, and carry out accessing or carrying out computing for the data stored by memory element at least one memory element built-in in network-switching equipment according to arithmetic operation.Display module couples memory element, in order to receive and to perform non-productive operation according to the data stored by memory element.
In one embodiment of this invention, above-mentioned each algorithm code comprises instruction field and indication field.The representative that instruction field operates in order to record order is digital.Indication field is in order to record the index address of the memory element of corresponding command operation.
In one embodiment of this invention, above-mentioned each algorithm code also comprises subsidiary field.Subsidiary field is in order to record the auxiliary data of corresponding command operation.
In one embodiment of this invention, above-mentioned memory element comprises at least one register.
In one embodiment of this invention, above-mentioned memory element also comprises at least one impact damper.
In one embodiment of this invention, above-mentioned memory element also comprises at least one mark.
In one embodiment of this invention, above-mentioned display module comprise light-emitting diode (LED) module, LCD MODULE, plasma display module and vacuum fluorescent display module at least one of them.
In one embodiment of this invention, wherein reset signal generator is also comprised.
In one embodiment of this invention, above-mentioned reset signal generator is Watch Dog Timer.
Based on above-mentioned, the present invention utilizes and stores multiple algorithm code at non-volatile memory device.And make the controller in electronic installation read these algorithm codes, and carry out accessing or carrying out computing for the data stored by memory element for memory element built-in in network-switching equipment according to algorithm code.Go forward side by side the data changed stored by memory element, make display module perform corresponding display operation.Thus, the display module of electronic installation, when not needing to utilize processor, can not be performed the operation originally set, and according to the demand of user, can be performed the operation of more diversification by the change of algorithm code.
For making above-mentioned feature and advantage of the present invention become apparent, special embodiment below, and be described with reference to the accompanying drawings as follows.
Accompanying drawing explanation
Fig. 1 illustrates the schematic diagram of the electronic installation 100 of one embodiment of the invention.
Fig. 2 illustrates the embodiment schematic diagram of the algorithm code 200 of the embodiment of the present invention.
Fig. 3 illustrates the operational flowchart of the embodiment of the present invention.
Reference numeral explanation
100: electronic installation
110: non-volatile memory device
120: controller
130: memory element
140: display module
150: reset signal generator
200: algorithm code
210: instruction field
220: indication field
230: subsidiary field
S310 ~ S330: implementation step
Embodiment
The schematic diagram of the electronic installation 100 of the adjustment display mode of one embodiment of the invention is illustrated please also refer to Fig. 1, Fig. 1.Electronic installation 100 comprises non-volatile memory device 110, controller 120 and display module 140.And in the present embodiment, it is be configured in the network switch (not illustrating) as example that electronic installation fills 100.In addition, the memory element 130 of at least one is had in the network switch.Wherein, non-volatile memory device 110 couples mutually with controller 120, and non-volatile memory device 110 is used for storing multiple algorithm code.Controller 120 is used for algorithm code stored in reading non-volatile memory element 110.Controller 120 is also decoded the algorithm code read, and uses and produce multiple arithmetic operation.Controller 120 accesses for memory element 130 built-in in the network switch according to the arithmetic operation obtained again, or carries out computing for the data stored by memory element 130.Display module 140 couples memory element 130 to receive the data stored by memory element 130.Display module 140 also operates to the display performing at least one according to the data that the memory element 130 received stores.
Then please refer to Fig. 2 about the algorithm code stored by non-volatile memory device 110, Fig. 2 illustrates the embodiment schematic diagram of the algorithm code 200 of the embodiment of the present invention.Algorithm code 200 comprises instruction field 210, indication field 220 and subsidiary field 230.The representative that instruction field 210 is wherein used to record order operation is digital.In an embodiment of the present invention, the command operation that instruction field 210 records comprise register write operation, impact damper write operation, bit arithmetic operation, data-moving operation, comparing operation, data inspection logic operation, etc. the operation of to be operated, condition judgment, skip operation and end operation etc.Wherein, above-mentioned register and impact damper are all the memory elements 130 belonging to the network switch.
In addition, indication field 220 is used to be recorded in the command operation that the instruction field 210 in the algorithm code 200 belonging to it records, and correspondingly will carry out accessing or the index address of computing memory element.With the command operation of recording when instruction field 210 for register write operation is for example, indication field 220 is used for recording the address will carrying out the register write.And when the command operation that instruction field 210 records is impact damper write operation, indication field 220 is used for recording the address will carrying out the register stored by data of the impact damper write.
Subsidiary field 230 is used to record the auxiliary data to the command operation corresponding to the algorithm code 200 belonging to it.Same take command operation as register write operation with or impact damper write operation for example, subsidiary field 230 records will be written into the data of register or impact damper.Certainly, subsidiary field 230 is not limited in for record data, and when command operation is skip operation, subsidiary field 230 can be used for recording the address of non-volatile memory device that will skip to.In addition, when command operation be comparing operation or bit arithmetic operation time, subsidiary field 230 can be used for recording will compare with impact damper or register or the data of bit arithmetic.
In addition, when command operation is comparing operation, the result after comparison can be presented by marking.And mark the one belonged to too in the memory element 130 of the network switch.
Subsidiary one carries, and the figure place of the instruction field 210 in algorithm code 200, indication field 220 and subsidiary field 230 can design according to demand.For example, instruction field 210 and indication field 220 can have 8 respectively, and subsidiary field 230 then can have 16.That is, single algorithm code 200 has 32.Certainly, the figure place of above-mentioned each field is only an example, not in order to limit the present invention.
Please again with reference to Fig. 1, display module 140 comprises warning cresset and/or reset signal generator.Wherein, a kind of embodiment warning cresset is exactly light-emitting diode (LED) module.Electronic installation 100 can by being such as that the display module 140 of light-emitting diode (LED) module construction shows its duty.And when user wants to make light-emitting diode (LED) module carry out warning operation according to demand at that time, can by storing corresponding algorithm code in non-volatile memory device 110, and read by controller 120, decode and perform these algorithm codes, make the corresponding register of light-emitting diode (LED) module that drives store corresponding data.And the data that light-emitting diode (LED) module also can store according to these registers perform warning operation.
Certainly, display module 140 is not limited to utilize light-emitting diode (LED) module to carry out construction, the one or more combinations in LCD MODULE, plasma display module and vacuum fluorescent display module also can be utilized to carry out construction and form.
On the other hand, electronic installation 100 also comprises reset signal generator 150, and this reset signal generator 150 can by as Watch Dog Timer.In simple terms, determine whether to need to reset the network switch by the network connection state read in the network switch exactly.Once the network switch needs to be reset, then suitable data inserted by the register sending reset signal for correspondence, the operation sending out reset signal to make reset signal generator 150 and reset the network switch.
Be illustrated proposing an actual enforcement example for embodiments of the invention below, the present invention can be understood easily to make those skilled in the art and tool to implement.
First please refer to table 1, the algorithm code list of the embodiment of the present invention listed by table 1:
table 1:
Simultaneously with reference to Fig. 1, according to above-mentioned table 1, when controlling for the light-emitting diode (LED) module of electronic installation 100, then the algorithm code as following table 2 can be inserted in non-volatile memory device 110:
table 2:
The address of non-volatile memory device 110 Algorithm code
0 {0x18,0xAB,0x0000}
1 {0x40,0x00,0x0001}
2 {0x60,0x10,0x0000}
3 {0x80,0x00,0x0007}
4 {0x19,0xAC,0x0000}
5 {0x09,0xB0,0x0000}
6 {0x90,0x00,0x0008}
7 {0x00,0xB0,0x0000}
8 {0x70,0x00,0x0064}
9 {0x90,0x00,0x0000}
First, algorithm code { 0x18,0xAB, the 0x0000} of controller 120 reading non-volatile memory element 110 address 0.Controller 120 is decoded algorithm code { 0x18,0xAB, 0x0000} can learn will by the connection status at the transmission port of the register read network switch of address 0xAB, and this state (data of the register of address 0xAB) is write in impact damper 0, wherein, the register of address 0xAB is defined as the network state register of the network switch in the present embodiment.Then, the algorithm code of controller 120 decode address 1 0x40,0x00,0x0001}, and the data in impact damper 0 are compared with 0x0001 (whether both equal), comparative result then presents by mark 0.
The decoding algorithm code { 0x60 of controller 120 address 2,0x10,0x0000}, the state of check mark 0, then the algorithm code { 0x80 of controller 120 decode address 3,0x00,0x0007}, and jump perform the algorithm code of non-volatile memory device 110 address 7 or continue to perform the algorithm code of non-volatile memory device 110 address 4 ~ 6 according to the state of mark 0.If when the state according to mark 0 must continue the algorithm code performing non-volatile memory device 110 address 4 ~ 6, algorithm code { the 0x19 of controller 120 then decode address 4,0xAC, 0x0000}, and read the data of the register (operator scheme register) of address 0xAC, and it is stored in impact damper 1, wherein, the register of address 0xAC is defined as the mode of operation register of the network switch in the present embodiment.Then, algorithm code { the 0x09 of controller 120 decode address 5,0xB0, it is in the register (light-emitting diode (LED) module output register) of 0xB0 that 0x0000} performs slow data to the address filling storage in device 1, and use make light-emitting diode (LED) module perform warning operation, wherein, the register of address 0xB0 is defined as the output register of the light-emitting diode (LED) module of the network switch in the present embodiment.Then, algorithm code { 0x90,0x00, the 0x0008}, and jump the algorithm code performing non-volatile memory device 110 address 8 according to this of controller 120 then decode address 6.
If the state of controller 120 check mark 0, and jump is to perform the algorithm code of non-volatile memory device 110 address 7, and { when 0x00,0xB0,0x0000}, data 0x0000 is write light-emitting diode (LED) module output register by controller 120.
And at the algorithm code { 0x70 of controller 120 decode address 8,0x00, after 0x0064}, controller 120 performs the operation of wait 100 milliseconds (ms), and after completing wait, algorithm code { 0x90, the 0x00 of controller 120 decode address 9,0x0000}, and rebound re-executes the algorithm code of non-volatile memory device 110 address 0.To carry out being operating as example for the reset signal generator 150 of electronic installation 100 to work as again, then can insert the algorithm code as following table 3 in non-volatile memory device 110:
Table 3:
The address of non-volatile memory device 110 Algorithm code
0 {0x18,0xE0,0x0000}
1 {0x19,0xE1,0x0001}
2 {0x42,0x41,0x0000}
3 {0x60,0x20,0x0000}
4 {0x80,0x00,0x0006}
5 {0x00,0xF0,0x0001}
6 {0x90,0x00,0x0000}
Identical, first, algorithm code { the 0x18 of controller 120 reading non-volatile memory element 110 address 0,0xE0,0x0000}, and read the data of the register of address 0xE0 according to this and write impact damper 0, wherein, the register of address 0xE0 is defined as the statistic registers of the storer use amount of network switch inside in the present embodiment.And, algorithm code { the 0x19 of controller 120 reading non-volatile memory element 110 address 1,0xE1,0x0001}, and read the data of the register of address 0xE1 according to this and write impact damper 1, wherein, the register of address 0xE1 is defined as the storer overflow amount register of network switch inside in the present embodiment.Then, the algorithm code of controller 120 reading non-volatile memory element 110 address 2 0x42,0x41,0x0000}, and whether the data comparing impact damper 1 are according to this greater than the data of impact damper 0, and comparative result stored in mark 1.Following again, algorithm code { 0x60,0x20, the 0x0000}, and the state of judge mark 1 of controller 120 reading non-volatile memory element 110 address 3.Algorithm code { the 0x80 of controller 120 reading non-volatile memory element 110 address 4,0x00,0x0006}, performs the algorithm code of the address 5 or 6 of the non-volatile memory device 110 that will perform according to the following controller 120 of condition selecting marking 1.If { 0x00,0xF0,0x0001}, the data of controller 120 write of the register for address 0xF0 0x0001 are to start reset signal for the algorithm code of the address 5 of the non-volatile memory device 110 that controller 120 will perform.If the algorithm code { 0x90 of the address 6 of the non-volatile memory device 110 that controller 120 will perform, 0x00,0x0000}, the address 0 of controller 120 rebound non-volatile memory devices 110 is to re-execute the algorithm code of non-volatile memory device 110 address 0.
Subsidiary one carries, and the register address mentioned in above-mentioned explanation and the function corresponding to it be only an example, not in order to limit the adaptable register address of the present invention.That is, deviser can set the address of the register of various difference in functionality for the demand of its reality, can implement the present invention equally.
Below please refer to Fig. 3, Fig. 3 illustrates the operational flowchart of the embodiment of the present invention.First, the algorithm code (S310) stored in reading non-volatile storage.Then, carry out decoding to produce arithmetic operation for read algorithm code, then carry out accessing or carrying out computing (S320) for the data stored by memory element for memory element built-in in the network switch according to arithmetic operation.Finally, judge whether that algorithm codes all in nonvolatile memory has been performed complete all, if not, then get back in step S310 to read next algorithm code.If so, the operation of the present embodiment is then terminated.
Subsidiary one carries, and electronic installation is carrying out repeatedly of can going round and beginning again for the operation of reading and decoding that nonvolatile memory carries out algorithm code, is not limited to can only perform once.
In sum, the present invention utilizes in the nonvolatile memory, stores multiple algorithm code.And by the controller in electronic installation to read these algorithm codes, and sequentially decode and access or computing according to the memory element of result to the network switch of decoding.And control the operation of display module by this.Thus, by dynamically changing the algorithm code in nonvolatile memory, dynamically can change the display mode of display module, increasing its changeability.Further, the present invention does not need to utilize CPU (central processing unit) to carry out, and only needs to utilize simple hardware circuit just can implement, and significantly reduces costs and the competitive power of improving product.
Although the present invention discloses as above with embodiment; so itself and be not used to limit the present invention, those skilled in the art, under the premise without departing from the spirit and scope of the present invention; can do some changes and retouching, therefore protection scope of the present invention is as the criterion with claim of the present invention.

Claims (9)

1. adjust an electronic installation for display mode, be applicable to a network switch and comprise:
One non-volatile memory device, in order to store multiple algorithm code;
One controller, couple this non-volatile memory device, in order to read described multiple algorithm code, and the described multiple algorithm code of this controller decoding is to produce multiple arithmetic operation, and carry out accessing or carrying out computing for the data stored by this at least one memory element at least one memory element built-in in this network switch according to described multiple arithmetic operation, wherein said multiple algorithm code each comprise:
One instruction field, digital in order to the representative of recording a command operation; And
One indication field, in order to record to should the index address of this at least one memory element of command operation; And
At least one display module, couples these memory elements, receives and carries out at least one display operation according to the data stored by this at least one memory element.
2. the electronic installation of adjustment display mode as claimed in claim 1, wherein respectively this algorithm code also comprises:
One subsidiary field, in order to record to should the auxiliary data of command operation.
3. the electronic installation of adjustment display mode as claimed in claim 1, wherein this at least one memory element comprises at least one register.
4. the electronic installation of adjustment display mode as claimed in claim 3, wherein this at least one memory element also comprises at least one impact damper.
5. the electronic installation of adjustment display mode as claimed in claim 1, wherein this at least one memory element comprises at least one impact damper.
6. the electronic installation of adjustment display mode as claimed in claim 5, wherein this at least one memory element also comprises a status register in memory element impact damper 0.
7. the electronic installation of adjustment display mode as claimed in claim 1, wherein this at least one display module comprise light-emitting diode (LED) module, LCD MODULE, plasma display module and vacuum fluorescent display module at least one of them.
8. the electronic installation of adjustment display mode as claimed in claim 1, wherein also comprises:
One reset signal generator.
9. the electronic installation of adjustment display mode as claimed in claim 8, wherein this reset signal generator is Watch Dog Timer.
CN201110033644.7A 2010-12-09 2011-01-31 electronic device for adjusting display mode Active CN102541493B (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
TW99143082A TWI445351B (en) 2010-12-09 2010-12-09 Electrical apparatus for tuning display style
TW099143082 2010-12-09

Publications (2)

Publication Number Publication Date
CN102541493A CN102541493A (en) 2012-07-04
CN102541493B true CN102541493B (en) 2015-01-21

Family

ID=46348475

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110033644.7A Active CN102541493B (en) 2010-12-09 2011-01-31 electronic device for adjusting display mode

Country Status (2)

Country Link
CN (1) CN102541493B (en)
TW (1) TWI445351B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1725704A (en) * 2005-04-20 2006-01-25 杭州华为三康技术有限公司 Display system and method for status information of data equipment
CN101163016A (en) * 2006-10-11 2008-04-16 鸿富锦精密工业(深圳)有限公司 Network condition indicating circuit
CN101291286A (en) * 2008-06-11 2008-10-22 中兴通讯股份有限公司 Ethernet switch with meaning of status lamp switchable
CN201323591Y (en) * 2008-10-14 2009-10-07 西安飞讯光电有限公司 Three-layer plastic optical fiber Ethernet switch
CN101552680A (en) * 2009-04-24 2009-10-07 中兴通讯股份有限公司 Method and device for indicating the port state of the network appliance
US7786890B2 (en) * 2007-11-09 2010-08-31 Hon Hai Precision Industry Co., Ltd. Network status indicating circuit

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1725704A (en) * 2005-04-20 2006-01-25 杭州华为三康技术有限公司 Display system and method for status information of data equipment
CN101163016A (en) * 2006-10-11 2008-04-16 鸿富锦精密工业(深圳)有限公司 Network condition indicating circuit
US7786890B2 (en) * 2007-11-09 2010-08-31 Hon Hai Precision Industry Co., Ltd. Network status indicating circuit
CN101291286A (en) * 2008-06-11 2008-10-22 中兴通讯股份有限公司 Ethernet switch with meaning of status lamp switchable
CN201323591Y (en) * 2008-10-14 2009-10-07 西安飞讯光电有限公司 Three-layer plastic optical fiber Ethernet switch
CN101552680A (en) * 2009-04-24 2009-10-07 中兴通讯股份有限公司 Method and device for indicating the port state of the network appliance

Also Published As

Publication number Publication date
CN102541493A (en) 2012-07-04
TWI445351B (en) 2014-07-11
TW201225576A (en) 2012-06-16

Similar Documents

Publication Publication Date Title
CN101562043B (en) Nonvolatile memory, system and method for encoding data to be written into the nonvolatile memory
CN100578660C (en) Robust and high-speed memory access with adaptive interface timing
US20050120250A1 (en) Peripheral device and its control method its main body device and its control method and its program
CN101276637A (en) Register read mechanism
CN101494086B (en) Memory device, controller and switching method for flash memory
CN101727983A (en) Memory device and program method thereof
CN102349111A (en) Enhanced addressability for serial non-volatile memory
CN109992525A (en) Flash memory control
CN103021460A (en) Setting data storage for semiconductor devices including memory devices and systems
CN102541493B (en) electronic device for adjusting display mode
US20070156930A1 (en) Method for controlling data transmission and related device
US20040139241A1 (en) Input/output device and method of setting up identification information in input/output device
WO2016139811A1 (en) Installation operation terminal, information processing terminal, and installation management system
CN101593556B (en) Method of programming non-volatile memory device
CN100533424C (en) Single line transmission interface and single byte operational keyboard display module
CN102800357A (en) Program code loading and accessing methods, memory controller and storage device of memory
CN101471792A (en) Modularized server and management method for processor die set and MAC address
US20130154798A1 (en) Electronic device and display method
CN102968168A (en) Method for enabling wire clip, management board and wire clip
JP2003322390A (en) Electric appliance and method of manufacturing the same
CN102882261A (en) charging system, digital interface circuit and control method thereof
CN102122269B (en) Writing timeout control method of flash memory and memory device thereof
CN101989459B (en) Method for improving service life of electrically erasable programmable read-only memory (EEPROM) by data buffering
CN101673578B (en) Semiconductor memory device and word line driving method thereof
CN102467456A (en) Memory, repairing method thereof, data processing device and driving method for data processing device

Legal Events

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