CN108304056A - A kind of method, apparatus and computer readable storage medium of button multiplexing - Google Patents

A kind of method, apparatus and computer readable storage medium of button multiplexing Download PDF

Info

Publication number
CN108304056A
CN108304056A CN201810083580.3A CN201810083580A CN108304056A CN 108304056 A CN108304056 A CN 108304056A CN 201810083580 A CN201810083580 A CN 201810083580A CN 108304056 A CN108304056 A CN 108304056A
Authority
CN
China
Prior art keywords
time
positioning lamp
drag down
subelement
unit
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
CN201810083580.3A
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.)
Zhengzhou Yunhai Information Technology Co Ltd
Original Assignee
Zhengzhou Yunhai Information Technology Co Ltd
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 Zhengzhou Yunhai Information Technology Co Ltd filed Critical Zhengzhou Yunhai Information Technology Co Ltd
Priority to CN201810083580.3A priority Critical patent/CN108304056A/en
Publication of CN108304056A publication Critical patent/CN108304056A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/24Resetting means
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • G06F9/4411Configuring for operating with peripheral devices; Loading of device drivers

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Circuit Arrangement For Electric Light Sources In General (AREA)

Abstract

The embodiment of the invention discloses a kind of method, apparatus of button multiplexing and computer readable storage medium, BMC detection positioning lamp buttons drag down the time;According to preset rule, time corresponding operation is dragged down described in execution.Different operations can be executed according to the different values of time are dragged down, i.e., by a positioning lamp button, realizes the control to different operation, to achieve the purpose that reduce number of keys.Compared with realizing that BMC resets operation by BMC reset keys in the prior art, utilize the technical solution, the reset function of BMC can be applied on positioning lamp button, so that the positioning lamp button can be not only used for the change of triggering positioning lamp working condition, triggering BMC is can be also used for reset, reduce use of the independent BMC reset keys on hardware, saves the cost of hardware input;And the reduction of button makes the stability of server and appearance aspect get a new look.

Description

