CN112363606A - Power supply control method and device, electronic equipment and readable storage medium - Google Patents

Power supply control method and device, electronic equipment and readable storage medium Download PDF

Info

Publication number
CN112363606A
CN112363606A CN202010990219.6A CN202010990219A CN112363606A CN 112363606 A CN112363606 A CN 112363606A CN 202010990219 A CN202010990219 A CN 202010990219A CN 112363606 A CN112363606 A CN 112363606A
Authority
CN
China
Prior art keywords
signal
pulse
distribution
switching value
control
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010990219.6A
Other languages
Chinese (zh)
Other versions
CN112363606B (en
Inventor
侯帅
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Renge Technology Co ltd
Original Assignee
Beijing Renge 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 Beijing Renge Technology Co ltd filed Critical Beijing Renge Technology Co ltd
Priority to CN202010990219.6A priority Critical patent/CN112363606B/en
Publication of CN112363606A publication Critical patent/CN112363606A/en
Application granted granted Critical
Publication of CN112363606B publication Critical patent/CN112363606B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/263Arrangements for using multiple switchable power supplies, e.g. battery and AC

Abstract

The invention relates to a power supply control method, a power supply control device, electronic equipment and a readable storage medium, belongs to the technical field of power supply control, and is used for improving the reliability of a power supply control process.

Description

Power supply control method and device, electronic equipment and readable storage medium
Technical Field
The present disclosure relates to the field of power control, and in particular, to a power control method and apparatus, an electronic device, and a readable storage medium.
Background
When performing centralized power control on a terminal device cluster, how to improve the reliability of power control of the terminal device is a problem that is addressed by those skilled in the art.
Disclosure of Invention
According to the embodiment disclosed by the application, in order to improve the reliability of power control of the terminal equipment, a power control method, a power control device, the electronic equipment and a scheme of a readable storage medium are provided.
In a first aspect disclosed in an embodiment of the present application, a power supply control method is provided. The method is applied to a controller and comprises the following steps:
acquiring a switching value control signal which reflects the operation of controlling the power supply of the terminal equipment to start;
generating a pulse signal according to the switching value control signal;
determining signal distribution information, and sending the pulse signals to a plurality of specified signal distributors according to the signal distribution information;
determining a pulse distribution signal according to a preset corresponding rule and the switching value control signal; the preset corresponding rule reflects the corresponding relation between the switching value control signal and a relay for controlling a terminal equipment power supply and the corresponding relation between an output pin of a signal distributor and the relay; the pulse distribution signals are used for respectively controlling the signal distributors to sequentially distribute the pulse signals to corresponding output pins according to frequency determination so as to form continuous pulse signals for controlling the power supply of the relay and the terminal equipment to be started.
By adopting the technical scheme, when the power supply of the operation terminal equipment is started, the controller acquires the switching value control signal, generates the pulse signal according to the switching value control signal and sends the pulse signal to the plurality of signal distributors. The controller determines pulse distribution signals according to the corresponding relation among the output pins of the signal distributors, the relays and the switching value control signals, and controls the signal distributors to distribute the pulse signals to the corresponding output pins in sequence according to the frequency of according to the pulse distribution signals, so that continuous pulse signals for controlling the relays and the terminal equipment to be started with energy are formed. Because the pulse signals output by the signal distributors jointly form the continuous pulse signals determined according to the frequency, when one or a limited number of lines have abnormal faults between the controller and the signal distributors and/or between the signal distributors and the relay, and the pulse control signals cannot be output by one or a limited number of signal distributors, the continuous pulse signals can still be formed by the normal work of other signal distributors, the relay and the terminal equipment are continuously controlled to be normally powered on, namely, the power supply starting work of the terminal equipment cannot be influenced by the abnormal faults occurring in the connection of one or a limited number of lines, so that the stability and the reliability of the power supply control process of the terminal equipment are improved.
As with the above-described aspects and any possible implementations, there is further provided an implementation, further comprising:
acquiring the continuous pulse signal;
judging whether the continuous pulse signals are normal or not according to the pulse distribution signals;
if not, generating a notification message according to the pulse distribution signal and the continuous pulse signal, wherein the notification message reflects the identifier of the signal distributor which cannot normally perform pulse signal distribution work.
The above-mentioned aspect and any possible implementation manner further provide an implementation manner, where after determining whether the continuous pulse signal is normal according to the pulse allocation signal, the method further includes:
if not, generating a distribution adjusting signal according to the continuous pulse signal and the pulse distribution signal, wherein the distribution adjusting signal is used for adjusting the pulse distribution signal so as to adjust the continuous pulse signal.
In a second aspect disclosed in an embodiment of the present application, there is provided a power supply control device. The apparatus includes a controller, the controller including:
the switching signal acquisition module is used for acquiring a switching value control signal which reflects the operation of controlling the power supply of the terminal equipment to be started;
the pulse signal generating module is used for generating a pulse signal according to the switching value control signal;
the pulse signal distribution module is used for determining signal distribution information and sending the pulse signals to a plurality of specified signal distributors according to the signal distribution information;
the pulse distribution control module is used for determining a pulse distribution signal according to a preset corresponding rule and the switching value control signal; the preset corresponding rule reflects the corresponding relation between the switching value control signal and a relay for controlling a terminal equipment power supply and the corresponding relation between an output pin of a signal distributor and the relay; the pulse distribution signals are used for respectively controlling the signal distributors to sequentially distribute the pulse signals to corresponding output pins according to frequency determination so as to form continuous pulse signals for controlling the power supply of the relay and the terminal equipment to be started.
As with the above-described aspects and any possible implementations, there is further provided an implementation, further comprising:
the continuous pulse acquisition module is used for acquiring the continuous pulse signal;
the signal state judging module is used for judging whether the continuous pulse signals are normal or not according to the pulse distribution signals;
and the notification message generating module is used for generating a notification message according to the pulse distribution signal and the continuous pulse signal when the signal state judging module judges that the signal state judging module does not judge that the signal state judging module does not.
As with the above-described aspects and any possible implementations, there is further provided an implementation, further comprising:
and the pulse distribution adjusting module is used for generating a distribution adjusting signal according to the continuous pulse signal and the pulse distribution signal when the signal state judging module judges that the continuous pulse signal and the pulse distribution signal are not the same, and the distribution adjusting signal is used for adjusting the pulse distribution signal so as to adjust the continuous pulse signal.
As with the above-described aspects and any possible implementations, there is further provided an implementation, further comprising:
the switching value signal acquisition module is connected with the controller and is used for acquiring the switching value control signal;
the switching value acquisition module comprises: the switching key, the signal interface and a plurality of control keys corresponding to the relay and the terminal equipment;
the signal interface is used for connecting external control equipment to acquire a switching value control signal from the external control equipment;
outputting the switching value control signal when the control key is pressed;
the switching key is used for controlling the switching value acquisition module to acquire the switching value control signal accessed by the signal interface or the switching value control signal output by the control key.
As with the above-described aspects and any possible implementations, there is further provided an implementation, further comprising:
a plurality of signal distributors and relays corresponding to the terminal devices one by one;
the input pin and the control pin of the signal distributor are respectively connected with the controller, and the output pins are respectively connected with the relay;
the relay is used for controlling the power supply of the terminal equipment to be started.
In a third aspect of the disclosure, an electronic device is provided. The electronic device includes: a memory having stored thereon a computer program and a processor implementing the method according to the first aspect as disclosed in an embodiment of the application when executing the program.
In a fourth aspect of the present disclosure, a computer-readable storage medium is provided, on which a computer program is stored, which when executed by a processor implements a method according to the first aspect as disclosed in an embodiment of the present application.
It should be understood that the statements herein reciting aspects are not intended to limit the critical or essential features of the embodiments of the present disclosure, nor are they intended to limit the scope of the present disclosure. Other features of the present disclosure will become apparent from the following description.
Drawings
The above and other features, advantages and aspects of various embodiments of the present disclosure will become more apparent by referring to the following detailed description when taken in conjunction with the accompanying drawings. In the drawings, like or similar reference characters designate like or similar elements, and wherein:
fig. 1 shows a flowchart of a power supply control method in an embodiment of the present application.
Fig. 2 shows a block diagram of a power supply control apparatus in an embodiment of the present application.
Fig. 3 shows a block diagram of the controller of fig. 2.
Fig. 4 shows a schematic structural diagram of a control device suitable for implementing an embodiment of the present application.
Fig. 5 shows a schematic structural diagram of a control device suitable for implementing an embodiment of the present application.
Detailed Description
To make the objects, technical solutions and advantages of the embodiments of the present disclosure more clear, the technical solutions of the embodiments of the present disclosure will be described clearly and completely with reference to the drawings in the embodiments of the present disclosure, and it is obvious that the described embodiments are some, but not all embodiments of the present disclosure. All other embodiments, which can be derived by a person skilled in the art from the embodiments disclosed herein without making any creative effort, shall fall within the protection scope of the present disclosure.
In addition, the term "and/or" herein is only one kind of association relationship describing an associated object, and means that there may be three kinds of relationships, for example, a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" herein generally indicates that the former and latter related objects are in an "or" relationship.
The present application is described in further detail below with reference to figures 1-5.
The power control is to control the on and off of the power of the terminal equipment.
The voltage class of the terminal equipment power supply loop is generally higher, and in view of safety and the like, the terminal equipment power supply circuit with a higher voltage class is generally controlled by a control circuit with a lower voltage class, so that a voltage class isolation device such as a relay needs to be applied.
In the related art, a control device is generally selected to control a terminal device in conjunction with a relay. Specifically, the control equipment is connected with a relay, and the contact of the relay is connected in series with a power supply loop of the terminal equipment. The relay can be controlled through the control equipment, and then the connection of the terminal equipment and the power supply loop is controlled through the contact of the relay.
When the power supply of the terminal equipment cluster is controlled by the related technology, the control equipment generally adopts a plurality of relatively independent circuits, a plurality of relays and corresponding contacts to control each terminal equipment in the terminal equipment cluster, once an abnormal fault occurs, the whole circuit where the abnormal fault exists can be caused to fail, the control equipment is caused to lose the control over the relays and the corresponding contacts, namely, the control over the corresponding terminal equipment is lost, and the stability and the reliability of the power supply of the control terminal equipment are poor.
How to improve the stability and reliability of the power control of the terminal equipment is a problem which is always addressed by the technical personnel in the field.
Therefore, the embodiment of the application discloses a power supply control method, a power supply control device, electronic equipment and a readable storage medium.
FIG. 1 illustrates a schematic diagram of an exemplary operating environment in which embodiments of the present disclosure can be implemented. The operating environment includes a control module 110, a plurality of signal distribution modules 120, and a plurality of relay control modules 130, only the connection relationship between two signal distribution modules 120 and two relay control modules 130 is shown in the figure, and the connection relationship between a plurality of signal distribution modules 120 and a plurality of relay control modules 130 can be analogized. The control module 110 is connected to the control terminals and the input pins of the signal distribution modules 120, and the output pins of the signal distribution modules 120 are connected to the relay control module 130.
Fig. 2 shows a flowchart of a power supply control method in the embodiment of the present application. Referring to fig. 2, the method includes:
s201: and acquiring a switching value control signal.
The power supply of the terminal equipment comprises a starting state and a closing state, and the switching value control signal is a digital signal reflecting the starting state of the power supply of the terminal equipment, generally a low-level digital signal and also a high-level digital signal.
In some examples, the control module 110 may obtain the information through a control key, for example, a plurality of control keys corresponding to the terminal devices one to one are provided, and the control key may output a switching value control signal when pressed to control the corresponding terminal device to start. The control module 110 may also obtain the switching value control signal through an external control device, such as the PLC control module 110, a mobile phone, a computer, and the like, for example, the control module 110 is in signal connection with the external control device, the signal connection mode may be any wired connection and/or wireless connection mode, the relevant staff generates the switching value control signal by operating the external control device, and the control module 110 receives the switching value control signal generated by the external control device.
Of course, the control module 110 may also be provided with a plurality of channels for acquiring the switching value control signal, for example, the control device is connected to both the plurality of control keys and the external control device, and the control module 110 is connected to a switch key for switching the channel from which the control module 110 receives the switching value control signal, and the control module 110 receives the switching value control signal generated by the control key when the switch key is pressed.
The specific manner and channel for the control module 110 to obtain the switching value control signal are not described in detail, but only the switching value control signal can reflect the operation of the power supply start of the terminal device operated by the relevant worker.
S202: and generating a pulse signal according to the switching value control signal.
The pulse signal includes pulses, and there may be one pulse, a limited number of pulses, or an infinite number of pulses in succession according to the frequency.
In one example, the control module 110 outputs a pulse signal according to the switching value control signal, and the pulse signal includes a pulse, i.e., a pulse is generated when the control module 110 receives the switching value control signal, and the pulse can reflect the instantaneous operation of the power supply start of the related staff member operating terminal equipment.
In another example, the control module 110 outputs a pulse signal according to the switching value control signal, the pulse signal includes an infinite number of pulse signals determined according to the frequency, that is, the control module 110 generates a continuous infinite number of pulses determined according to the frequency when receiving the switching value control signal, and the pulse signal is continuously present when the terminal device is in the active state.
S203: determines signal allocation information and transmits the pulse signal to the plurality of designated signal allocation modules 120 according to the signal allocation information.
The signal allocation information reflects the manner in which the control module 110 allocates the pulse signal to the signal allocation module 120, and essentially calls the control module 110 for the procedure of the signal allocation module 120. Specifically, the control module 110 may be connected to a plurality of signal distribution modules 120, and the control module 110 may call all the signal distribution modules 120, that is, send the pulse signal to all the signal distribution modules 120 connected thereto, and of course, the control module 110 may also call only part of the signal distribution modules 120, and leave other signal distribution modules 120 for standby, that is, send the pulse signal to only part of the commonly used signal distribution modules 120.
For the determination of the common use or the standby use of the signal allocation modules 120, a preset calling rule may be preset in the control module 110, and the control module 110 may determine that each signal allocation module 120 has an independent identifier through line connection, or may pre-store the identifier in the signal allocation module 120, and the control module 110 determines that the signal allocation module 120 is common use or standby through the identifier of the signal allocation module 120, so as to preferentially call the common signal allocation module 120 when a pulse signal is sent, may call the standby signal allocation module 120 when an abnormal fault occurs in the common signal allocation module 120 and the number of operable signals is less than the preset number value, or may call part or all of the standby signal allocation modules 120 when more signal allocation modules 120 are required to operate.
The preset quantity value may be preset in the control module 110 when the device leaves a factory, or may be set by a relevant worker through operating the control module 110 and/or operating an external control device in signal connection with the control module 110.
The number of the signal distribution modules 120 which work can be reduced by calling the signal distribution modules 120 with a small number, and the number of the signal distribution modules 120 which work can be increased by calling the signal distribution modules 120 with a large number, so that the stability and reliability of signal transmission between the control module 110 and the signal distribution modules 120 are improved.
S204: and determining a pulse distribution signal according to a preset corresponding rule and the switching value control signal.
The final purpose of the switching value control signal is to control the power supply of the terminal device to start, and the power supply of the terminal device is directly controlled by the relay control module 130. The relay control module 130 is connected to the output pin of the signal distribution module 120, so that the signal distribution module 120 controls the relay control module 130 to start, and one signal distribution module 120 may be connected to a plurality of relay control modules 130 to control the plurality of signal distribution modules 120, or may be connected to all relay control modules 130 to control all relay control modules 130. Generally, each signal distribution module 120 is selected to be respectively connected to all relay control modules 130, when the number of output pins of the signal distribution module 120 is insufficient, the number of output pins of the signal distribution module 120 can be expanded, and certainly, when an output pin of one signal distribution module 120 is expanded into a plurality of output pins, each expanded output pin needs to be in an independent controllable state, that is, the output pin of the signal distribution module 120 cannot be expanded by adopting a conventional connection expansion mode, and an expansion control module 110 needs to be additionally arranged during expansion.
The above process reflects that the switching value control signal corresponds to one relay control module 130 and a corresponding terminal device, each of the plurality of signal distribution modules 120 has one or more output pins corresponding to the switching value control signal, the relay control module 130 and a corresponding terminal device, and the preset corresponding rule reflects the corresponding relationship between the switching value control signal, the signal distribution module 120, the output pins of the signal distribution module 120, the relay control module 130 and the corresponding terminal device, which is determined according to the line connection and/or the internal function program of the control module 110.
The pulse allocation signal is used to control the signal allocation module 120 to allocate the pulse signal. The control module 110 is connected to the control terminal of the signal distribution module 120, and controls the process of distributing the pulse signal to the output pin by the signal distribution module 120.
In one example, the control module 110 is connected to nine common signal distribution modules 120, the nine common signal distribution modules 120 respectively include nine output pins, the nine output pins of each signal distribution module 120 are respectively connected to nine relay control modules 130, and the nine relay control modules 130 respectively control power supplies of nine terminal devices. When the control module 110 obtains the switching value control signal corresponding to the power supply start of one of the terminal devices, the control module 110 generates a pulse signal according to the switching value control signal, and determines the switching value control signal, the signal distribution relationship, the connection correspondence relationship between the output pin of the signal distribution module 120, the relay control module 130 and the terminal device according to the preset correspondence rule to generate the pulse distribution signal. The pulse distribution signals respectively control the nine signal distribution modules 120 to work, so that the nine signal distribution modules 120 sequentially output pulse signals with output pins corresponding to the switching value control signals, intervals at which the corresponding output pins of the nine signal distribution modules 120 output the pulse signals are determined according to the frequency and circulate at a certain period, so that the nine signal distribution modules 120 sequentially output the pulse signals to the relay control modules 130 corresponding to the switching value control signals in a circulating manner, so that the relay control modules 130 receive the continuous pulse signals, the frequency of the continuous pulse signals is high, and it can be determined that the relay control modules 130 receive continuous high-level signals, so that the relay control modules 130 can stably work, and further the power supply of the terminal equipment is stably started.
The process of controlling the power supply start of the relay control modules 130 and the terminal devices by the switching value control signals can be regarded as a simple superposition of the single processes, and is not further disclosed herein.
Because the control module 110 is respectively connected with the signal distribution modules 120 through the lines, and each signal distribution module 120 is respectively connected with the relay control module 130, when an abnormal fault occurs, if the abnormal fault exists between the control module 110 and the signal distribution module 120, the signal distribution module 120 can only be caused to be out of control, if the abnormal fault exists between the signal distribution module 120 and the relay control module 130, the output pin of the signal distribution module 120 can only be caused to lose the control function of the relay control module 130, one or a limited number of line faults can not influence the relay control module 130 to only reduce one or a limited number of pulses from the continuous pulse signal received by the relay control module 130, and can not influence the process of the continuous pulse signal for integrally driving the relay control module 130 and starting the power supply of the terminal equipment, so that the power supply control process can not be caused by one or a plurality of line faults, And/or one or more of the signal distribution modules 120 may fail abnormally and go out of control, thereby improving the stability and reliability of the terminal device power control process.
Fig. 3 is a flowchart illustrating a method of handling an abnormal fault in the power supply control method according to the present application. Referring to fig. 2, to facilitate the determination of the abnormal fault condition, the method further comprises:
s301: continuous pulse signals are acquired.
The control module 110 acquires the continuous pulse distribution signal through the signal acquisition structure.
The signal acquisition structure may include a plurality of signal acquisition modules corresponding to the relay control module 130 one to one, the signal acquisition modules are configured to acquire continuous pulse signals received by the relay control module 130, and the signal acquisition modules are respectively connected to the control module 110 and feed back the acquired continuous pulse signals to the control module 110.
The signal acquisition structure may also use an I/O port of the control module 110, and the control module 110 directly judges the signal received by the coil of the relay control module 130 according to the time sequence, for example, determines the current in the coil of the relay control module 130 and/or the voltage at both ends according to the time.
S302: and judging whether the continuous pulse signals are normal or not according to the pulse distribution signals.
Since the pulse allocation signal determines which output pin of which signal allocation module 120 each pulse determined according to time corresponds to in the continuous pulse signal, the interval at which the control module 110 controls the signal allocation module 120 to operate determines the frequency of the continuous pulse signal. And judging whether the continuous pulse signal is normal or not, namely judging whether the continuous pulse signal is an expected continuous pulse determined according to the pulse distribution signal or not, if the pulses in the continuous pulse signal occur at a specified frequency, the continuous pulse signal is normal, and if the frequency of the continuous pulse signal is reduced or one or a limited number of pulses do not occur, the continuous pulse signal is abnormal.
S303: if not, a notification message is generated according to the pulse distribution signal and the continuous pulse signal, and the notification message reflects the identifier of the signal distribution module 120 which cannot normally perform the pulse signal distribution work.
When the continuous pulse signal is judged to be abnormal, the node with the abnormality in the continuous pulse signal is firstly extracted, and the pulse signal can be determined according to the pulse distribution signal, wherein the output pin of the signal distribution module 120 is not normally controlled to output the pulse signal. The notification message includes the output pins of the signal distribution module 120 that cannot normally operate, and when there are a plurality of switching value signals, if it is determined that all the output pins of one signal distribution module 120 that need to operate cannot normally output pulse signals, it is determined that the signal distribution module 120 has an abnormal fault or the line connection between the control module 110 and the signal distribution module 120 has a fault, otherwise, it is determined that the connection between the corresponding output pin of the signal distributor and the corresponding relay control module 130 has an abnormal fault. The notification message reflects all the information, so that the relevant staff can perform corresponding adjustment work according to the notification message.
Further, the method further comprises:
s304: if not, generating a distribution adjusting signal according to the continuous pulse signal and the pulse distribution signal, wherein the distribution adjusting signal is used for adjusting the pulse distribution signal so as to adjust the continuous pulse signal.
The above process is an adjustment process performed by the control module 110 when it is determined that the continuous pulse signal is abnormal, and adjusting the continuous pulse signal to be normal is beneficial to stably driving the relay control module 130 to work, so as to stably drive the power supply of the terminal device to start.
The control module 110 determines the operating sequence and frequency of the signal distribution module 120 and the signal distribution module 120 again by the distribution adjustment signal, i.e. adjusts the pulse distribution signal.
In some examples, if the control module 110 calls four signal distribution modules 120 through the pulse distribution signal, and generates a continuous pulse signal with a specified frequency through the foregoing process, where the continuous pulse signal includes "pulse No. 1, pulse No. 2, pulse No. 3, and pulse No. 4" that sequentially circulates, and the pulse No. 1, pulse No. 2, pulse No. 3, and pulse No. 4 correspond to the pulse No. 1, distributor No. 2, distributor No. 3, and distributor No. 4, respectively, and the pulse No. 1, pulse No. 2, pulse No. 3, and pulse No. 4 "are taken as one period of the continuous pulse signal, and if it is determined that there is no pulse No. 1 in each period of the continuous pulse signal, the control module 110 may change the called signal distribution module 120 into the pulse No. 2, distributor No. 3, and distributor No. 4, and reserve the time interval of the control signal distribution module 120, and change one period of the continuous pulse signal into a signal including" pulse, Pulse 3, pulse 4 "to keep the continuous pulse signal consistent with that before the abnormal fault occurs, of course, other signal distribution modules 120 may be called to act as the distributor No. 1. The specific adjustment modes are many, and only the continuous pulse signals after adjustment need to be kept normal, which is not described in one-to-one listing.
In the method disclosed in the embodiment of the present application, the control module 110 and the signal distribution module 120, and the signal distribution module 120 and the relay control module 130 are all connected by multiple paths of signals, and one path of abnormal fault or a limited number of paths of signal faults may not affect the control of the relay control module 130, so that the stability of controlling the start of the corresponding terminal device is improved.
It is noted that while for simplicity of explanation, the foregoing method embodiments have been described as a series of acts or combination of acts, it will be appreciated by those skilled in the art that the present disclosure is not limited by the order of acts, as some steps may, in accordance with the present disclosure, occur in other orders and concurrently. Further, those skilled in the art should also appreciate that the embodiments described in the specification are exemplary embodiments and that acts and modules referred to are not necessarily required by the disclosure.
The control module 110 to which the foregoing method is applied may be an integral control module 110, or may be a distributed control module 110, that is, the foregoing method steps may be executed in one main device, or may be executed in a plurality of main devices.
Fig. 4 shows a block diagram of a power control apparatus 400 according to an embodiment of the present application. As shown in fig. 4, the apparatus 400 includes a controller 410, and the controller 410 includes:
the switching signal obtaining module 411 is configured to obtain a switching value control signal, where the switching value control signal reflects an operation of controlling a power supply of the terminal device to start;
a pulse signal generating module 412, configured to generate a pulse signal according to the switching value control signal;
a pulse signal distribution module 413, configured to determine signal distribution information, and send a pulse signal to the plurality of designated signal distributors 430 according to the signal distribution information;
and a pulse distribution control module 414 for determining a pulse distribution signal according to a preset correspondence rule and the switching value control signal; the preset corresponding rule reflects the corresponding relation between the switching value control signal and the relay 440 for controlling the power supply of the terminal equipment, and the corresponding relation between the output pin of the signal distributor 430 and the relay 440; the pulse distribution signal is used for respectively controlling the plurality of signal distributors 430 to sequentially distribute the pulse signals to the corresponding output pins according to the frequency determination so as to form continuous pulse signals for controlling the relay 440 and the power supply start of the terminal equipment.
The controller 410 may further include:
a continuous pulse acquiring module 415, configured to acquire the continuous pulse signal;
a signal state determining module 416, configured to determine whether the continuous pulse signal is normal according to the pulse distribution signal;
a notification message generating module 417, configured to generate a notification message according to the pulse distribution signal and the continuous pulse signal when the signal status determining module 416 determines that the signal status is negative, where the notification message reflects an identifier of a signal distributor that cannot normally perform pulse signal distribution.
And a pulse allocation adjusting module 418, configured to generate an allocation adjusting signal according to the continuous pulse signal and the pulse allocation signal when the signal status determining module 416 determines that the signal status is negative, where the allocation adjusting signal is used to adjust the pulse allocation signal so as to adjust the continuous pulse signal.
The apparatus 400 may further include:
a switching value signal acquisition module 420 connected to the controller 410 for acquiring a switching value control signal;
the switching value collecting module 420 may include: a switching key, a signal interface and a plurality of control keys corresponding to the relay 440 and the terminal equipment;
the signal interface is used for connecting external control equipment to acquire a switching value control signal from the external control equipment;
outputting a switching value control signal when the control key is pressed;
the switching key is used for controlling the switching value acquisition module 420 to acquire the switching value control signal accessed by the signal interface or the switching value control signal output by the control key.
The apparatus 400 may further comprise: a plurality of signal distributors 430 and relays 440 corresponding to the terminal devices one to one;
the input pin and the control pin of the signal distributor 460 are respectively connected with the controller 410, and the output pin is respectively connected with the relay 440;
the relay 440 is used to control the power supply of the terminal device to start.
Fig. 5 shows a schematic structural diagram of a control device suitable for implementing an embodiment of the present application.
As shown in fig. 5, the control apparatus includes a Central Processing Unit (CPU)501 that can perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM)502 or a program loaded from a storage section 508 into a Random Access Memory (RAM) 503. In the RAM 503, various programs and data necessary for controlling the operation of the apparatus are also stored. The CPU 501, ROM 502, and RAM 503 are connected to each other via a bus 504. An input/output (I/O) interface 505 is also connected to bus 504.
The following components are connected to the I/O interface 505: an input portion 506 including a keyboard, a mouse, and the like; an output portion 507 including a display such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, and a speaker; a storage portion 508 including a hard disk and the like; and a communication section 509 including a network interface card such as a LAN card, a modem, or the like. The communication section 509 performs communication processing via a network such as the internet. The driver 510 is also connected to the I/O interface 505 as necessary. A removable medium 511 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 510 as necessary, so that a computer program read out therefrom is mounted into the storage section 508 as necessary.
In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart fig. 1 may be implemented as a computer software program. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a machine-readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network through the communication section 509, and/or installed from the removable medium 511. The above-described functions defined in the system of the present application are executed when the computer program is executed by the Central Processing Unit (CPU) 501.
It should be noted that the computer readable media shown in the present disclosure may be computer readable signal media or computer readable storage media or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In contrast, in the present disclosure, a computer-readable signal medium may include a propagated data signal with computer-readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units or modules described in the embodiments of the present application may be implemented by software or hardware. The described units or modules may also be provided in a processor, and may be described as: a processor comprises a switch signal acquisition module, a pulse signal generation module, a pulse signal distribution module and a pulse distribution control module. The names of the units or modules do not limit the units or modules in some cases, for example, the switching signal acquisition module may also be described as "acquiring switching value control signals sent by external control equipment and/or control keys".
As another aspect, the present application also provides a computer-readable storage medium, which may be included in the electronic device described in the above embodiments; or may be separate and not incorporated into the electronic device. The computer-readable storage medium stores one or more programs that, when executed by one or more processors, perform the power control method described herein.
The above description is only a preferred embodiment of the application and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the disclosure herein is not limited to the particular combination of features described above, but also encompasses other arrangements formed by any combination of the above features or their equivalents without departing from the spirit of the disclosure. For example, the above features may be replaced with (but not limited to) features having similar functions disclosed in the present application.

