CN212933467U - Power button assembly for electronic equipment and electronic equipment - Google Patents

Power button assembly for electronic equipment and electronic equipment Download PDF

Info

Publication number
CN212933467U
CN212933467U CN202021829526.8U CN202021829526U CN212933467U CN 212933467 U CN212933467 U CN 212933467U CN 202021829526 U CN202021829526 U CN 202021829526U CN 212933467 U CN212933467 U CN 212933467U
Authority
CN
China
Prior art keywords
control chip
power button
equipment
electronic equipment
level
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
CN202021829526.8U
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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN202021829526.8U priority Critical patent/CN212933467U/en
Application granted granted Critical
Publication of CN212933467U publication Critical patent/CN212933467U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Power Sources (AREA)

Abstract

The utility model discloses a power button subassembly and electronic equipment for electronic equipment belongs to the circuit field. Through the technical scheme provided by the utility model, be connected equipment power button and first control chip, first control chip can be when the level that detects is not conform to the target condition, the shielding equipment bridge piece is to the detection of level, at the in-process that maintainer was putting on or off the shelf to electronic equipment, even if having touched certain electronic equipment's equipment power button carelessly, this electronic equipment can not directly take place to shut down or start yet to avoid the unusual start or the condition of shutting down of electronic equipment.

Description