A kind of method, apparatus and computer readable storage medium of button multiplexing
Technical field
The present invention relates to server technology fields, can more particularly to the method, apparatus and computer of a kind of button multiplexing Read storage medium.
Background technology
It is increasingly extensive with server application, in order to meet the needs of client is to different customizations, bond number is pressed on server Amount is constantly increasing.Multiple servers are usually contained in a server cabinet, for the ease of the service on positioning cabinet Positioning lamp (unit identification light, UID) can be arranged before and after every server, pressed by positioning lamp for device Key, that is, UID buttons, can control opening or closing for UID lamps.Either press front or subsequent UID buttons, front and back UID Lamp all can sapphirine, help user locating server.
Baseboard management controller (Baseboard Management Controller, BMC), may be implemented server Remote management and control.In order to realize the reset of BMC, corresponding BMC reset keys can be set.BMC reset keys and UID buttons are each Its duty is taken charge of, for realizing different functions.But increasing for button, the hardware input of server is not only increased, is also reduced The stability and aesthetics of server.
As it can be seen that how to reduce the hardware input of machine box for server, the stability and aesthetics of server are improved, is this field Technical staff's urgent problem to be solved.
Invention content
The purpose of the embodiment of the present invention is to provide a kind of method, apparatus and computer readable storage medium of button multiplexing, The hardware input that machine box for server can be reduced, improves the stability and aesthetics of server.
In order to solve the above technical problems, the embodiment of the present invention provides a kind of method of button multiplexing, including:
Detection positioning lamp button drags down the time;
According to preset rule, time corresponding operation is dragged down described in execution.
Optionally, described according to preset rule, time corresponding operation is dragged down described in execution includes:
Drag down whether the time is greater than or equal to preset time described in judgement;
When it is described drag down the time more than or equal to the preset time when, call the reset function of BMC;
When it is described drag down the time less than the preset time when, change the working condition of positioning lamp.
Optionally, further include:
When it is described drag down the time less than the preset time when, whether the working condition for detecting the positioning lamp changes Become;
When the working condition of the positioning lamp does not change, alarm is carried out.
Optionally, described according to preset rule, time corresponding operation is dragged down described in execution includes:
Drag down whether the time is greater than or equal to preset first time described in judgement;
When it is described drag down the time more than or equal to the first time when, call the reset function of BMC;
When it is described drag down the time less than the first time when, obtain the working condition of positioning lamp;
When it is described drag down the time and be in illuminating state less than the first time and positioning lamp when, then extinguish the positioning Lamp;
When it is described drag down the time and be in OFF state less than the first time and positioning lamp when, when dragging down described in judgement Between whether be greater than or equal to preset second time;Wherein described second time is less than the first time;
When it is described drag down the time more than or equal to second time when, light the positioning lamp to the first brightness;
When it is described drag down the time less than second time when, light the positioning lamp to the second brightness.
The embodiment of the present invention additionally provides a kind of device of button multiplexing, including detection unit and execution unit;
The detection unit drags down the time for detect positioning lamp button;
The execution unit, for according to preset rule, time corresponding operation to be dragged down described in execution.
Optionally, the execution unit includes judgment sub-unit, subelement and state is called to change subelement;
The judgment sub-unit described drags down whether the time is greater than or equal to preset time for judging;
When it is described drag down the time more than or equal to the preset time when, trigger the calling subelement, callings is sub Unit, the reset function for calling BMC;
When it is described drag down the time less than the preset time when, trigger the state and change subelement, the state changes Subelement, for changing the working condition of positioning lamp.
Optionally, further include prompt unit;
The detection unit be additionally operable to when it is described drag down the time less than the preset time when, detect the work of the positioning lamp Make whether state changes;
The prompt unit, for when the working condition of the positioning lamp does not change, carrying out alarm.
Optionally, the execution unit includes the first judgment sub-unit, calls subelement, acquisition subelement, extinguishing single Member, the second judgment sub-unit, first light subelement and second point transom unit;
First judgment sub-unit, for judge it is described drag down the time and whether be greater than or equal to preset first when Between;
When it is described drag down the time more than or equal to the first time when, trigger the calling subelement, callings is sub Unit, the reset function for calling BMC;
When it is described drag down the time less than the first time when, trigger the acquisition subelement, the acquisition subelement is used In the working condition for obtaining positioning lamp;
When it is described drag down the time and be in illuminating state less than the first time and positioning lamp when, then trigger the extinguishing Subelement, the extinguishing subelement, for extinguishing the positioning lamp;
When it is described drag down the time and be in OFF state less than the first time and positioning lamp when, trigger described second and sentence Disconnected subelement, second judgment sub-unit described drag down whether the time is greater than or equal to preset second for judging Time;Wherein described second time is less than the first time;
When it is described drag down the time more than or equal to second time when, subelement is lighted in triggering described first, described the Some transom units, for lighting the positioning lamp to the first brightness;
When it is described drag down the time less than second time when, trigger the second point transom unit, described second lights Subelement, for lighting the positioning lamp to the second brightness.
The embodiment of the present invention additionally provides a kind of device of button multiplexing, including:
Memory, for storing computer program;
Processor, for the step of executing the computer program to realize the method such as above-mentioned button multiplexing.
The embodiment of the present invention additionally provides a kind of computer readable storage medium, is deposited on the computer readable storage medium The step of containing computer program, the method such as above-mentioned button multiplexing realized when the computer program is executed by processor.
BMC detections positioning lamp button drags down the time it can be seen from above-mentioned technical proposal;According to preset rule Then, time corresponding operation is dragged down described in execution.Different operations can be executed according to the different values of time are dragged down, that is, is passed through One positioning lamp button realizes the control to different operation, to achieve the purpose that reduce number of keys.With lead in the prior art It crosses BMC reset keys and realizes that BMC resets operation and compares, using the technical solution, the reset function of BMC can be applied to positioning On lamp button so that the positioning lamp button can be not only used for the change of triggering positioning lamp working condition, can be also used for triggering BMC resets, and reduces use of the independent BMC reset keys on hardware, has saved the cost of hardware input;And button It gets a new look in terms of reducing the stability and appearance that make server.
Description of the drawings
In order to illustrate the embodiments of the present invention more clearly, attached drawing needed in the embodiment will be done simply below It introduces, it should be apparent that, drawings in the following description are only some embodiments of the invention, for ordinary skill people For member, without creative efforts, other drawings may also be obtained based on these drawings.
Fig. 1 is a kind of flow chart of the method for button multiplexing provided in an embodiment of the present invention;
Fig. 2 is a kind of structural schematic diagram of the device of button multiplexing provided in an embodiment of the present invention;
Fig. 3 is a kind of hardware architecture diagram of the device of button multiplexing provided in an embodiment of the present invention.
Specific implementation mode
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation describes, it is clear that described embodiments are only a part of the embodiments of the present invention, rather than whole embodiments.Based on this Embodiment in invention, without making creative work, what is obtained is every other by those of ordinary skill in the art Embodiment belongs to the scope of the present invention.
In order to enable those skilled in the art to better understand the solution of the present invention, with reference to the accompanying drawings and detailed description The present invention is described in further detail.
As server industries constantly develop, in order to meet the needs of client is to different customizations, bond number is pressed on server Amount is constantly increasing.Increasing for button not only increases hardware input, can also cause shadow to the stability and aesthetics of server It rings.
With being gradually improved for server software management function, the previously passed hard-wired function in part currently may be used To pass through software realization.In embodiments of the present invention, by taking BMC reset keys and UID buttons as an example, by BMC reset function applications In realizing button multiplexing on UID buttons.The function of BMC reset keys and UID are subjected to unification, corresponding place is done on software Reason so that UID buttons can also trigger BMC and realize reset on the basis of executing original operation, be resetted to reduce BMC The setting of button reaches the hardware input for reducing machine box for server, improves the stability of server and the purpose of aesthetics.
Next, the method that a kind of button multiplexing that the embodiment of the present invention is provided is discussed in detail.Fig. 1 is that the present invention is implemented A kind of flow chart of the method for button multiplexing that example provides, this method include:
S101:Detection positioning lamp button drags down the time.
In embodiments of the present invention, it is unfolded to introduce so that BMC reset functions are applied to positioning lamp button as an example, positioning lamp button That is UID buttons.
In the concrete realization, the pin of BMC with UID buttons can be connected by bus, to detect the pin of UID buttons The saltus step of level.
Under normal operating conditions, the pin level of UID buttons is high level, and when UID buttons are pressed by the user, UID is pressed Saltus step can occur for the pin level of key, and low level is converted to by high level.
The time that drags down of positioning button refers to that the pin level of positioning lamp button is in the duration of low level state.
In the concrete realization, BMC detects that saltus step occurs for the pin level of positioning lamp button, becomes low level from high level When start timing, pin level stops timing when being restored to high level by low level, timing time is the drawing of positioning lamp button The low time.
S102:According to preset rule, time corresponding operation is dragged down described in execution.
In embodiments of the present invention, according to the time length for dragging down the time of positioning lamp button, to execute different operations, To realize the multiplexing of button.It include the correspondence between time and operation in preset rule.
By taking BMC reset functions are applied to positioning lamp button as an example, positioning lamp button is applied not only to triggering positioning lamp work shape The change of state is additionally operable to the reset function of triggering BMC, distinguishes positioning lamp button is specifically used for which kind of behaviour executed for the ease of BMC Make, in embodiments of the present invention, the time is dragged down as the foundation judged, when positioning lamp button is when dragging down using positioning lamp button Between it is longer when, then trigger BMC reset functions;When positioning lamp button drag down the time it is shorter when, then execute its original function, i.e., Trigger the change of positioning lamp working condition.
A kind of feasible mode of operation can preset a time value, and the time is dragged down more than or equal to pre- when described If when the time, indicating that positioning lamp button is used to trigger the reset function of BMC, then calling the reset function of BMC.When described drag down Between when being less than the preset time, indicate that positioning lamp button is used to trigger the change of positioning lamp working condition, then change positioning lamp Working condition.
Wherein, the length of preset time can be set according to actual demand, not limited herein.
For example, preset time is 10 seconds, BMC detects that saltus step occurs for the pin level of positioning lamp button, is become by high level To start timing when low level, when more than 10 seconds, when the pin level of positioning lamp button is still low level, then when explanation drags down Between more than 10 seconds, then trigger the reset function of BMC, realize that BMC resets;Within 10 seconds, the pin level of positioning lamp button When reverting to high level by low level, then explanation dragged down the time less than 10 seconds, then changed the working condition of positioning lamp.
By taking positioning lamp has and lights and extinguish both working conditions as an example, when positioning lamp is in illuminating state, if institute It states and drags down the time less than the preset time, then extinguish the positioning lamp;When positioning lamp is in OFF state, if described drag down Time is less than the preset time, then lights the positioning lamp.
In practical applications, the requirement under different light environments to the bright dark degree of positioning lamp will be different, for example, It is higher to the brightness requirement of positioning lamp under the larger environment of daylight intensity, it observes, can properly increase for the ease of user The brightness of positioning lamp;Relatively low to the brightness requirement of positioning lamp at night under the weaker environment of intensity of illumination, it is fixed suitably to reduce The brightness of position lamp.By the way that different degree of lighting is arranged to positioning lamp, the positioning of server not only may be implemented but also electricity can be improved The utilization rate of energy.
Degree difference is lighted in view of positioning lamp, another feasible mode of operation can preset two times Value can call it as first time and the second time to distinguish the two time values, be used to distinguish positioning lamp at the first time Button is the change for triggering positioning lamp working condition, or the reset function for triggering BMC;Second time is for distinguishing Positioning lamp lights degree.
In the concrete realization, it can be determined that described to drag down whether the time is greater than or equal to preset first time;When It is described drag down the time more than or equal to the first time when, call the reset function of BMC.The time is dragged down less than described when described When first time, the working condition of positioning lamp is obtained;The time is dragged down less than the first time and the positioning lamp when described When in illuminating state, then extinguish the positioning lamp.The time is dragged down less than the first time and the positioning lamp when described When in OFF state, drag down whether the time is greater than or equal to preset second time described in judgement;Wherein described second Time is less than the first time.When it is described drag down the time more than or equal to second time when, light the positioning lamp extremely First brightness;When it is described drag down the time less than second time when, light the positioning lamp to the second brightness.
Be directed to positioning lamp be arranged it is different light degree, can be adapted under different light environments, it is bright to positioning lamp The demand of dark degree.
It should be noted that in the introduction above by taking BMC reset functions are applied to positioning lamp button as an example, in the present invention , can also be by other buttons such as memory lighting button in embodiment, the application of function which is controlled is pressed in positioning lamp On key, operation principle is similar applied to positioning lamp button with BMC reset functions, and details are not described herein.
BMC detections positioning lamp button drags down the time it can be seen from above-mentioned technical proposal;According to preset rule Then, time corresponding operation is dragged down described in execution.Different operations can be executed according to the different values of time are dragged down, that is, is passed through One positioning lamp button realizes the control to different operation, to achieve the purpose that reduce number of keys.With lead in the prior art It crosses BMC reset keys and realizes that BMC resets operation and compares, using the technical solution, the reset function of BMC can be applied to positioning On lamp button so that the positioning lamp button can be not only used for the change of triggering positioning lamp working condition, can be also used for triggering BMC resets, and reduces use of the independent BMC reset keys on hardware, has saved the cost of hardware input;And button It gets a new look in terms of reducing the stability and appearance that make server.
In view of that there may be the case where positioning lamp damage in practical applications, this kind is known in time for the ease of user Alarm mechanism can be arranged in situation.Specifically, when it is described drag down the time less than the preset time when, detection it is described fixed Whether the working condition of position lamp changes;When the working condition of the positioning lamp does not change, alarm is carried out.
For example, preset time is 10 seconds, positioning lamp is in OFF state when original state, and BMC detects positioning lamp button Pin level occur saltus step, when becoming low level from high level, start timing, positioning lamp button is detected within 10 seconds When pin level saltus step is high level, then the change of positioning lamp working condition is triggered.When positioning lamp is in normal operating conditions, Positioning lamp is changed into illuminating state by OFF state;When positioning lamp damages, the working condition of positioning lamp will not change, then Alarm mechanism is triggered, alarm is carried out.
By the way that alarm mechanism is arranged, the monitoring whether worked normally to positioning lamp may be implemented, when alarm mechanism is triggered Afterwards, user's positioning lamp can be reminded to be likely to occur damage in time.
Fig. 2 is a kind of structural schematic diagram of the device of button multiplexing provided in an embodiment of the present invention, and described device includes inspection Survey unit 21 and execution unit 22;
The detection unit 21 drags down the time for detect positioning lamp button;
The execution unit 22, for according to preset rule, time corresponding operation to be dragged down described in execution.
Optionally, the execution unit includes judgment sub-unit, subelement and state is called to change subelement;
The judgment sub-unit described drags down whether the time is greater than or equal to preset time for judging;
When it is described drag down the time more than or equal to the preset time when, trigger the calling subelement, callings is sub Unit, the reset function for calling BMC;
When it is described drag down the time less than the preset time when, trigger the state and change subelement, the state changes Subelement, for changing the working condition of positioning lamp.
Optionally, further include prompt unit;
The detection unit be additionally operable to when it is described drag down the time less than the preset time when, detect the work of the positioning lamp Make whether state changes;
The prompt unit, for when the working condition of the positioning lamp does not change, carrying out alarm.
Optionally, the execution unit includes the first judgment sub-unit, calls subelement, acquisition subelement, extinguishing single Member, the second judgment sub-unit, first light subelement and second point transom unit;
First judgment sub-unit, for judge it is described drag down the time and whether be greater than or equal to preset first when Between;
When it is described drag down the time more than or equal to the first time when, trigger the calling subelement, callings is sub Unit, the reset function for calling BMC;
When it is described drag down the time less than the first time when, trigger the acquisition subelement, the acquisition subelement is used In the working condition for obtaining positioning lamp;
When it is described drag down the time and be in illuminating state less than the first time and positioning lamp when, then trigger the extinguishing Subelement, the extinguishing subelement, for extinguishing the positioning lamp;
When it is described drag down the time and be in OFF state less than the first time and positioning lamp when, trigger described second and sentence Disconnected subelement, second judgment sub-unit described drag down whether the time is greater than or equal to preset second for judging Time;Wherein described second time is less than the first time;
When it is described drag down the time more than or equal to second time when, subelement is lighted in triggering described first, described the Some transom units, for lighting the positioning lamp to the first brightness;
When it is described drag down the time less than second time when, trigger the second point transom unit, described second lights Subelement, for lighting the positioning lamp to the second brightness.
The explanation of feature may refer to the related description of embodiment corresponding to Fig. 1 in embodiment corresponding to Fig. 2, here no longer It repeats one by one.
BMC detections positioning lamp button drags down the time it can be seen from above-mentioned technical proposal;According to preset rule Then, time corresponding operation is dragged down described in execution.Different operations can be executed according to the different values of time are dragged down, that is, is passed through One positioning lamp button realizes the control to different operation, to achieve the purpose that reduce number of keys.With lead in the prior art It crosses BMC reset keys and realizes that BMC resets operation and compares, using the technical solution, the reset function of BMC can be applied to positioning On lamp button so that the positioning lamp button can be not only used for the change of triggering positioning lamp working condition, can be also used for triggering BMC resets, and reduces use of the independent BMC reset keys on hardware, has saved the cost of hardware input;And button It gets a new look in terms of reducing the stability and appearance that make server.
Fig. 3 is a kind of hardware architecture diagram of the device 30 of button multiplexing provided in an embodiment of the present invention, including storage Device 31, for storing computer program;
Processor 32, for the step of executing the computer program to realize the method such as above-mentioned button multiplexing.
The embodiment of the present invention additionally provides a kind of computer readable storage medium, is deposited on the computer readable storage medium The step of containing computer program, the method such as above-mentioned button multiplexing realized when the computer program is executed by processor.
It is provided for the embodiments of the invention a kind of method, apparatus and computer readable storage medium of button multiplexing above It is described in detail.Each embodiment is described by the way of progressive in specification, the highlights of each of the examples are Difference from other examples, just to refer each other for identical similar portion between each embodiment.Embodiment is disclosed Device for, since it is corresponded to the methods disclosed in the examples, so description is fairly simple, related place is referring to method Part illustrates.It should be pointed out that for those skilled in the art, before not departing from the principle of the invention It puts, can be with several improvements and modifications are made to the present invention, these improvement and modification also fall into the guarantor of the claims in the present invention It protects in range.
Professional further appreciates that, unit described in conjunction with the examples disclosed in the embodiments of the present disclosure And algorithm steps, can be realized with electronic hardware, computer software, or a combination of the two, in order to clearly demonstrate hardware and The interchangeability of software generally describes each exemplary composition and step according to function in the above description.These Function is implemented in hardware or software actually, depends on the specific application and design constraint of technical solution.Profession Technical staff can use different methods to achieve the described function each specific application, but this realization is not answered Think beyond the scope of this invention.
The step of method described in conjunction with the examples disclosed in this document or algorithm, can directly be held with hardware, processor The combination of capable software module or the two is implemented.Software module can be placed in random access memory (RAM), memory, read-only deposit Reservoir (ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technology In any other form of storage medium well known in field.

Claims (10)

1. a kind of method of button multiplexing, which is characterized in that including:
Detection positioning lamp button drags down the time;
According to preset rule, time corresponding operation is dragged down described in execution.
2. according to the method described in claim 1, it is characterized in that, described according to preset rule, dragged down described in execution Time, corresponding operation included:
Drag down whether the time is greater than or equal to preset time described in judgement;
When it is described drag down the time more than or equal to the preset time when, call the reset function of BMC;
When it is described drag down the time less than the preset time when, change the working condition of positioning lamp.
3. according to the method described in claim 2, it is characterized in that, further including:
When it is described drag down the time less than the preset time when, whether the working condition for detecting the positioning lamp changes;
When the working condition of the positioning lamp does not change, alarm is carried out.
4. according to the method described in claim 1, it is characterized in that, described according to preset rule, dragged down described in execution Time, corresponding operation included:
Drag down whether the time is greater than or equal to preset first time described in judgement;
When it is described drag down the time more than or equal to the first time when, call the reset function of BMC;
When it is described drag down the time less than the first time when, obtain the working condition of positioning lamp;
When it is described drag down the time and be in illuminating state less than the first time and the positioning lamp when, then extinguish the positioning Lamp;
When it is described drag down the time and be in OFF state less than the first time and the positioning lamp when, when dragging down described in judgement Between whether be greater than or equal to preset second time;Wherein described second time is less than the first time;
When it is described drag down the time more than or equal to second time when, light the positioning lamp to the first brightness;
When it is described drag down the time less than second time when, light the positioning lamp to the second brightness.
5. a kind of device of button multiplexing, which is characterized in that including detection unit and execution unit;
The detection unit drags down the time for detect positioning lamp button;
The execution unit, for according to preset rule, time corresponding operation to be dragged down described in execution.
6. device according to claim 5, which is characterized in that the execution unit includes judgment sub-unit, calls son single Member and state change subelement;
The judgment sub-unit described drags down whether the time is greater than or equal to preset time for judging;
When it is described drag down the time more than or equal to the preset time when, trigger the calling subelement, the calling subelement, Reset function for calling BMC;
When it is described drag down the time less than the preset time when, trigger the state and change subelement, it is single that the state changes son Member, for changing the working condition of positioning lamp.
7. device according to claim 6, which is characterized in that further include prompt unit;
The detection unit be additionally operable to when it is described drag down the time less than the preset time when, detect the work shape of the positioning lamp Whether state changes;
The prompt unit, for when the working condition of the positioning lamp does not change, carrying out alarm.
8. device according to claim 5, which is characterized in that the execution unit includes the first judgment sub-unit, calls Subelement, acquisition subelement, extinguishing subelement, the second judgment sub-unit, first light subelement and second point transom unit;
First judgment sub-unit described drags down whether the time is greater than or equal to preset first time for judging;
When it is described drag down the time more than or equal to the first time when, trigger the calling subelement, the calling subelement, Reset function for calling BMC;
When it is described drag down the time less than the first time when, trigger the acquisition subelement, the acquisition subelement, for obtaining Take the working condition of positioning lamp;
When it is described drag down the time and be in illuminating state less than the first time and positioning lamp when, then it is sub singly to trigger extinguishings Member, the extinguishing subelement, for extinguishing the positioning lamp;
When it is described drag down the time and be in OFF state less than the first time and positioning lamp when, triggering described second judges sub Unit, second judgment sub-unit described drag down whether the time is greater than or equal to preset second time for judging; Wherein described second time is less than the first time;
When it is described drag down the time more than or equal to second time when, subelement is lighted in triggering described first, described first point Transom unit, for lighting the positioning lamp to the first brightness;
When it is described drag down the time less than second time when, trigger the second point transom unit, the second point transom list Member, for lighting the positioning lamp to the second brightness.
9. a kind of device of button multiplexing, which is characterized in that including:
Memory, for storing computer program;
Processor, for executing the computer program to realize the side of the button multiplexing as described in Claims 1-4 any one The step of method.
10. a kind of computer readable storage medium, which is characterized in that be stored with computer on the computer readable storage medium Program, realizing the method for button multiplexing as described in any one of Claims 1-4 when the computer program is executed by processor Step.
CN201810083580.3A 2018-01-29 2018-01-29 A kind of method, apparatus and computer readable storage medium of button multiplexing Pending CN108304056A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810083580.3A CN108304056A (en) 2018-01-29 2018-01-29 A kind of method, apparatus and computer readable storage medium of button multiplexing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810083580.3A CN108304056A (en) 2018-01-29 2018-01-29 A kind of method, apparatus and computer readable storage medium of button multiplexing

Publications (1)

Publication Number Publication Date
CN108304056A true CN108304056A (en) 2018-07-20

Family

ID=62867121

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810083580.3A Pending CN108304056A (en) 2018-01-29 2018-01-29 A kind of method, apparatus and computer readable storage medium of button multiplexing

Country Status (1)

Country Link
CN (1) CN108304056A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109557992A (en) * 2018-11-29 2019-04-02 郑州云海信息技术有限公司 A kind of BMC repositioning method, device, terminal and storage medium
CN109947611A (en) * 2019-03-20 2019-06-28 浪潮商用机器有限公司 Realize the method and device of server system serial ports and the shared switching of BMC debugging serial ports
CN112380066A (en) * 2020-11-27 2021-02-19 超越科技股份有限公司 Server maintenance and debugging device based on domestic platform and server

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150199520A1 (en) * 2014-01-13 2015-07-16 Raytheon Company Mediated secure boot for single or multicore processors
CN104991728A (en) * 2015-06-18 2015-10-21 努比亚技术有限公司 Operation method and apparatus based on multi-functional key of mobile terminal
CN106095605A (en) * 2016-06-03 2016-11-09 青岛海信电器股份有限公司 The abnormality eliminating method of a kind of display terminal and device
CN103279203B (en) * 2013-03-28 2017-02-01 深圳市共进电子股份有限公司 Key reuse method and multifunctional key
CN206075262U (en) * 2016-07-22 2017-04-05 深圳市乐添科技有限公司 A kind of SSD solid state hard discs with color indication lights
CN107632782A (en) * 2017-09-11 2018-01-26 郑州云海信息技术有限公司 A kind of BMC code protection methods and device based on ARM whole machine cabinet server nodes

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103279203B (en) * 2013-03-28 2017-02-01 深圳市共进电子股份有限公司 Key reuse method and multifunctional key
US20150199520A1 (en) * 2014-01-13 2015-07-16 Raytheon Company Mediated secure boot for single or multicore processors
CN104991728A (en) * 2015-06-18 2015-10-21 努比亚技术有限公司 Operation method and apparatus based on multi-functional key of mobile terminal
CN106095605A (en) * 2016-06-03 2016-11-09 青岛海信电器股份有限公司 The abnormality eliminating method of a kind of display terminal and device
CN206075262U (en) * 2016-07-22 2017-04-05 深圳市乐添科技有限公司 A kind of SSD solid state hard discs with color indication lights
CN107632782A (en) * 2017-09-11 2018-01-26 郑州云海信息技术有限公司 A kind of BMC code protection methods and device based on ARM whole machine cabinet server nodes

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109557992A (en) * 2018-11-29 2019-04-02 郑州云海信息技术有限公司 A kind of BMC repositioning method, device, terminal and storage medium
CN109947611A (en) * 2019-03-20 2019-06-28 浪潮商用机器有限公司 Realize the method and device of server system serial ports and the shared switching of BMC debugging serial ports
CN112380066A (en) * 2020-11-27 2021-02-19 超越科技股份有限公司 Server maintenance and debugging device based on domestic platform and server

Similar Documents

Publication Publication Date Title
CN105282346B (en) Screen power saving method and device and mobile terminal
CN108304056A (en) A kind of method, apparatus and computer readable storage medium of button multiplexing
CN106055077A (en) Wake-up lock-based processing method and device
CN107885534A (en) A kind of screen locking method, terminal and computer-readable medium
CN104834497A (en) On screen display control method and controller
CN103067604A (en) Method for enabling cell phone to be in flashlight mode
CN110049606B (en) Lamp control method, device and system and computer readable storage medium
CN102473371B (en) Illuminable indicator of electronic device being enabled based at least on user presence
CN105892974B (en) A kind of display methods of standby interface, display device and terminal
CN105677544B (en) Lamplight display method and light display apparatus
CN102957805A (en) Method for entering into flashlight mode of mobile phone
CN110209428A (en) A kind of terminal screen awakening method, device, terminal and storage medium
CN106343750A (en) Shoe cabinet
CN106506819A (en) A kind of terminal display control method and terminal
CN106056012A (en) Terminal power key control method and system
CN108346394A (en) Method, electronic device and the computer readable storage medium of eyeshield pattern are opened in control
CN106371515A (en) Method and device for controlling screen states
CN108829450A (en) Multiplexing method, device, equipment and the storage medium of UID key
CN106898330B (en) A kind of screen vision-control method and terminal device
CN106455022A (en) Power saving mode switching method and device
CN105786462A (en) Boot method
CN109918094A (en) A kind of dispositions method, device and the medium of WebSphere middleware cluster
CN106020899A (en) Application downloading method and mobile terminal
CN107302493A (en) A kind of message treatment method, message processing apparatus and intelligent terminal
CN106020755A (en) Method and device for adjusting screen lighting time of terminal screen

Legal Events

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

Application publication date: 20180720