Claims (10)

1. A power control method, applied to a controller (410), comprising:
acquiring a switching value control signal which reflects the operation of controlling the power supply of the terminal equipment to start;
generating a pulse signal according to the switching value control signal;
determining signal distribution information, and sending the pulse signals to a plurality of designated signal distributors (430) according to the signal distribution information;
determining a pulse distribution signal according to a preset corresponding rule and the switching value control signal; the preset corresponding rule reflects the corresponding relation between the switching value control signal and a relay (430) for controlling a terminal equipment power supply, and the corresponding relation between an output pin of a signal distributor (430) and the relay (430); the pulse distribution signals are used for respectively controlling the signal distributors (430) to sequentially distribute the pulse signals to corresponding output pins according to frequency determination so as to form continuous pulse signals for controlling the relay (430) and the power supply of the terminal equipment to be started.
2. The method of claim 1, further comprising:
acquiring the continuous pulse signal;
judging whether the continuous pulse signals are normal or not according to the pulse distribution signals;
if not, generating a notification message according to the pulse distribution signal and the continuous pulse signal, wherein the notification message reflects the identification of the signal distributor (430) which cannot normally distribute the pulse signals.
3. The method according to claim 2, wherein after determining whether the continuous pulse signal is normal according to the pulse allocation signal, the method further comprises:
if not, generating a distribution adjusting signal according to the continuous pulse signal and the pulse distribution signal, wherein the distribution adjusting signal is used for adjusting the pulse distribution signal so as to adjust the continuous pulse signal.
4. A power control apparatus comprising a controller (410), the controller (410) comprising:
the switching signal acquisition module (411) is used for acquiring a switching value control signal which reflects the operation of controlling the power supply of the terminal equipment to start;
a pulse signal generating module (412) for generating a pulse signal according to the switching value control signal;
a pulse signal distribution module (413) for determining signal distribution information, and sending the pulse signals to a plurality of designated signal distributors (430) according to the signal distribution information;
and a pulse distribution control module (414) for determining a pulse distribution signal according to a preset correspondence rule and the switching value control signal; the preset corresponding rule reflects the corresponding relation between the switching value control signal and a relay (430) for controlling a terminal equipment power supply, and the corresponding relation between an output pin of a signal distributor (430) and the relay (430); the pulse distribution signals are used for respectively controlling the signal distributors (430) to sequentially distribute the pulse signals to corresponding output pins according to frequency determination so as to form continuous pulse signals for controlling the relay (430) and the power supply of the terminal equipment to be started.
5. The apparatus of claim 4, further comprising:
a continuous pulse acquisition module (415) for acquiring the continuous pulse signal;
a signal state judging module (416) for judging whether the continuous pulse signal is normal according to the pulse distribution signal;
and a notification message generation module (417) for generating a notification message according to the pulse distribution signal and the continuous pulse signal when the signal state judgment module (416) judges that the signal state is not the same, wherein the notification message reflects the identifier of the signal distributor (430) which cannot normally perform the pulse signal distribution operation.
6. The apparatus of claim 5, further comprising:
and the pulse distribution adjusting module (418) is used for generating a distribution adjusting signal according to the continuous pulse signal and the pulse distribution signal when the signal state judging module (416) judges that the continuous pulse signal is not the pulse signal, and the distribution adjusting signal is used for adjusting the pulse distribution signal so as to adjust the continuous pulse signal.
7. The apparatus of any one of claims 4 to 6, further comprising:
the switching value signal acquisition module is connected with the controller (410) and is used for acquiring the switching value control signal;
the switching value acquisition module comprises: the switching key, the signal interface and a plurality of control keys corresponding to the relay (430) and the terminal equipment;
the signal interface is used for connecting external control equipment to acquire a switching value control signal from the external control equipment;
outputting the switching value control signal when the control key is pressed;
the switching key is used for controlling the switching value acquisition module to acquire the switching value control signal accessed by the signal interface or the switching value control signal output by the control key.
8. The apparatus of any one of claims 4 to 6, further comprising:
a plurality of signal distributors (430) and relays (430) corresponding to the terminal devices one by one;
the input pin and the control pin of the signal distributor (430) are respectively connected with the controller (410), and the output pins are respectively connected with the relay (430);
the relay (430) is used for controlling the power supply of the terminal equipment to start.
9. An electronic device comprising a memory and a processor, the memory having stored thereon a computer program, wherein the processor, when executing the program, implements the method of any of claims 1-3.
10. A computer-readable storage medium, on which a computer program is stored, which program, when being executed by a processor, carries out the method according to any one of claims 1 to 3.
CN202010990219.6A 2020-09-19 2020-09-19 Power supply control method, device, electronic equipment and readable storage medium Active CN112363606B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010990219.6A CN112363606B (en) 2020-09-19 2020-09-19 Power supply control method, device, electronic equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010990219.6A CN112363606B (en) 2020-09-19 2020-09-19 Power supply control method, device, electronic equipment and readable storage medium