Power button assembly for electronic equipment and electronic equipment
Technical Field
The utility model relates to a circuit field, in particular to a power button subassembly and electronic equipment for electronic equipment.
Background
With the development of network technology, the types of applications that can be used on a terminal are increasing, and the implementation of the application functions is often dependent on a server. In the server operation stage, maintenance personnel need to frequently mount and dismount the server, so that the normal function of the application program is guaranteed.
In the related art, rack servers are often used to provide background services for applications, the height of the rack servers is usually 2U (1U ═ 1.75 inches), and the space between the rack servers is often small to save space. When the rack-mounted servers are put on the shelf and put off the shelf, the switch buttons of the adjacent rack-mounted servers are easily touched, so that the adjacent rack-mounted servers are abnormally shut down.
SUMMERY OF THE UTILITY MODEL
The embodiment of the utility model provides a power button subassembly and electronic equipment for electronic equipment can improve equipment power button's mistake proofing touch effect. The technical scheme is as follows:
in one aspect, there is provided a power button assembly including: the device comprises a device power button and a first control chip;
the device power button is arranged on a shell of the electronic device and used for controlling the connection and disconnection between a grounding end of the electronic device and a first power supply interface of a mainboard of the electronic device, and the first power supply interface is powered by a power module;
the equipment power supply button is also used for controlling the connection and disconnection between the grounding end of the electronic equipment and the first end of the first control chip, and the first end of the first control chip is connected with the first power supply interface through a wire;
the second end of the first control chip is connected with an equipment bridge piece on the mainboard through a lead, and the equipment bridge piece is used for controlling the operation of the electronic equipment;
the first control chip is used for detecting the level of the first end, and if the detected levels meet a target condition, sending a control signal to the equipment bridge piece, wherein the control signal is used for controlling the starting and the closing of the electronic equipment;
and if the plurality of levels do not meet the target condition, not sending the control signal to the equipment bridge piece.
In one aspect, an electronic device is provided that includes a housing, a motherboard, a device power supply, and a power button assembly, the motherboard and the device power supply being located inside the housing;
wherein the motherboard comprises a plurality of electronic components including a device bridge;
the equipment power button is arranged on a shell of the electronic equipment and used for controlling the connection and disconnection between a grounding end of the electronic equipment and a first power supply interface of a mainboard of the electronic equipment, and the first power supply interface is powered by a power module;
the equipment power supply button is also used for controlling the connection and disconnection between the grounding end of the electronic equipment and the first end of the first control chip, and the first end of the first control chip is connected with the first power supply interface through a wire;
the second end of the first control chip is connected with the equipment bridge piece on the mainboard through a lead, and the equipment bridge piece is used for controlling the operation of the electronic equipment;
the first control chip is used for detecting the level of the first end, and if the detected levels meet a target condition, sending a control signal to the equipment bridge piece, wherein the control signal is used for controlling the starting and the closing of the electronic equipment;
and if the plurality of levels do not meet the target condition, not sending the control signal to the equipment bridge piece.
In one possible design, the power button assembly further includes: the light-emitting component is arranged on a shell of the electronic equipment and is connected with the third end of the first control chip through a lead;
the first control chip is further used for controlling the light-emitting component to emit light after the plurality of levels meet the target condition.
In one possible design, the light emitting assembly is disposed on the device power button.
In one possible design, the first control chip includes an input-output unit, a logic unit, and a register;
the logic unit is respectively connected with the input/output unit and the register through wires;
the input/output unit is used for continuously detecting a first level of a first end after the levels meet the target condition;
the logic unit is used for converting the first level into an instruction code, and the instruction code is associated with the high level, the low level and the duration of the first level;
the register is used for storing the instruction codes;
the input and output unit is also used for reading the instruction codes in the register and converting the instruction codes into control signals corresponding to the instruction codes;
and the input and output unit is also used for sending a control signal corresponding to the instruction code to the equipment bridge chip.
In one possible design, the power button assembly further includes: a second control chip;
the second control chip is connected with the first control chip through a lead;
the second control chip is used for writing operation to the register.
In one possible design, the second control chip is further connected with an environment sensor arranged on the electronic device through a wire;
the environment sensor is used for sending an environment signal to the second control chip, and the environment signal is used for indicating the temperature and the humidity of the environment where the electronic equipment is located;
the second control chip is used for writing the register through the environment signal.
In one possible design, the first control chip is further configured to send the control signal to the device bridge in response to the second control chip not operating for a first target duration after receiving the first level.
In one possible design, the second control chip is connected with the device bridge piece through a wire;
the second control chip is also used for reading the instruction codes in the register and sending the control signals corresponding to the instruction codes to the equipment bridge chip.
In one possible design, the first control chip is a CPLD.
Through the technical scheme provided by the utility model, be connected equipment power button and first control chip, first control chip can be when detecting the level and be not conform to the target condition, the shielding equipment bridge piece is to the detection of level, at the in-process that maintainer was putting on or off the shelf to electronic equipment, even if having touched certain electronic equipment's equipment power button carelessly, this electronic equipment can not directly take place to shut down or start yet to avoid the unusual start or the condition of shutting down of electronic equipment.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings without creative efforts.
Fig. 1 is a schematic diagram of an installation arrangement of an electronic device according to an embodiment of the present invention;
fig. 2 is a schematic circuit diagram according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of an apparatus power button according to an embodiment of the present invention;
fig. 4 is a schematic diagram of an internal structure of a first control chip according to an embodiment of the present invention;
fig. 5 is a schematic circuit diagram according to an embodiment of the present invention;
fig. 6 is a schematic circuit diagram according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, embodiments of the present invention will be described in further detail below with reference to the accompanying drawings.
The terms "first", "second", and the like in the present invention are used to distinguish the same items or similar items having substantially the same functions and functions, and it should be understood that there is no logical or temporal dependency relationship between "first", "second", and "nth", and the number and execution sequence are not limited.
For a clearer explanation of the present invention, the following is a description of the nouns involved in the embodiments of the present invention:
complex Programmable Logic Device (CPLD): the digital integrated circuit is a digital integrated circuit which is used by a user to construct logic functions according to respective needs. The CPLD comprises a logic unit, a programmable interconnection channel and an Input/Output (I/O) unit, wherein the logic unit is used for carrying out logic operation, the programmable interconnection channel is used for connecting different logic units, the I/O unit is used for receiving signals sent to the CPLD by other chips, and the I/O unit is also used for sending signals to other chips.
Execution of a server remote Management control chip (BMC): the remote control device can remotely control the starting and the closing of the equipment, and can detect the health state of the equipment and other operations when the equipment is not started.
Register: the register comprises a plurality of trigger groups with storage functions, wherein one trigger can store 1-bit binary codes, so that a register for storing n-bit binary codes needs to be formed by n triggers, and n is a positive integer.
The registers can be classified into two main types, a basic register and a shift register, according to their functions. The basic registers can only be fed with data in parallel and can only be output in parallel. The data in the shift register can be shifted to the right or left bit by bit in sequence under the action of shift pulses, and the data can be input in parallel and output in parallel, can be input in series and output in series, can be input in parallel and output in series, or can be input in series and output in parallel, so that the method is very flexible.
Bridge piece (Platform Controller Hub, PCH): also known as a south bridge, the south bridge chip is responsible for communication between I/O buses, such as PCI Bus, Universal Serial Bus (USB), Local Area Network Bus (LAN), Advanced Technology Attachment (ATA), Serial Advanced Technology Attachment (SATA), audio control Bus, keyboard control Bus, real-time clock control Bus, Advanced power management Bus, and the like.
Power Supply Button (PWRBTN) signal: for controlling the operation of the electronic device.
Fig. 1 is a schematic view of an installation arrangement of electronic devices according to the present invention, taking the electronic devices as a server 110 as an example, in order to save space, the server 110 is often placed on racks 120 in the manner shown in fig. 1, the distance between each layer of racks is small, and only one server can be accommodated in the vertical direction. On the same level of the rack, there may be multiple servers, with each server in close contact. Because one server is close to other servers, when a maintenance person carries out rack loading and unloading operations on any server, the maintenance person is easy to touch the equipment power button of other servers adjacent to the server, and if the server in the running state exists, the server in the running state is abnormally shut down due to the fact that the equipment power button is touched. Of course, for the terminal, if the arrangement of the terminal is compact, there is a problem like the server.
Referring to fig. 2, the present invention provides a power button assembly for an electronic device, the power button assembly comprising: a device power button 1 and a first control chip 2. The device power button 1 is arranged on a shell of the electronic device, the device power button 1 is used for controlling the connection and disconnection between a grounding end of the electronic device and a first power supply interface of a mainboard of the electronic device, and the first power supply interface is powered by the power module. The device power button 1 is further used for controlling on-off between a grounding end of the electronic device and a first end of the first control chip 2, and the first end of the first control chip 2 is connected with the first power supply interface through a wire. The second end of the first control chip 2 is connected with the equipment bridge piece 3 on the mainboard through a conducting wire, and the equipment bridge piece 3 is used for controlling the operation of the electronic equipment. The first control chip 2 is used for detecting the level of the first end, and if the detected levels meet the target condition, sending a control signal to the device bridge piece 3, wherein the control signal is used for controlling the starting and closing of the electronic device. If the plurality of levels do not meet the target condition, no control signal is sent to the device bridge chip.
Optionally, the power module is an external power module or an internal power module, and if the power module is the external power module, the first power supply interface is powered by an external power supply. If power module is internal power module, then first power supply interface is supplied power by battery or disposable battery, the embodiment of the utility model provides a do not limit to this.
The principle of the utility model is as follows:
first, referring to fig. 2, the basic structure of the circuit is described, and since the first power supply interface 202 is powered by the power supply module, the first power supply interface 202 can provide a stable high level, such as 5V. Since the first terminal of the first control chip 2 is connected to the first power supply interface 202 through a wire, the first terminal of the first control chip 2 can detect the high level of 5V when the device power button 1 is not pressed. When the device power button 1 is pressed, the ground terminal 201 is conducted with the first power supply interface 202, and the first terminal of the first control chip 2 is conducted with the ground terminal 201. Since the first power supply interface 202 is conducted with the ground terminal 201, the level of the position where the first power supply interface 202 is located changes from the high level 5V to the low level 0V, and therefore, the first end of the first control chip 2 can detect the low level 0V. When the device power button 1 pops up, the ground terminal 201 is disconnected from the first power supply interface 202, the first terminal of the first control chip 2 is disconnected from the ground terminal 201, and the first control chip 2 can detect the high level 5V again.
The following description will be made, with reference to the basic structure of the circuit, for the case where the maintenance person controls the operation of the electronic device through the device power button 1, and the maintenance person mistakenly touches the power button 1 of another electronic device, respectively:
for the case that the maintenance personnel control the operation of the electronic device through the device power button 1, the maintenance personnel trigger the high and low levels of different combinations by performing the operation according with the target operation condition on the device power button 1. If the multiple levels meet the target condition, the following steps are carried out: the level is high → low → high, and then the maintenance person presses the device power button 1, the first terminal of the first control chip 2 detects the change from high level to low level, that is, high → low is realized. When the maintenance personnel releases the equipment power button 1, the power button 1 bounces, and the first end of the first control chip 2 detects that the low level is changed into the high level, namely, high → low → high is realized. When the maintenance person presses the device power button 1 again, the first terminal of the first control chip 2 detects that the high level changes to the low level, that is, high → low → high → low is realized. The serviceman releases the apparatus power button 1 and the level completes the change of high → low → high. In response to the first end of the first control chip 2 detecting that the level changes to high → low → high, it indicates that the maintenance person performs an operation on the device power button 1 according to the target operation condition, the multiple levels triggered by the device power button 1 meet the target condition, the device power button 1 is activated, and the maintenance person can continue to send a control signal to the device bridge 3 through the device power button 1, for example, the maintenance person can control the electronic device to start or stop by pressing the device power button 1 for a short time, press the device power button 1 for a long time, and control the electronic device to forcibly stop.
For the situation that the maintainer mistakenly touches the power button 1 of other electronic equipment, if the maintainer carelessly presses the power button 1 of the adjacent electronic equipment in the process of maintaining the electronic equipment, the equipment bridge piece 3 cannot directly detect the change of the level because the first control chip 2 isolates the first power supply interface from the equipment bridge piece 3, and therefore the equipment bridge piece 3 cannot control the starting or the closing of the electronic equipment. The first end of the first control chip 2 can detect the change of the level, and the first control chip 2 verifies the detected level and determines whether the detected level meets the target condition. Because the level that detects is that maintainer mistake touches equipment power button 1 and triggers, this level often is not conform to the target condition, first control chip 2 does not send control signal to equipment bridge piece 3 so, equipment bridge piece 3 still can not receive control signal, just also can't control electronic equipment's start or close to when taking place maintainer mistake to touch adjacent electronic equipment's equipment power button 1, adjacent electronic equipment also can not be started or closed by accident, the stability of electronic equipment operation has been improved.
Under the design, a maintainer can trigger the level through the device power button 1, the triggered level is verified by the first control chip, and if the triggered level meets the target condition, the maintainer can control the electronic device to be started or closed through the device power button 1. When the equipment maintainer goes up and down the shelf to maintain a certain electronic equipment, even if the equipment power button 1 of the adjacent electronic equipment is touched carelessly, the running state of the adjacent electronic equipment cannot be influenced, and the fault caused by the accidental closing of the adjacent electronic equipment due to the mistaken touch of the equipment power button 1 is avoided. That is to say, through the utility model provides a technical scheme can avoid the mistake to touch equipment power button 1 and the electronic equipment that leads to starts or closes beyond the prerequisite of guaranteeing that maintainer carries out normal maintenance to electronic equipment, has improved the stability of electronic equipment operation.
Alternatively, the maintenance person can set the target condition as needed, and if the target condition is set such that the first control chip 2 detects that the change in the level is high → low → high, when the maintenance person presses the device power button 1 twice in succession, the triggered level can also satisfy the target condition.
On the basis of the above setting, the maintenance personnel can also add verification to the time for pressing the device power button 1, for example, the operation corresponding to the level meeting the target condition is to press the device power button 1 twice in a short time, or press the device power button 1 one short and one long, or press the device power button 1 one second in an intermediate interval, press the device power button 1 one long and one short, or press the device power button 1 one second in an intermediate interval, and so on, which is not limited by the embodiment of the present invention, where "long" and "short" indicate that the durations for pressing the device power button 1 are different, and will be described below by way of several examples.
For short pressing of the device power button 1 twice, optionally, the maintenance person sets a reference time length on the first control chip 2, for example, 0.5 second, and if the duration of the low level detected twice consecutively by the first control chip 2 is less than or equal to 0.5 second, which indicates that the operation of the device power button 1 by the maintenance person is short pressing twice consecutively, the first control chip 2 sets the device power button 1 to the activated state.
Taking the example of pressing the device power button 1 by a short time and a long time, optionally, the maintenance person sets a reference time length on the first control chip 2, for example, 0.5 second, and if the duration of the first control chip 2 detecting the low level for the first time is less than or equal to 0.5 second and the duration of the second detecting the low level is greater than 0.5 second, this indicates that the maintenance person operates the device power button by a short time and a long time, and the first control chip 2 sets the device power button 1 to the activated state.
Taking the example of pressing the device power button 1 one second at an intermediate interval of one short and one long, optionally, the maintenance person sets a reference time length on the first control chip 2, for example, 0.5 second, if the duration of the first control chip 2 detecting the low level for the first time is less than or equal to 0.5 second, the second time detecting the low level is greater than 0.5 second, and the time interval of detecting the low level for two times is greater than or equal to 1 second, which means that the maintenance person presses the device power button one second at an intermediate interval of one short and one long, and the first control chip 2 sets the device power button 1 to the activated state.
Of course, the maintainer can set the target condition as a change in the level detected by the first control chip 2 to be high → low → high, or set the target condition as a change in the level detected by the first control chip 2 to be high → low → high → low → high, or set the target condition as a change in other levels, which is not limited by the embodiment of the present invention.
In one possible design, the power button assembly further includes: and the light-emitting component 4 is arranged on the shell of the electronic device, and the light-emitting component 4 is connected with the third end of the first control chip 2 through a lead. The first control chip 2 is further configured to control the light emitting component 4 to emit light after the plurality of levels meet the target condition.
Under the design, when the operation of the maintenance personnel on the equipment power button 1 meets the target condition, the first control chip 2 can control the light-emitting component 4 to emit light, the maintenance personnel can determine that the equipment power button 1 is in an activated state after seeing that the light-emitting component 4 emits light, and the starting and the closing of the electronic equipment can be controlled by operating the equipment power button 1.
Taking the operation corresponding to the level meeting the target condition as two consecutive short presses of the device power button 1 as an example, referring to fig. 3, the light emitting component 4 is arranged on the device power button 1, after the maintainer presses the device power button 1 twice, the first control chip 2 detects two low levels with short duration, the light emitting component 4 on the device power button 1 is controlled to emit light, and the maintainer can control the electronic device to be started and shut down through the device power button 1 after seeing that the light emitting component 4 emits light.
Optionally, the Light Emitting element 4 is a Light Emitting Diode (LED) including a first end and a second end, and when the level of the second end is higher than that of the first end, the LED is turned on to emit Light. The first end of the light emitting diode is connected with the grounding end of the electronic equipment, and the second end of the light emitting diode is connected with the third end of the first control chip 2. When the device power button 1 is not in the activated state, the third terminal of the first control chip 2 is at a low level, that is, the level of the second terminal of the light emitting diode is less than or equal to the level of the first terminal, and the light emitting diode does not emit light. When the device power button 1 is in an activated state, the third terminal of the first control chip 2 becomes a high level, that is, the level of the second terminal of the light emitting diode is greater than that of the first terminal, and the light emitting diode emits light.
In addition, after the device power button 1 is activated, if the first control chip 2 does not detect the change of the level within the target time period, then the first control chip 2 releases the activated state of the device power button 1, and the second target time period is set by the device maintenance personnel according to the actual situation, for example, 5 seconds, which is not limited by the embodiment of the present invention. If the maintenance personnel need to control the operation of the electronic equipment through the equipment power button 1, the operation meeting the target operation condition needs to be executed on the equipment power button 1 again.
In one possible design, the first control chip 2 includes an input/output unit 21, a logic unit 22, and a register 23, and the logic unit 22 is connected to the input/output unit 21 and the register 23 through wires. The input/output unit 21 is configured to continue to detect the first level of the first terminal after the plurality of levels meet the target condition. The logic unit 22 is configured to translate the first level into an instruction encoding, the instruction encoding being associated with a high or low level and a duration of the first level. The register 23 is used to store instruction encodings. The input and output unit 21 is further configured to read the instruction code in the register 23, and convert the instruction code into a control signal corresponding to the instruction code. The input and output unit 21 is also used for sending a control signal corresponding to the command code to the device bridge 3.
Optionally, the first control chip 2 is a CPLD.
Under the design, the first control chip 2 stores the instruction code corresponding to the first level in the register 23, and then can send the control signal corresponding to the instruction code in the register 23 to the device bridge 3, so as to realize the control of starting and closing the electronic device.
The principle of the above design is explained as follows: when the device power button 1 is activated, the maintenance person presses the device power button 1 again to trigger the first level, for example, the maintenance person presses the device power button 1 for a short time, the triggered first level is high → low → high, the logic unit 22 converts the first level high → low → high into the command code 101, and the input/output unit 21 converts the command code 101 into a control signal corresponding to the command code 101, for example, a PWRBTN signal. The input/output unit 21 transmits the PWRBTN signal to the device bridge 3, and the device bridge 3 controls the electronic device to be turned on or off in response to the PWRBTN signal.
For example, after the first control chip 2 detects that the level meets the target condition, if the input/output unit 21 detects that the first terminal is at a low level, that is, it indicates that the device power button 1 is pressed, the logic unit 22 writes a command code corresponding to the low level, such as 0, into the register 23. If the duration of the low level of the first end detected by the input/output unit 21 is greater than or equal to the time threshold, the logic unit 22 writes 0 again into the register 23, and so on, where the time threshold is set by the maintenance personnel according to the actual situation, for example, set to 0.5s or 0.3s, and the embodiment of the present invention does not limit this. If the i/o unit 21 detects a high level, i.e. it indicates that the device power button 1 pops up, the logic unit 22 writes a command code corresponding to the high level, for example, 1, into the register 23. After that, the input/output unit 21 converts the instruction code, such as 101, in the register 23 into a control signal corresponding to 101, such as a PWRBTN signal, and sends the PWRBTN signal to the device bridge 3, and the device bridge 3 controls the electronic device to be turned on and off.
In one possible design, referring to fig. 5, the power button assembly further includes: a second control chip 5. The second control chip 5 is connected with the first control chip 2 through a wire. The second control chip 5 is used for writing to the register 23. That is, when the maintenance person controls the start or the shutdown of the electronic device through the device power button 1, the second control chip 5 can determine whether an event triggered by pressing the device power button 1 can be executed according to the operating state of the electronic device, and if it is determined that the event needs to be executed, the second control chip 5 sends the event to the first control chip 2, and the first control chip 2 sends a control signal to the device bridge 3 to execute the event. If the event is determined not to be executed, the second control chip 5 discards the event, that is, deletes the instruction code corresponding to the event from the register 23, or changes the instruction code in the register 23.
Optionally, the second control chip 5 is a BMC. The second control chip 5 is also connected with an environment sensor arranged on the electronic device through a wire. The environment sensor is used for sending an environment signal to the second control chip 5, and the environment signal is used for indicating the temperature and the humidity of the environment where the electronic equipment is located. The second control chip 5 is used for writing operation to the register 23 through the environment signal.
For example, when the device power button 1 is in an activated state, the environment sensor sends a current corresponding to the environment temperature where the electronic device is located, for example, 0.4A, to the BMC, and the BMC obtains that the environment temperature where the electronic device is located is 40 ℃ according to the current 0.4A. If the maximum operating environment temperature of the electronic device set in the BMC is 35 ℃, the BMC performs a write operation on the register 23, and discards the instruction code in the register 23, for example, deletes the instruction code 01 originally used for starting the electronic device. If the electronic device is already in the operating state, a maintainer wants to control the electronic device to sleep through the device power button 1, the operation corresponding to the electronic device sleep is to press the device power button 1 for two times, after the maintainer presses the device power button 1 for two times, the logic unit writes the instruction code 0101 into the register 23, because some electronic devices are still in the operating state in the sleep state, in order to protect the electronic devices, the BMC writes the instruction code in the register 23, for example, the instruction code 0101 corresponding to the sleep is modified into the instruction code 01 corresponding to the shutdown, so that the safety of the electronic device can be ensured to the greatest extent, wherein 0 represents low level, and 1 represents high level.
Of course, the maintainer may also set the lowest operating environment temperature of the electronic device on the BMC, for example, 5 ℃, and the BMC performs the write operation on the register 23 in response to that the temperature indicated by the current sent to the second control chip 5 by the environment sensor is less than 5 ℃, where the write mode and the environment temperature where the electronic device is located are greater than the highest operating environment temperature, which belong to the same concept, and are not described herein again.
It should be noted that the maximum operating environment temperature and the minimum operating environment temperature of the electronic device are set only for convenience of understanding, and the maintainer can set the maximum operating environment temperature and the minimum operating environment temperature of the electronic device in the BMC according to actual situations, for example, the maximum operating environment temperature is set to 30 ℃ or 45 ℃, the minimum operating environment temperature is set to 10 ℃ or-5 ℃, and the like, which is not limited by the embodiment of the present invention.
In addition, the maintenance personnel can also set the maximum operating environment Humidity and the minimum operating environment Humidity of the electronic device in the BMC, for example, the maximum operating environment Humidity is set to 60% Relative Humidity (RH), and the minimum operating environment Humidity is set to 20% RH. If the environmental humidity of the electronic equipment is higher than the highest operating environmental humidity, the electronic devices in the electronic equipment are easily conductive, so that short circuit is caused to cause abnormal operation of the electronic equipment. If the environmental humidity of the electronic device is less than the minimum operating environmental humidity, static electricity is easily generated on the electronic device in the electronic device, which may cause the electronic device to be broken down by the static electricity to cause abnormal operation of the electronic device. The BMC can write to the register 23 through the ambient humidity measured by the ambient sensor.
It should be noted that the maximum operating environment humidity and the minimum operating environment humidity of the electronic device are set only for convenience of understanding, and the maintainer can set the maximum operating environment humidity and the minimum operating environment humidity of the electronic device in the BMC according to actual situations, for example, set the maximum operating environment humidity to 50% or 45%, set the minimum operating environment humidity to 10% or 30%, and the like.
In one possible design, the first control chip 2 is further configured to send a control signal to the device bridge chip 3 in response to the second control chip 5 not operating for a first target time period after receiving the first level.
Under the design, the first control chip 2 can directly send a control signal to the device bridge piece 3 without waiting for the instruction of the second control chip 5 when the second control chip 5 is in an abnormal state, so that the normal work of the power button assembly is ensured.
For example, the first control chip 2 detects the running state of the second control chip 5 in real time, and in response to that the second control chip 5 does not run within the first target time length, the first control chip 2 does not wait for the read-write operation of the second control chip 5 on the register 23 any more, the first control chip 2 sends a control signal to the device bridge piece 3, and the device bridge piece 3 controls the start or the close of the electronic device through the control signal, so that the abnormal on-off of the electronic device caused by the dead-hanging of the BMC is avoided. Or, when the first control chip 2 detects that the second control chip 5 does not operate the device power button 1 by the maintenance personnel, the second control chip 5 performs the write operation on the register 23, then the first control chip 2 interrupts the communication with the second control chip 5, that is, the read-write operation of the register 23 by the second control chip 5 is shielded, and the first control chip 2 controls the start or the stop of the electronic device.
In one possible design, referring to fig. 6, the second control chip 5 is wired to the device bridge 3. The second control chip 5 is further configured to read an instruction code in the register, convert the instruction code into a control signal corresponding to the instruction code, and send the control signal corresponding to the instruction code to the device bridge 3.
Under the design, the second control chip 5 can directly obtain the instruction code from the register 23, and after converting the instruction code into the corresponding control signal, the control signal is sent to the device bridge piece 3, that is, after the second control chip 5 performs the write operation on the instruction code in the register 23, the control signal corresponding to the written instruction code can be directly sent to the device bridge piece 3, the written instruction code does not need to be sent to the first control chip 2, and the first control chip 2 sends the modified control signal corresponding to the instruction code to the device bridge piece 3, so that the overhead of sending the control signal is reduced, and the efficiency of sending the control signal is improved.
Through the technical scheme provided by the utility model, be connected equipment power button and first control chip, first control chip can be when the level that detects is not conform to the target condition, the shielding equipment bridge piece is to the detection of level, at the in-process that maintainer was putting on or off the shelf to electronic equipment, even if having touched certain electronic equipment's equipment power button carelessly, this electronic equipment can not directly take place to shut down or start yet to avoid the unusual start or the condition of shutting down of electronic equipment.
The utility model discloses except providing a power button subassembly for electronic equipment, still provide an electronic equipment, see fig. 7, electronic equipment includes shell 701, mainboard 702, equipment power 703 and power button subassembly, and mainboard 702 and equipment power 703 are located the inside of shell.
The main board 702 includes a plurality of electronic components, including the device bridge 3.
The device power button 1 is disposed on a housing 701 of the electronic device, and the device power button 1 is configured to control on/off between a ground terminal of the electronic device and a first power supply interface of a motherboard 702 of the electronic device, where the first power supply interface is powered by the power module. The device power button 1 is further used for controlling on-off between a grounding end of the electronic device and a first end of the first control chip 2, and the first end of the first control chip 2 is connected with the first power supply interface through a wire. The second end of the first control chip 2 is connected with the equipment bridge piece 3 on the mainboard through a conducting wire, and the equipment bridge piece 3 is used for controlling the operation of the electronic equipment. The first control chip 2 is used for detecting the level of the first end, and if the detected levels meet the target condition, sending a control signal to the device bridge piece 3, wherein the control signal is used for controlling the starting and closing of the electronic device. If the plurality of levels do not meet the target condition, no control signal is sent to the device bridge piece 3.
In one possible design, the power button assembly further includes: and the light-emitting component is arranged on the shell 701 of the electronic device, and the light-emitting component is connected with the third end of the first control chip 2 through a lead. The first control chip 2 is further configured to control the light emitting component to emit light after the plurality of levels meet the target condition.
In one possible design, the light emitting assembly is provided on the device power button 1.
In one possible design, the first control chip 2 includes input-output units, logic units and registers. The logic unit is respectively connected with the input/output unit and the register through wires. The input and output unit is used for continuously detecting the first level of the first end after the plurality of levels meet the target condition. The logic unit is used for converting the first level into an instruction code, and the instruction code is associated with the high level, the low level and the duration of the first level. The register is used for storing instruction codes. The input and output unit is also used for reading the instruction codes in the register and converting the instruction codes into control signals corresponding to the instruction codes. The input and output unit is also used for sending a control signal corresponding to the command code to the device bridge 3.
In one possible design, the power button assembly further includes: a second control chip 5. The second control chip 5 is connected with the first control chip 2 through a wire. The second control chip 5 is used for writing the register.
In one possible embodiment, the second control chip 5 is also connected to an environmental sensor provided on the electronic device by a wire. The environment sensor is used for sending an environment signal to the second control chip 5, and the environment signal is used for indicating the temperature and the humidity of the environment where the electronic equipment is located. The second control chip 5 is used for writing the register through the environment signal.
In one possible design, the first control chip 2 is further configured to send a control signal to the device bridge chip 3 in response to the second control chip 5 not operating for a first target time period after receiving the first level.
In one possible design, the second control chip 5 is connected to the device bridge 3 by a wire. The second control chip 5 is further configured to read the instruction code in the register, and send a control signal corresponding to the instruction code to the device bridge 3.
In one possible design, the first control chip 2 is a CPLD.
It should be noted that: the electronic device provided by the above embodiment and the power button assembly embodiment for the electronic device belong to the same concept, and the specific implementation process thereof is described in detail in the foregoing description and is not described again here.
Through the technical scheme provided by the utility model, be connected equipment power button and first control chip, first control chip can be when the level that detects is not conform to the target condition, the shielding equipment bridge piece is to the detection of level, at the in-process that maintainer was putting on or off the shelf to electronic equipment, even if having touched certain electronic equipment's equipment power button carelessly, this electronic equipment can not directly take place to shut down or start yet to avoid the unusual start or the condition of shutting down of electronic equipment.
The above description is only an alternative embodiment of the present invention, and is not intended to limit the present invention, and any modifications, equivalent replacements, improvements, etc. made within the spirit and principle of the present invention should be included within the protection scope of the present invention.

