摘要:
A lamp includes a lamp body, an LED light source, a storage unit, a switch apparatus, and a microprocessor. The storage unit stores a function table recording a relationship between a plurality of types of touches and a plurality of control functions. The switch apparatus includes a touch panel, a touch controller, and an indicator located under the first touch region. The touch panel generates signals in response to touches applied on thereon. The touch panel includes a first touch region and a second touch region. The touch controller receives the signals and determines the type of the touch intended. The microprocessor refers to the function table, and controls the LED light source to execute the control function and to give visual feedback when the touch panel is touched. A switch apparatus is also provided.
摘要:
A touch control method used for an electronic device storing a relationship table recording a mapping relationship between handwritten touch input and a number of commands includes the following steps. Display an electronic file. Sense a touch trace of a user on the displayed electronic file and generating a trigger signal if the touch trace forms a closed loop having an enclosed region. Sense handwritten touch input by the user within the enclosed region and generate associated signals. Recognize a circled path having an enclosed region as input by the user according to the generated signals. Determine a command associated with the sensed handwritten touch input according to the relationship table in response to the trigger signal. Retrieve content of the displayed electronic file displayed within the enclosed region. And execute the retrieved command to the retrieved content. An electronic device using the method is also provided.
摘要:
A bus stop includes a storage unit, a communicating unit, a display unit, and a control unit. The communicating unit communicates with a server which is in communication with a plurality of buses, a plurality of stops which the buses will pass, and current locations of the buses. The display unit displays at least one route consisting of a plurality of bus stops including the bus stop. The control unit generates a request signal carrying the location of the bus stop to the server. The server determines current locations of the buses on a route which includes the bus stop, compares the real-time locations with the location of the bus stop to select a nearest bus travelling towards the bus stop. The display unit display a mark marking the bus stop. A related system is also provided.
摘要:
A mechanism is provided for managing a high speed memory. An index entry indicates a storage unit in the high speed memory. A corresponding non-free index is set for a different type of low speed memory. The indicated storage unit in the high speed memory is assigned to a corresponding low speed memory by including the index entry in the non-free index. The storage unit in the high speed memory is recovered by demoting the index entry from the non-free index. The mechanism acquires a margin performance loss corresponding to a respective non-free index in response to receipt of a demotion request. The margin performance loss represents a change in a processor read operation time caused by performing a demotion operation in a corresponding non-free index. The mechanism compares the margin performance losses of the respective non-free indexes and selecting a non-free index whose margin performance loss satisfies a demotion condition as a demotion index. The mechanism selects an index entry from the demotion index to perform the demotion operation.
摘要:
A bus stop includes a storage unit, a communicating unit, an input unit, a control unit, and a display unit. The communicating unit communicates with a server storing relationships among bus terminals, stop information of bus stops and current locations of the bus terminals. The server determines which one or ones travel toward the bus stop according to the current locations of the bus terminals and the location of the bus stop. The display unit displays the current locations of the bus terminals determined by the server. A related system is also provided.
摘要:
An electronic device used for writing memos includes a storage unit, a display unit, a touch input unit, and a processor. The storage unit is used for storing an electronic calendar and a memo file written by a user. The touch input unit senses touch input of handwritten content on the displayed electronic calendar by the user and generating signals associated with the user's touch input, and recognizes handwritten content of the user according to the generating signals. The processor includes an identification module and a memo adding module. The identification module determines a date associated to the created handwritten content according to the generated signals. The memo adding module automatically adds the recognized handwritten content to the memo file stored in the storage unit of the determined date. A method for writing memos is also described.
摘要:
A shielding shell includes a front shell curved from a metal plate and having a base board and two side boards, and a rear shell having a base plate of which a front edge is connected with a rear edge of the base board. Two side plates extend downward from two opposite side edges of the base plate and each is connected with a rear edge of the side board of the front shell by virtue of a strengthening structure. The strengthening structure includes a first strengthening arm extending towards the corresponding side plate from a rear edge of the side board, and a second strengthening arm extending towards the corresponding side board from a front edge of the side plate to be buckled with the first strengthening arm so as to secure the side plate and the corresponding side board together.
摘要:
A method for improving the performance of a RAID under rebuild is disclosed. In one embodiment, such a method includes identifying a RAID requiring rebuild, such as by identifying a RAID having one or more failed storage-drive components. The method then automatically performs the following in response to identifying the RAID: the method identifies hot extents (i.e., extents most heavily accessed) in the RAID; the method migrates the hot extents from the identified failed RAID to a normal RAID not requiring rebuild, such as to an underused RAID; and the method rebuilds the failed RAID. The migration of the hot extents will ideally occur while the RAID is being rebuilt but may also be performed prior to the rebuild process. A corresponding apparatus and computer program product are also disclosed.
摘要:
An electronic device is disclosed. The electronic device includes a display module, an icon sensing module, an icon moving module, a folder sensing module, and an icon adding module. The display module displays icons and a number of folder tab buttons associated with folders respectively. The icon sensing module senses a touch on an icon. The icon moving module actuates the icon into a movable state if the touch on the icon is an icon move operation. The folder sensing module senses if the touch on the selected icon is moved onto a folder tab button. The icon adding module adds the icon to the folder associated with the folder tab button. A method of moving icons and one or more computer readable storage media are also disclosed.