Publications (2)

Publication Number Publication Date
CN112363606A true CN112363606A (en) 2021-02-12
CN112363606B CN112363606B (en) 2024-02-23

Family

ID=74516604

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010990219.6A Active CN112363606B (en) 2020-09-19 2020-09-19 Power supply control method, device, electronic equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN112363606B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020195980A1 (en) * 2001-05-29 2002-12-26 Yazaki Corporation Drive control apparatus
CN1553703A (en) * 2003-06-04 2004-12-08 友达光电股份有限公司 Continuous impulse link generator by low-voltage clock signal
CN102625541A (en) * 2012-04-11 2012-08-01 深圳市明微电子股份有限公司 Pulse modulation control method and device for driving LED
CN104714853A (en) * 2013-12-16 2015-06-17 艾默生网络能源-嵌入式计算有限公司 Fault-tolerant failure safe computer system with COTS assembly
US20180210526A1 (en) * 2017-01-26 2018-07-26 Intel Corporation Selectively controlling power to a connector port
US20190199088A1 (en) * 2017-12-21 2019-06-27 Canon Kabushiki Kaisha Electronic device and control method of electronic device
CN111506180A (en) * 2020-03-16 2020-08-07 广州视源电子科技股份有限公司 Power supply control method, device, storage medium and terminal
CN111624901A (en) * 2019-02-28 2020-09-04 施耐德电器工业公司 Control method and control device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020195980A1 (en) * 2001-05-29 2002-12-26 Yazaki Corporation Drive control apparatus
CN1553703A (en) * 2003-06-04 2004-12-08 友达光电股份有限公司 Continuous impulse link generator by low-voltage clock signal
CN102625541A (en) * 2012-04-11 2012-08-01 深圳市明微电子股份有限公司 Pulse modulation control method and device for driving LED
CN104714853A (en) * 2013-12-16 2015-06-17 艾默生网络能源-嵌入式计算有限公司 Fault-tolerant failure safe computer system with COTS assembly
US20180210526A1 (en) * 2017-01-26 2018-07-26 Intel Corporation Selectively controlling power to a connector port
US20190199088A1 (en) * 2017-12-21 2019-06-27 Canon Kabushiki Kaisha Electronic device and control method of electronic device
CN111624901A (en) * 2019-02-28 2020-09-04 施耐德电器工业公司 Control method and control device
CN111506180A (en) * 2020-03-16 2020-08-07 广州视源电子科技股份有限公司 Power supply control method, device, storage medium and terminal

Also Published As

Publication number Publication date
CN112363606B (en) 2024-02-23

Similar Documents

Publication Publication Date Title
CN112165413B (en) Equipment state reporting method and device and electronic device
CN108650667A (en) Terminal scheduling method and apparatus
US11800009B2 (en) Communication apparatus and communication method
CN112803998B (en) Multi-bus network cross-network communication method, device, system, equipment and storage medium
CN107333252B (en) Communication exception handling method and device and smart card terminal
CN112363606A (en) Power supply control method and device, electronic equipment and readable storage medium
US8566630B2 (en) Apparatus, methods and computer program products supporting automatic network identification for power supplies
CN110119111B (en) Communication method and device, storage medium, and electronic device
CN112738053A (en) Video color ring playing method, system, server, network equipment and storage medium
CN116560954B (en) Method and device for determining alarm message of storage system
CN217934454U (en) Data line capable of controlling on-off and electronic equipment
CN111866622B (en) Reducing power consumption of communication devices
CN112769603B (en) Out-of-band management switching device, method and server
CN117543513A (en) Power supply method, system, electronic equipment and storage medium
CN114884098A (en) Power grid demand response method and system
CN115327216A (en) Terminal power consumption testing method, platform, terminal, computer equipment and storage medium
CN110611365A (en) Method and device for continuous power supply
CN116080458A (en) Charging pile control method and device and charging pile
CN113904918A (en) Frame type switch equipment management method and device
CN115167098A (en) Master station redundancy switching method and device and control equipment
CN114115022A (en) FPGA hardware acceleration array upgrading method and system
CN109194531A (en) Communication system, method and apparatus
CN114173382A (en) Method and device for realizing flow control of virtual number provider based on random algorithm
CN111654015A (en) Online station quitting method, device and system of multi-terminal direct current system and storage medium
RU62759U1 (en) NETWORK ADAPTER FOR REMOTE CONTROL AND UNINTERRUPTIBLE POWER SUPPLY

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
GR01 Patent grant
GR01 Patent grant