Claims (10)

1. A power button assembly for an electronic device, the power button assembly comprising: the device comprises a device power button and a first control chip;
the device power button is arranged on a shell of the electronic device and used for controlling the connection and disconnection between a grounding end of the electronic device and a first power supply interface of a mainboard of the electronic device, and the first power supply interface is powered by a power module;
the equipment power supply button is also used for controlling the connection and disconnection between the grounding end of the electronic equipment and the first end of the first control chip, and the first end of the first control chip is connected with the first power supply interface through a wire;
the second end of the first control chip is connected with an equipment bridge piece on the mainboard through a lead, and the equipment bridge piece is used for controlling the operation of the electronic equipment;
the first control chip is used for detecting the level of the first end, and if the detected levels meet a target condition, sending a control signal to the equipment bridge piece, wherein the control signal is used for controlling the starting and the closing of the electronic equipment;
and if the plurality of levels do not meet the target condition, not sending the control signal to the equipment bridge piece.
2. The power button assembly as recited in claim 1, further comprising: the light-emitting component is arranged on a shell of the electronic equipment and is connected with the third end of the first control chip through a lead;
the first control chip is further used for controlling the light-emitting component to emit light after the plurality of levels meet the target condition.
3. The power button assembly of claim 2, wherein the light emitting assembly is disposed on the device power button.
4. The power button assembly according to claim 1, wherein the first control chip includes an input-output unit, a logic unit, and a register;
the logic unit is respectively connected with the input/output unit and the register through wires;
the input/output unit is used for continuously detecting a first level of a first end after the levels meet the target condition;
the logic unit is used for converting the first level into an instruction code, and the instruction code is associated with the high level, the low level and the duration of the first level;
the register is used for storing the instruction codes;
the input and output unit is also used for reading the instruction codes in the register and converting the instruction codes into control signals corresponding to the instruction codes;
and the input and output unit is also used for sending a control signal corresponding to the instruction code to the equipment bridge chip.
5. The power button assembly as recited in claim 4, further comprising: a second control chip;
the second control chip is connected with the first control chip through a lead;
the second control chip is used for writing operation to the register.
6. The power button assembly as recited in claim 5, wherein the second control chip is further wired to an environmental sensor disposed on the electronic device;
the environment sensor is used for sending an environment signal to the second control chip, and the environment signal is used for indicating the temperature and the humidity of the environment where the electronic equipment is located;
the second control chip is used for writing the register through the environment signal.
7. The power button assembly of claim 5, wherein the first control chip is further configured to send the control signal to the device bridge in response to the second control chip not operating for a first target length of time after detecting the first level.
8. The power button assembly of claim 5, wherein the second control chip is wired to the device bridge;
the second control chip is further configured to read an instruction code in the register, convert the instruction code into a control signal corresponding to the instruction code, and send the control signal corresponding to the instruction code to the device bridge.
9. The power button assembly as recited in claim 1, wherein the first control chip is a CPLD.
10. An electronic device comprising a housing, a motherboard, a device power supply, and a power button assembly, the motherboard and the device power supply being located inside the housing;
wherein the motherboard comprises a plurality of electronic components including a device bridge;
the equipment power button is arranged on a shell of the electronic equipment and used for controlling the connection and disconnection between a grounding end of the electronic equipment and a first power supply interface of a mainboard of the electronic equipment, and the first power supply interface is powered by a power module;
the equipment power supply button is also used for controlling the connection and disconnection between the grounding end of the electronic equipment and the first end of the first control chip, and the first end of the first control chip is connected with the first power supply interface through a wire;
the second end of the first control chip is connected with the equipment bridge piece on the mainboard through a lead, and the equipment bridge piece is used for controlling the operation of the electronic equipment;
the first control chip is used for detecting the level of the first end, and if the detected levels meet a target condition, sending a control signal to the equipment bridge piece, wherein the control signal is used for controlling the starting and the closing of the electronic equipment;
and if the plurality of levels do not meet the target condition, not sending the control signal to the equipment bridge piece.
CN202021829526.8U 2020-08-26 2020-08-26 Power button assembly for electronic equipment and electronic equipment Active CN212933467U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202021829526.8U CN212933467U (en) 2020-08-26 2020-08-26 Power button assembly for electronic equipment and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202021829526.8U CN212933467U (en) 2020-08-26 2020-08-26 Power button assembly for electronic equipment and electronic equipment

