CN102541493A - Electronic device for adjusting display mode - Google Patents

Electronic device for adjusting display mode Download PDF

Info

Publication number
CN102541493A
CN102541493A CN2011100336447A CN201110033644A CN102541493A CN 102541493 A CN102541493 A CN 102541493A CN 2011100336447 A CN2011100336447 A CN 2011100336447A CN 201110033644 A CN201110033644 A CN 201110033644A CN 102541493 A CN102541493 A CN 102541493A
Authority
CN
China
Prior art keywords
display mode
electronic installation
memory element
computing
command code
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.)
Granted
Application number
CN2011100336447A
Other languages
Chinese (zh)
Other versions
CN102541493B (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

Images

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 of adjusting display mode, particularly relate to and a kind ofly carry out display operation according to different display modes through the display module of programmable mode under making.
Background technology
In the prior art field, often dispose the peripheral modules that some are used for carrying out non-productive operation on the network switch.For instance, the common light-emitting diode (LED) module that disposes on the network switch.This has a plurality of light emitting diodes above light-emitting diode (LED) module, be used for indicating the duty of the present network switch of user.
On the mode of operation of the above-mentioned light-emitting diode (LED) module of control; The normal good corresponding hardware of design of operating modes that utilizes to pre-set light-emitting diode (LED) module of prior art, and utilize that the pin position of IC is selected or the mode that sign indicating number is set in programming select the hardware that will use with the operation of driven for emitting lights diode (led) module execution correspondence.This hardware mode of utilizing is carried out the light-emitting diode (LED) module driving, and it can support that the operation of light-emitting diode (LED) module is limited, can not need change in response to the 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 the cost.
In addition, in the prior art field, also can be through configuration CPU (CentralProcessing Unit, CPU) processor of grade.And carry out the programming that light-emitting diode (LED) module carries out display operation by this processor.Yet processor needs expensive price usually, on cost of manufacture, does not calculate very much.
Summary of the invention
The present invention provides a kind of network-switching equipment, does not need processor, to make the display module peripheral modules carry out corresponding operation through the computing command code that reads in the programmable nonvolatile memory element.
The present invention proposes a kind of electronic installation of adjusting display mode, comprises non-volatile memory device, controller and at least one display module.Non-volatile memory device is in order to store a plurality of computing command codes.Controller couples non-volatile memory device, in order to read the computing command code.Controller and decoding operation command code to be producing a plurality of arithmetic operations, and come to carry out access or carry out computing to the stored data of memory element at least one memory element of building in the network-switching equipment according to arithmetic operation.Display module couples memory element, in order to receive and to carry out non-productive operation according to the stored data of memory element.
In one embodiment of this invention, each above-mentioned computing command code comprises instruction field and indication field.Instruction field is digital in order to the representative of record order operation.Indication field is in order to the index address of the memory element that writes down corresponding command operation.
In one embodiment of this invention, each above-mentioned computing command code also comprises subsidiary field.Subsidiary field is in order to write down 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 also comprise the reset signal generator.
In one embodiment of this invention, above-mentioned reset signal generator is a Watch Dog Timer.
Based on above-mentioned, the present invention is utilized in non-volatile memory device and stores a plurality of computing command codes.And make the controller in the electronic installation read these computing command codes, and the memory element of building in being directed against in the network-switching equipment according to the computing command code carries out access or carries out computing to the stored data of memory element.Go forward side by side to change the stored data of memory element, make display module carry out corresponding display operation.Thus, the display module of electronic installation can not carried out the operation that originally configured, and can carry out the operation of more diversification through the change of computing command code according to user's demand not utilizing under the situation of processor.
For making the above-mentioned feature and advantage of the present invention can be more obviously understandable, hereinafter is special lifts embodiment, and is described with reference to the accompanying drawings as follows.
Description of drawings
Fig. 1 illustrates the synoptic diagram of the electronic installation 100 of one embodiment of the invention.
Fig. 2 illustrates the embodiment synoptic diagram of the computing command code 200 of the embodiment of the invention.
Fig. 3 illustrates the operational flowchart of the embodiment of the invention.
The reference numeral explanation
100: electronic installation
110: non-volatile memory device
120: controller
130: memory element
140: display module
150: the reset signal generator
200: the computing command code
210: instruction field
220: indication field
230: subsidiary field
S310~S330: implementation step
Embodiment
Please earlier with reference to Fig. 1, Fig. 1 illustrates the synoptic diagram of electronic installation 100 of the adjustment display mode of one embodiment of the invention.Electronic installation 100 comprises non-volatile memory device 110, controller 120 and display module 140.And in the present embodiment, it is to be example to be configured in the network switch (not illustrating) that electronic installation adorns 100.In addition, have the memory element 130 of at least one in the network switch.Wherein, non-volatile memory device 110 couples with controller 120 mutually, and non-volatile memory device 110 is used for storing a plurality of computing command codes.120 of controllers are used for stored computing command code in the reading non-volatile memory element 110.The computing command code that controller 120 and decoding are read, and use a plurality of arithmetic operations of generation.The memory element 130 that controller 120 is built in being directed against in the network switch according to the arithmetic operation that is obtained again carries out access, or carries out computing to memory element 130 stored data.140 of display modules couple memory element 130 to receive the stored data of memory element 130.The data that the memory element 130 that display module 140 and foundation are received stores are carried out at least a display operation.
Then please with reference to Fig. 2, Fig. 2 illustrates the embodiment synoptic diagram of the computing command code 200 of the embodiment of the invention about the stored computing command code of non-volatile memory device 110.Computing command code 200 comprises instruction field 210, indication field 220 and subsidiary field 230.Instruction field 210 wherein is that to be used for the representative of record order operation digital.In an embodiment of the present invention, the command operation that instruction field 210 write down comprises that register writes operation, impact damper write operation, bit arithmetic operation, data-moving operation, data comparison operation, data inspection logic operation, waits for operation, condition judgment operation, skip operation and end operation etc.Wherein, above-mentioned register and impact damper all are the memory elements 130 that belongs to the network switch.
In addition, 220 of indication field are the command operations that the instruction field 210 in the computing command code 200 that is used for being recorded under it is write down, and institute's correspondence will be carried out the index address of access exclusive disjunction memory element.With the command operation of being write down when instruction field 210 is that register writes and is operating as example, 220 of indication field be used for writing down the address of the register that will write.And the command operation of being write down when instruction field 210 is when being the impact damper write operation, 220 of indication field be used for writing down the address of the stored register of the data of the impact damper that will write.
230 of subsidiary fields are to be used for writing down the auxiliary data to the computing command code 200 pairing command operations under it.With the command operation be equally register write operation with or the impact damper write operation be example, 230 records of subsidiary field will be written into the data of register or impact damper.Certainly, subsidiary field 230 is not limited in and is used for record data, when command operation is skip operation, 230 of subsidiary fields can be used for writing down the address of the non-volatile memory device that will skip to.In addition, when command operation was data comparison operation or bit arithmetic operation, 230 of subsidiary fields can be used for writing down will compare with impact damper or register or the data of bit arithmetic.
In addition, when command operation is data comparison operation, can the result after the comparison be appeared by mark.And mark belongs to a kind of in the memory element 130 of the network switch too.
Subsidiary one what carry is that the figure place of the instruction field 210 in the computing command code 200, indication field 220 and subsidiary field 230 can design according to demand.For instance, instruction field 210 and indication field 220 can have 8 respectively, and subsidiary field 230 then can have 16.That is to say that single computing command code 200 has 32.Certainly, the figure place of above-mentioned each field only is an example, not in order to restriction the present invention.
Please again with reference to Fig. 1, display module 140 comprises caution cresset and/or reset signal generator.Wherein, a kind of embodiment of caution cresset is exactly a light-emitting diode (LED) module.Electronic installation 100 can be through for example being that the display module 140 of light-emitting diode (LED) module construction shows its duty.And when the user wants to make light-emitting diode (LED) module to warn operation according to demand at that time; Can be through in non-volatile memory device 110, storing corresponding computing command code; And read, decode and carry out these computing command codes through controller 120, make the corresponding data of register stores of corresponding driven for emitting lights diode (led) module.And light-emitting diode (LED) module also can be carried out the caution operation according to the data of these register stores.
Certainly, display module 140 is not limited to utilize light-emitting diode (LED) module to come construction, also can utilize the one or more combinations in LCD MODULE, plasma display module and the vacuum fluorescent display module to come construction to form.
On the other hand, electronic installation 100 also comprises reset signal generator 150, and this reset signal generator 150 can be used as Watch Dog Timer.In simple terms, judge the network switch of whether need resetting by the network connection state that reads in the network switch exactly.In case the network switch need be reset, then insert appropriate data, so that reset signal generator 150 sends out the operation that reset signal is reset to the network switch to the corresponding register that sends reset signal.
Those skilled in the art below will explain, so that can understand the present invention and tool easily to implement to the enforcement example that embodiments of the invention propose a reality.
At first please with reference to table 1, table 1 is listed the computing command code tabulation of the embodiment of the invention:
Table 1:
Figure BDA0000046322870000051
With reference to Fig. 1,, in the time will controlling, then can in non-volatile memory device 110, insert computing command code simultaneously like following table 2 to the light-emitting diode (LED) module of electronic installation 100 according to above-mentioned table 1:
Table 2:
The address of non-volatile memory device 110 The computing command 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}
At first, computing command code { 0x18,0xAB, the 0x0000} of controller 120 reading non-volatile memory elements 110 addresses 0.Controller 120 decoding operation command code { 0x18; 0xAB; 0x0000} can learn and will be read the connection status at the transmission port of the network switch by the register of address 0xAB; And with in this state (data of the register of address 0xAB) write buffer 0, wherein, the register of address 0xAB is defined as the network state register of the network switch in the present embodiment.Then, the computing command code of controller 120 decode addresses 1 0x40, and 0x00,0x0001}, and the data in the impact damper 0 are compared (whether both equate) with 0x0001, comparative result is then by appearing in the mark 0.
Decoding operation command code { the 0x60 of controller 120 addresses 2; 0x10,0x0000}, the state of check mark 0; Follow the computing command code { 0x80 of controller 120 decode addresses 3; 0x00,0x0007}, and jump with the computing command code of carrying out non-volatile memory device 110 addresses 7 or the computing command code that continues to carry out non-volatile memory device 110 addresses 4~6 according to the state of mark 0.If in the time of must continuing to carry out the computing command code of non-volatile memory device 110 addresses 4~6 according to the state of mark 0; Controller 120 is computing command code { 0x19,0xAC, the 0x0000} of decode address 4 then; And read the data of the register (operator scheme register) of address 0xAC; And it is stored in the 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; Computing command code { the 0x09 of controller 120 decode addresses 5; 0xB0,0x0000} carry out that slow to fill data to the address that stores in the device 1 be in the register (light-emitting diode (LED) module output register) of 0xB0, and use and make light-emitting diode (LED) module carry out the caution 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, the then computing command code of decode address 6 { 0x90,0x00,0x0008}, and jumping according to this of controller 120 to carry out the computing command code of non-volatile memory device 110 addresses 8.
If the state of controller 120 check marks 0, and jump that { during 0x0000}, controller 120 writes the light-emitting diode (LED) module output register with data 0x0000 for 0x00,0xB0 with the computing command code of carrying out non-volatile memory device 110 addresses 7.
And the computing command code of controller 120 decode addresses 8 0x70,0x00 is behind the 0x0064}; Controller 120 is carried out the operation of waiting for 100 milliseconds (ms); And after accomplishing wait, computing command code { 0x90, the 0x00 of controller 120 decode addresses 9; 0x0000}, and the computing command code of non-volatile memory device 110 addresses 0 is carried out in rebound again.To be operating as example, then can in non-volatile memory device 110, insert computing command code again like following table 3 when the reset signal generator 150 that will be directed against electronic installation 100:
Table 3:
The address of non-volatile memory device 110 The computing command 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; At first, computing command code { 0x18, the 0xE0 of controller 120 reading non-volatile memory elements 110 addresses 0; 0x0000}; And read the data and the write buffer 0 of the register of address 0xE0 according to this, wherein, the register of address 0xE0 is defined as the statistic registers of the inner storer use amount of the network switch in the present embodiment.And; Computing command code { the 0x19 of controller 120 reading non-volatile memory elements 110 addresses 1; 0xE1,0x0001}, and read the data and the write buffer 1 of the register of address 0xE1 according to this; Wherein, the register of address 0xE1 is defined as the inner storer overflow amount register of the network switch in the present embodiment.Then, the computing command code of controller 120 reading non-volatile memory elements 110 addresses 2 0x42,0x41,0x0000}, and according to this relatively the data of impact damper 1 and deposit comparative result in the mark 1 in whether greater than the data of impact damper 0.Again next, computing command code { 0x60,0x20, the 0x0000}, and the state of judge mark 1 of controller 120 reading non-volatile memory elements 110 addresses 3.Computing command code { the 0x80 of controller 120 reading non-volatile memory elements 110 addresses 4; 0x00; 0x0006} carries out according to the state of mark 1 and selects next the address 5 of 120 non-volatile memory devices that will carry out 110 of controller or 6 computing command code.If { 0x0001}, 120 registers to address 0xF0 of controller write the data of 0x0001 to start reset signal to the computing command code of the address 5 of 120 non-volatile memory devices that will carry out 110 of controller for 0x00,0xF0.If the computing command code { 0x90 of the address 6 of 120 non-volatile memory devices that will carry out 110 of controller; 0x00; 0x0000}, the address 0 of 120 rebound non-volatile memory devices 110 of controller is to carry out the computing command code of non-volatile memory device 110 addresses 0 again.
Subsidiary one carries, and the register address function of being mentioned in the above-mentioned explanation pairing with it only is an example, not in order to limit the adaptable register address of the present invention.That is to say that the deviser can set the address of the register of various difference in functionalitys to its actual demand, equally can embodiment of the present invention.
Below please with reference to Fig. 3, Fig. 3 illustrates the operational flowchart of the embodiment of the invention.At first, the computing command code (S310) that stores in the reading non-volatile storage.Then, decode to produce arithmetic operation, come to carry out access or carry out computing (S320) according to arithmetic operation again to the stored data of memory element to the memory element of building in the network switch to the computing command code that is read.At last, judge whether that computing command codes all in the nonvolatile memory all has been performed to finish, if not, then get back among the step S310 to read next computing command code.If then finish the operation of present embodiment.
Subsidiary one carries, and electronic installation is the carrying out repeatedly of can going round and beginning again to the operation of reading and decoding that nonvolatile memory carries out the computing command code, be not limited to and can only carry out once.
In sum, the present invention is utilized in the nonvolatile memory, stores a plurality of computing command codes.And through the controller in the electronic installation reading these computing command codes, and decoding in regular turn and come the memory element of the network switch is carried out the access exclusive disjunction according to decoded results.And control the operation of display module by this.Thus, can be through dynamically changing the computing command code in the nonvolatile memory, the display mode of coming dynamically to change display module increases its changeability.And the present invention need not utilize CPU to carry out, and only need utilize simple hardware circuit just can implement, and significantly reduces cost and promotes competitiveness of product.
Though the present invention discloses as above with embodiment; Right its is not in order to qualification 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, so protection scope of the present invention is to be as the criterion with claim of the present invention.

Claims (10)

1. electronic installation of adjusting display mode is applicable to that a network switch comprises:
One non-volatile memory device is in order to store most computing command codes;
One controller; Couple this non-volatile memory device; In order to read these computing command codes; This controller and these computing command codes of decoding to be producing a plurality of arithmetic operations, and come to carry out access or carry out computing to the stored data of this at least one memory element at least one memory element of building in this network switch according to these arithmetic operations; And
At least one display module couples these memory elements, receives also to carry out at least one display operation according to the stored data of this at least one memory element.
2. the electronic installation of adjustment display mode as claimed in claim 1, wherein respectively this computing command code comprises:
One instruction field, digital in order to the representative of writing down a command operation; And
One indication field is in order to the index address of record to this at least one memory element that should command operation.
3. the electronic installation of adjustment display mode as claimed in claim 1, wherein respectively this computing command code also comprises:
One subsidiary field, in order to record to auxiliary data that should command operation.
4. the electronic installation of adjustment display mode as claimed in claim 1, wherein this at least one memory element comprises at least one register.
5. the electronic installation of adjustment display mode as claimed in claim 4, wherein this at least one memory element also comprises at least one impact damper.
6. 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.
7. the electronic installation of adjustment display mode as claimed in claim 6, wherein this at least one memory element also comprises at least one mark.
8. 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.
9. the electronic installation of adjustment display mode as claimed in claim 1 wherein also comprises:
One reset signal generator.
10. the electronic installation of adjustment display mode as claimed in claim 1, wherein this reset signal generator is a 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 true CN102541493A (en) 2012-07-04
CN102541493B 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
CN102541493B (en) 2015-01-21
TWI445351B (en) 2014-07-11
TW201225576A (en) 2012-06-16

Similar Documents

Publication Publication Date Title
CN101276637B (en) Register read mechanism
CN1565034B (en) Synchronous semiconductor storage device module and its control method, information device
CN101562043B (en) Nonvolatile memory, system and method for encoding data to be written into the nonvolatile memory
CN102063379B (en) Data storage method of FLASH memory
CN100419634C (en) Peripheral device and its control method its main body device and its control method and its program
CN102349111A (en) Enhanced addressability for serial non-volatile memory
CN109992525A (en) Flash memory control
CN102541493A (en) Electronic device for adjusting display mode
CN100573491C (en) Serial transmission controller and serial transmission demoder and serial transmission method thereof
US20130073794A1 (en) Memory system and control method thereof
CN101593556B (en) Method of programming non-volatile memory device
CN100533424C (en) Single line transmission interface and single byte operational keyboard display module
CN101354673B (en) SPD chip error information simulation apparatus of memory
CN202533525U (en) Apparatus capable of automatically identifying air conditioning unit type
KR20040032935A (en) Memory card and data rewriting method
CN100449498C (en) Data storage device
CN101303850A (en) Method for implementing screen refresh and system thereof
CN101290602A (en) Memory management method and system
CN101667462A (en) Repair module for memory, repair device using the same and method thereof
CN102968168A (en) Method for enabling wire clip, management board and wire clip
CN102122269B (en) Writing timeout control method of flash memory and memory device thereof
CN102841867A (en) Stack processor using a ferroelectric random access memory for both code and data space
CN102841774A (en) Stack processor using a ferroelectric random access memory (f-ram) for code space and a portion of the stack memory space
CN202720659U (en) Data intelligent terminal
CN101989459B (en) Method for improving service life of electrically erasable programmable read-only memory (EEPROM) by data buffering

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