Publications (1)

Publication Number Publication Date
CN212933467U true CN212933467U (en) 2021-04-09

Family

ID=75301145

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202021829526.8U Active CN212933467U (en) 2020-08-26 2020-08-26 Power button assembly for electronic equipment and electronic equipment

Country Status (1)

Country Link
CN (1) CN212933467U (en)

Similar Documents

Publication Publication Date Title
US7039918B2 (en) Service processor and system and method using a service processor
US8074114B2 (en) Motherboard error detection system
US20070028129A1 (en) Power monitoring for processor module
RU2013100005A (en) SYSTEMS AND METHODS OF INTELLECTUAL AND FLEXIBLE MANAGEMENT AND CONTROL OF COMPUTER SYSTEMS
CN110941323B (en) Computer implementation method, computing device and computer readable storage medium
CN108874628A (en) A kind of computer motherboard health and fitness information intelligent management apapratus
CN112306821A (en) State indication method, device, equipment and storage medium of server system
CN210781389U (en) Server mainboard heating circuit
CN212933467U (en) Power button assembly for electronic equipment and electronic equipment
CN102221865A (en) Infrared control system
US20120136501A1 (en) Computer chassis system
CN110096105A (en) The method for controlling power-supply unit
CN111522757B (en) Interrupt reading and clearing control method based on I2C bus
CN114816539A (en) Equipment board card, electronic equipment and control method of equipment board card
CN103678060A (en) Self-repairing device for computer mainboard
US20130021161A1 (en) Indication circuit for indicating running status of electronic devices
US20140164815A1 (en) Server analyzing system
TWM573853U (en) Monitoring device
CN114756421A (en) Hot removal processing system and method for peripheral expansion equipment of FPGA prototype verification system
CN111005892B (en) Adaptive fan circuit, system, electronic equipment and fan detection method
CN100595715C (en) Signal processing circuit
CN108089959B (en) Mainboard detection circuit and electronic device applying same
CN111338911A (en) Server hard disk indicator lamp control system and control method thereof
CN101930381A (en) Debugging system of server
CN214795825U (en) Computer expansion card based on internet of things technology

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant