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

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

Info

Publication number
CN112363606B
CN112363606B CN202010990219.6A CN202010990219A CN112363606B CN 112363606 B CN112363606 B CN 112363606B CN 202010990219 A CN202010990219 A CN 202010990219A CN 112363606 B CN112363606 B CN 112363606B
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.)
Active
Application number
CN202010990219.6A
Other languages
Chinese (zh)
Other versions
CN112363606A (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

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

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Power Engineering (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Remote Monitoring And Control Of Power-Distribution Networks (AREA)

Abstract

The application relates to a power supply control method, a device, electronic equipment and a readable storage medium, which belong to the technical field of power supply control and are used for improving the reliability of a power supply control process.

Description

Power supply control method, 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, apparatus, electronic device, and readable storage medium.
Background
In the centralized power control of a terminal device cluster, how to improve the reliability of the power control of the terminal device is a problem that is solved by those skilled in the art.
Disclosure of Invention
According to the embodiment of the application, in order to improve the reliability of power supply control of the terminal equipment, a power supply control method, a power supply control device, an electronic device 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, wherein the switching value control signal reflects and controls the starting operation of a power supply of the terminal equipment;
generating a pulse signal according to the switching value control signal;
determining signal distribution information, and transmitting the pulse signals to a plurality of designated 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 the power supply of the terminal equipment and the corresponding relation between an output pin of the signal distributor and the relay; the pulse distribution signals are used for respectively controlling the plurality of 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 starting of the relay and the power supply of the terminal equipment.
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 a 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 plurality of signal distributors to sequentially distribute the pulse signals to the corresponding output pins according to the frequency according to the pulse distribution signals, so that continuous pulse signals for controlling the relays and the terminal equipment to be started with energy sources are formed. Because the pulse signals output by the signal distributors jointly form continuous pulse signals determined according to the frequency, when a single line 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 one or a limited number of signal distributors can not output pulse control signals, other signal distributors still can form the continuous pulse signals in normal operation, and the relay and the terminal equipment can be continuously controlled to be started by normal power, namely, the abnormal faults of the line connection of one line or a limited number of lines can not influence the power starting operation of the terminal equipment, so that the stability and the reliability of the power control process of the terminal equipment are improved.
Aspects and any possible implementation as described above, further providing an implementation, further including:
acquiring the continuous pulse signal;
judging whether the continuous pulse signal is normal or not according to the pulse distribution signal;
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 which can not normally perform the pulse signal distribution work.
The aspect and any possible implementation manner as described above further provide an implementation manner, after the determining, according to the pulse allocation signal, whether the continuous pulse signal is normal, the method further includes:
if not, generating a distribution adjustment signal according to the continuous pulse signal and the pulse distribution signal, wherein the distribution adjustment signal is used for adjusting the pulse distribution signal so as to adjust the continuous pulse signal.
In a second aspect disclosed in embodiments of the present application, a power supply control apparatus is provided. The apparatus includes a controller including:
the switching signal acquisition module is used for acquiring a switching value control signal, and the switching value control signal reflects and controls the starting operation of the power supply of the terminal equipment;
the pulse signal generation 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 designated 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 the power supply of the terminal equipment and the corresponding relation between an output pin of the signal distributor and the relay; the pulse distribution signals are used for respectively controlling the plurality of 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 starting of the relay and the power supply of the terminal equipment.
Aspects and any possible implementation as described above, further providing an implementation, further including:
the continuous pulse acquisition module is used for acquiring the continuous pulse signals;
the signal state judging module is used for judging whether the continuous pulse signal is normal or not according to the pulse distribution signal;
and the notification message generation module is used for generating a notification message according to the pulse distribution signal and the continuous pulse signal when the signal state judgment module judges that the signal state judgment module is negative, wherein the notification message reflects the identification of the signal distributor which cannot normally perform the pulse signal distribution work.
Aspects and any possible implementation as described above, further providing an implementation, further including:
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 signal state judging module is negative, and the distribution adjusting signal is used for adjusting the pulse distribution signal so as to adjust the continuous pulse signal.
Aspects and any possible implementation as described above, further providing an implementation, further including:
the switching value signal acquisition module is connected with the controller and used for acquiring the switching value control signal;
the switching value acquisition module comprises: the switching key, the signal interface and the control keys are corresponding to the relay and the terminal equipment;
the signal interface is used for connecting an external control device to acquire a switching value control signal from the external control device;
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 a switching value control signal accessed by the signal interface or a switching value control signal output by the control key.
Aspects and any possible implementation as described above, further providing an implementation, further including:
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 pin is 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 present disclosure, an electronic device is provided. The electronic device includes: a memory and a processor, the memory having stored thereon a computer program, the processor implementing the method according to the first aspect as disclosed according to an embodiment of the present application when executing the program.
In a fourth aspect of the present disclosure, there is provided a computer readable storage medium having stored thereon a computer program which when executed by a processor implements a method as disclosed according to the first aspect of the embodiments of the present application.
It should be understood that what is described in this summary is not intended to limit the critical or essential features of the embodiments of the disclosure nor to limit the scope of the disclosure. Other features of the present disclosure will become apparent from the following description.
Drawings
The above and other features, advantages and aspects of embodiments of the present disclosure will become more apparent by reference to the following detailed description when taken in conjunction with the accompanying drawings. In the drawings, wherein like or similar reference numerals denote like or similar elements, in which:
fig. 1 shows a flowchart of a power control method in an embodiment of the present application.
Fig. 2 shows a block diagram of a power control device 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 embodiments of the present application.
Fig. 5 shows a schematic structural diagram of a control device suitable for implementing embodiments of the present application.
Detailed Description
For the purposes of making the objects, technical solutions and advantages of the embodiments of the present disclosure more apparent, the technical solutions of the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present disclosure, and it is apparent that the described embodiments are some embodiments of the present disclosure, but not all embodiments. All other embodiments, which can be made by one of ordinary skill in the art based on the embodiments in this disclosure without inventive faculty, are intended to be within the scope of this disclosure.
In addition, the term "and/or" herein is merely an association relationship describing an association object, and means that three relationships may exist, for example, a and/or B may mean: a exists alone, A and B exist together, and B exists alone. In addition, the character "/" herein generally indicates that the front and rear associated objects are an "or" relationship.
The present application is described in further detail below in conjunction with figures 1-5.
The power control is to control the power on and off of the terminal equipment.
The voltage level of the power supply loop of the terminal equipment is generally higher, and the control circuit of the lower voltage level is generally used for controlling the power supply circuit of the terminal equipment with higher voltage level for the safety and other reasons, which requires the application of a voltage level isolation device such as a relay.
In the related art, a selection control device is generally used in combination with a relay to control a terminal device. Specifically, the control device is connected to a relay, and the contacts of the relay are connected in series to the power supply loop of the terminal device. The relay can be controlled by the control device, and then the connection between the terminal device and the power supply loop is controlled by the contact of the relay.
When the power supply of the terminal equipment cluster is controlled to be turned on or off through the related technology, the control equipment generally adopts a plurality of relatively independent lines, a plurality of relays and corresponding contacts to control each terminal equipment in the terminal equipment cluster, and once an abnormal fault occurs, the whole line where the abnormal fault is located can be invalid, so that the control equipment loses 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 device is a problem that the person skilled in the art is constantly working on.
To this end, embodiments of the present application disclose a power supply control method, apparatus, electronic device, and 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, in which only the connection between two signal distribution modules 120 and two relay control modules 130 are shown, and the connection between a plurality of signal distribution modules 120 and a plurality of relay control modules 130 can be analogized. The control module 110 is respectively connected to the control ends and input pins of the plurality of signal distribution modules 120, and output pins of the signal distribution modules 120 are respectively connected to the relay control module 130.
Fig. 2 shows a flowchart of a power control method in an 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 an on state and an off state, and the switching value control signal is a digital signal reflecting the on state of the power supply of the terminal equipment, and is generally a low-level digital signal or a high-level digital signal.
In some examples, the control module 110 may obtain, for example, set a plurality of control keys corresponding to the terminal devices one by one, where the control keys may output a switching value control signal when pressed, so as to control the corresponding terminal devices to start. The control module 110 may also obtain the switching value control signal through an external control device, such as a PLC control module 110, a mobile phone, a computer, etc., for example, the control module 110 is connected with the external control device by a signal, where the signal connection manner may be any wired connection and/or wireless connection manner, and 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 obtaining switching control signals, for example, the control device is connected with a plurality of control keys and is connected with an external control device through signals, the control module 110 is connected with a switch key for switching the channel from which the control module 110 receives the switching control signals, and when the switch key is pressed, the control module 110 receives the switching control signals generated by the control key.
The specific manner and channel of the control module 110 for obtaining the switching value control signal are not described in a one-to-one manner, and only the switching value control signal is needed to reflect the operation of the related staff to operate the terminal device for starting the power supply.
S202: and generating a pulse signal according to the switching value control signal.
The pulse signal includes pulses, and there may be one pulse or a limited number of pulses, and of course, there may be a continuous infinite number determined according to the frequency.
In one example, the control module 110 outputs a pulse signal according to the switching value control signal, where 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 related staff member to operate the power supply of the terminal device.
In another example, the control module 110 outputs a pulse signal according to the switching value control signal, the pulse signal comprising an infinite number of pulse signals determined according to the frequency, i.e. the control module 110 generates a continuous infinite number of pulses determined according to the frequency when receiving the switching value control signal, the pulse signal being continuously present when the terminal device is in the active state.
S203: signal allocation information is determined and pulse signals are transmitted to the plurality of designated signal allocation modules 120 according to the signal allocation information.
The signal distribution information reflects the manner in which the control module 110 distributes the pulse signal to the signal distribution module 120, essentially invoking the process of the signal distribution module 120 for the control module 110. Specifically, the control module 110 may be connected to a plurality of signal distribution modules 120, and the control module 110 may call all signal distribution modules 120, that is, send pulse signals to all signal distribution modules 120 connected thereto, and of course, the control module 110 may call only part of the signal distribution modules 120, and leave other signal distribution modules 120 ready for use, that is, send pulse signals only to part of the commonly used signal distribution modules 120.
For the determination of the common usage or standby usage of the signal distribution modules 120, a preset calling rule may be preset in the control module 110, and the control module 110 may determine that an independent identifier is provided for each signal distribution module 120 through a line connection, or the foregoing identifier may be prestored in the signal distribution module 120, and the control module 110 determines that the signal distribution module 120 is common or standby through the identifier of the signal distribution module 120, so as to preferentially call the common usage signal distribution module 120 when a pulse signal is sent, and may call the standby signal distribution module 120 when an abnormal fault occurs in the common usage signal distribution module 120, and the number of workable signal distribution modules 120 is smaller than a preset value, or may call part or all of the standby signal distribution modules 120 when more signal distribution modules 120 are required to work.
The preset number value may be preset in the control module 110 at the time of shipment, or may be set by a related worker through operation of the control module 110 and/or operation of an external control device in signal connection with the control module 110.
The signal distribution modules 120 with fewer calls can reduce the number of the signal distribution modules 120 in operation, and the signal distribution modules 120 with more calls can increase the connection lines between the control module 110 and the signal distribution modules 120, so as to improve the stability and reliability of signal transmission between the control module 110 and the signal distribution modules 120.
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 start of the terminal equipment, which is directly controlled by the relay control module 130. The relay control module 130 is connected to the output pins of the signal distribution modules 120, so that the signal distribution modules 120 control the relay control modules 130 to start, and one signal distribution module 120 can be connected to a plurality of relay control modules 130 to control the plurality of signal distribution modules 120, or can be connected to all the relay control modules 130 to control all the relay control modules 130. Each signal distribution module 120 is generally selected to be connected with all relay control modules 130 respectively, when the number of output pins of the signal distribution modules 120 is insufficient, the number of output pins of the signal distribution modules 120 can be expanded, and of course, when the output pins of one signal distribution module 120 are expanded into a plurality of output pins, each output pin obtained by expansion needs to be in an independent and controllable state, namely, the output pins of the signal distribution modules 120 cannot be expanded by adopting a conventional connection expansion mode, and an additional expansion control module 110 is needed during expansion.
The above process reflects that the switching value control signal corresponds to one relay control module 130 and corresponding terminal equipment, and the plurality of signal distribution modules 120 each have one or more output pins corresponding to the switching value control signal, the relay control module 130 and corresponding terminal equipment, and the preset corresponding rule reflects the corresponding relationship among 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 corresponding terminal equipment determined according to the circuit connection and/or the internal functional program of the control module 110.
The pulse allocation signal is used to control the process of allocating the pulse signal by the signal allocation module 120. The control module 110 is connected to the control end 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 respectively connect to nine relay control modules 130, and the nine relay control modules 130 respectively control power supplies of the nine terminal devices. When the control module 110 obtains a switching value control signal corresponding to the start of the power supply of one of the terminal devices, the control module 110 generates a pulse signal according to the switching value control signal, and determines a switching value control signal, a signal distribution relation, an output pin of the signal distribution module 120, a connection correspondence relation of the relay control module 130 and the terminal device according to a preset correspondence rule to generate a pulse distribution signal. The pulse distribution signals respectively control the nine signal distribution modules 120 to work, so that output pins of the nine signal distribution modules 120 corresponding to the switching value control signals sequentially output pulse signals, intervals of the pulse signals output by the corresponding output pins of the nine signal distribution modules 120 are determined according to frequency and are circulated in a certain period, the nine signal distribution modules 120 are circulated to sequentially output the pulse signals to the relay control modules 130 corresponding to the switching value control signals, the relay control modules 130 receive continuous pulse signals, the continuous pulse signals are high in frequency, and accordingly the relay control modules 130 can be considered to receive continuous high-level signals, so that the relay control modules 130 can work stably, and further power supply of terminal equipment is controlled to start stably.
The process of controlling the plurality of relay control modules 130 and the terminal device power on by the plurality of switching value control signals may be considered as a simple superposition of the above-described single processes, which is not further disclosed herein.
Because the control module 110 is connected with the plurality of signal distribution modules 120 by lines respectively, each signal distribution module 120 is connected with the relay control module 130 respectively, 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 is only 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 is only out of control function of the relay control module 130, one or a limited number of line faults do not affect the relay control module 130 to only reduce one or a limited number of pulses in the continuous pulse signal received by the relay control module 130, and the process of starting the power supply of the relay control module 130 and the terminal equipment is not affected by one or a plurality of line faults and/or the abnormal fault of the one or a plurality of signal distribution modules 120, so that the stability and reliability of the power supply control process of the terminal equipment are improved.
Fig. 3 shows a flowchart of an abnormal fault handling manner in the power control method in the present application. Referring to fig. 2, to facilitate determination of an abnormal fault condition, the method further includes:
s301: a continuous pulse signal is acquired.
The control module 110 acquires the continuous pulse distribution signal through a signal acquisition structure.
The signal acquisition structure may include a plurality of signal acquisition modules corresponding to the relay control modules 130 one to one, where the signal acquisition modules are used to acquire continuous pulse signals received by the relay control modules 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 employ an I/O port of the control module 110, where the control module 110 directly determines the signal received by the coil of the relay control module 130 according to the time sequence, for example, determining the current in the coil of the relay control module 130 and/or the voltage across the coil according to the time.
S302: and judging whether the continuous pulse signal is normal or not according to the pulse distribution signal.
Since the pulse distribution signal determines which output pin of which signal distribution module 120 each pulse determined according to time corresponds to in the continuous pulse signal, the control module 110 controls the interval of the operation time of the signal distribution module 120 to determine the frequency of the continuous pulse signal. 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, if the pulses in the continuous pulse signal occur at a designated frequency, the continuous pulse signal is normal, and if the frequency of the continuous pulse signal is reduced or a certain or 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 identification 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, firstly, the abnormal node in the continuous pulse signal is extracted, and according to the pulse distribution signal, the output pin of the signal distribution module 120 can be determined to be the output pulse signal which is not normally controlled. The notification message includes output pins of the signal distribution modules 120 that fail to operate normally, and when there are a plurality of switching value signals, if it is determined that all output pins of one signal distribution module 120 that need to operate fail to output pulse signals normally, it is determined that an abnormal fault occurs in the signal distribution module 120 or a line connection between the control module 110 and the signal distribution module 120 occurs, otherwise, it is determined that an abnormal fault occurs in a connection between a corresponding output pin of the signal distribution module and a corresponding relay control module 130. 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 autonomously when the continuous pulse signal is abnormal, and the adjustment of the continuous pulse signal is normal, which is beneficial to the stable driving of 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 redetermines the operating signal distribution module 120 and the order and frequency of operation of the signal distribution module 120 by distributing the adjustment signal, i.e. adjusts the pulse distribution signal.
In some examples, if the control module 110 invokes four signal distribution modules 120 through the pulse distribution signal, and generates a continuous pulse signal with a specified frequency through the above-mentioned process, where the continuous pulse signal includes "pulse No. 1, pulse No. 2, pulse No. 3, pulse No. 4" that are sequentially circulated, and the pulse No. 1, pulse No. 2, pulse No. 3, pulse No. 4 correspond to the pulse No. 1, pulse No. 2, pulse No. 3, pulse No. 4, respectively, 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 invoked signal distribution module 120 into the pulse No. 2, pulse No. 3, pulse No. 4, and retain the time interval of the control signal distribution module 120, and change one period of the continuous pulse signal into the pulse signal including "pulse No. 2, pulse No. 3, pulse No. 4" so that the continuous pulse signal remains consistent with the pulse signal before the occurrence of the abnormal fault, and may of course invoke other signal distribution modules 120 to inflate the foregoing distributor No. 1. The specific adjustment modes are numerous, only the continuous pulse signals after adjustment are required to be kept normal, and the specific adjustment modes are not described in a one-to-one way.
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 do 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 should be noted that, for simplicity of description, the foregoing method embodiments are all described as a series of acts, but it should be understood by those skilled in the art that the present disclosure is not limited by the order of acts described, as some steps may be performed in other orders or concurrently in accordance with the present disclosure. Further, those skilled in the art will also appreciate that the embodiments described in the specification are all alternative embodiments, and that the acts and modules referred to are not necessarily required by the present disclosure.
The control module 110 to which the foregoing method is applied may be an integral control module 110 or a distributed control module 110, that is, the foregoing method steps may be performed in one main apparatus or may be performed in a plurality of main apparatuses.
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:
a switch signal obtaining module 411, configured to obtain a switch value control signal, where the switch value control signal reflects an operation of controlling the power supply start of the terminal device;
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 transmitting pulse signals to the plurality of designated signal distributors 430 according to the signal distribution information;
and a pulse allocation control module 414 for determining a pulse allocation signal according to a preset correspondence rule and a switching value control signal; the preset correspondence rule reflects a correspondence between the switching value control signal and the relay 440 controlling the power supply of the terminal device, and a correspondence between the output pin of the signal distributor 430 and the relay 440; the pulse distribution signals are used for respectively controlling the plurality of 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 440 and the power start of the terminal equipment.
The controller 410 may further include:
a continuous pulse acquisition module 415, configured to acquire the continuous pulse signal;
a signal state judging module 416, configured to judge 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 allocation signal and the continuous pulse signal when the signal state judging module 416 judges no, where the notification message reflects an identification of a signal allocator that cannot normally perform the pulse signal allocation operation.
And a pulse allocation adjustment module 418 configured to generate an allocation adjustment signal according to the continuous pulse signal and the pulse allocation signal when the signal state determination module 416 determines no, where the allocation adjustment signal is used to adjust the pulse allocation signal to adjust the continuous pulse signal.
The apparatus 400 may further include:
the switching value signal acquisition module 420 is connected with the controller 410 and is used for acquiring switching value control signals;
the switching value acquisition module 420 may include: a switching key, a signal interface and a plurality of control keys corresponding to the relay 440 and the terminal device;
the signal interface is used for connecting an external control device to acquire a switching value control signal from the external control device;
outputting a switching value control signal when the control key is pressed;
the switch key is used for controlling the switch value acquisition module 420 to acquire a switch value control signal accessed by the signal interface or a switch value control signal output by the control key.
The apparatus 400 may further include: a plurality of signal distributors 430 and relays 440 corresponding to the terminal devices one by one;
the input pins and the control pins of the signal distributor 460 are respectively connected with the controller 410, and the output pins are respectively connected with the relay 440;
the relay 440 is used to control the power on of the terminal device.
Fig. 5 shows a schematic structural diagram of a control device suitable for implementing embodiments of the present application.
As shown in fig. 5, the control device includes a Central Processing Unit (CPU) 501, which can perform various appropriate actions and processes according to 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 through 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 section 506 including a keyboard, a mouse, and the like; an output portion 507 including a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, and a speaker, and the like; 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 drive 510 is also connected to the I/O interface 505 as needed. 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 needed so that a computer program read therefrom is mounted into the storage section 508 as needed.
In particular, according to embodiments of the present disclosure, the process described above with reference to 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 shown in the flow diagrams. In such an embodiment, the computer program may be downloaded and installed from a network via the communication portion 509, and/or installed from the removable media 511. The above-described functions defined in the system of the present application are performed when the computer program is executed by a Central Processing Unit (CPU) 501.
It should be noted that the computer readable medium shown in the present disclosure may be a computer readable signal medium or a computer readable storage medium, or any combination of the two. The computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any 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 context of this 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 the present disclosure, however, the computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, with the computer-readable program code embodied therein. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. 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 flowcharts 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 may be implemented by hardware. The described units or modules may also be provided in a processor, for example, 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 these units or modules do not in any way limit the units or modules themselves, and for example, the switching signal acquisition module may also be described as "for acquiring switching value control signals sent by external control devices and/or control keys".
As another aspect, the present application also provides a computer-readable storage medium that may be included in the electronic device described in the above embodiments; or may be present alone without being 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 methods described herein.
The foregoing description is only of the preferred embodiments of the present application and is presented as a description of the principles of the technology being utilized. It will be appreciated by persons skilled in the art that the scope of the disclosure referred to in this application is not limited to the specific combinations of features described above, but it is intended to cover other embodiments in which any combination of features described above or equivalents thereof is possible without departing from the spirit of the disclosure. Such as the above-described features and technical features having similar functions (but not limited to) disclosed in the present application are replaced with each other.

Claims (10)

1. A power control method, applied to a controller (410), comprising:
acquiring a switching value control signal, wherein the switching value control signal reflects the operation of controlling the starting of a power supply of terminal equipment;
generating a pulse signal according to the switching value control signal;
determining signal allocation information, transmitting the pulse signal to a plurality of designated signal distributors (430) according to the signal allocation 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 the power supply of the terminal equipment, and the corresponding relation between an output pin of the signal distributor (430) and the relay (430); the pulse distribution signals are used for respectively controlling the plurality of 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 starting of the relay (430) and the power supply of the terminal equipment.
2. The method as recited in claim 1, further comprising:
acquiring the continuous pulse signal;
judging whether the continuous pulse signal is normal or not according to the pulse distribution signal;
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 can not normally perform the pulse signal distribution work.
3. The method of claim 2, wherein after determining whether the continuous pulse signal is normal based on the pulse allocation signal, further comprising:
if not, generating a distribution adjustment signal according to the continuous pulse signal and the pulse distribution signal, wherein the distribution adjustment signal is used for adjusting the pulse distribution signal so as to adjust the continuous pulse signal.
4. A power supply control apparatus characterized by comprising a controller (410), the controller (410) comprising:
a switch signal acquisition module (411) for acquiring a switch value control signal, wherein the switch value control signal reflects the operation of controlling the starting of a power supply of the terminal equipment;
a pulse signal generation 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 transmitting the pulse signal 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 the power supply of the terminal equipment, and the corresponding relation between an output pin of the signal distributor (430) and the relay (430); the pulse distribution signals are used for respectively controlling the plurality of 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 starting of the relay (430) and the power supply of the terminal equipment.
5. The apparatus as recited in 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 or not according to the pulse distribution signal;
and a notification message generating module (417) configured to generate a notification message according to the pulse allocation signal and the continuous pulse signal when the signal state judging module (416) judges no, where the notification message reflects an identification of the signal allocator (430) that cannot normally perform the pulse signal allocation operation.
6. The apparatus as recited in 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 signal state is negative, wherein the distribution adjusting signal is used for adjusting the pulse distribution signal so as to adjust the continuous pulse signal.
7. The apparatus according to 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 signal acquisition module comprises: a switching key, a signal interface and a plurality of control keys corresponding to the relay (430) and the terminal equipment;
the signal interface is used for connecting an external control device to acquire a switching value control signal from the external control device;
outputting the switching value control signal when the control key is pressed;
the switching key is used for controlling the switching value signal acquisition module to acquire a switching value control signal accessed by the signal interface or a switching value control signal output by the control key.
8. The apparatus according to 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, characterized in that the processor, when executing the program, implements the method of any of claims 1 to 3.
10. A computer readable storage medium, on which a computer program is stored, characterized in that the program, when being executed by a processor, implements 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 CN112363606A (en) 2021-02-12
CN112363606B true 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 (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
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

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4094827B2 (en) * 2001-05-29 2008-06-04 矢崎総業株式会社 Drive control device
US10331187B2 (en) * 2017-01-26 2019-06-25 Intel Corporation Selectively controlling power to a connector port
JP2019113933A (en) * 2017-12-21 2019-07-11 キヤノン株式会社 Electronic device, control method in electronic device, and program

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
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
CN112363606A (en) 2021-02-12

Similar Documents

Publication Publication Date Title
US7774424B1 (en) Method of rate snooping in a SAS/SATA environment
CN108650667A (en) Terminal scheduling method and apparatus
CN112165413B (en) Equipment state reporting method and device and electronic device
CN111541762B (en) Data processing method, management server, device and storage medium
WO2022228246A1 (en) Interface circuit, electronic device and communication signal transmission method
CN112363606B (en) Power supply control method, device, electronic equipment and readable storage medium
US9941968B2 (en) Automatic cable distribution switch apparatus and system, and automatic cable distribution switch method
CN106575143A (en) System and method for rack over provisioning and intelligent power management
US20190199854A1 (en) Communication apparatus and communication method
CN112803998A (en) Multi-bus network cross-network communication method, device, system, equipment and storage medium
KR20130009456A (en) Method and apparatus controlling transmition of keep-alive message
WO2023229531A2 (en) Data transmission method and apparatus, terminal, and storage medium
CN110995780A (en) API calling method and device, storage medium and electronic equipment
US20080133955A1 (en) Apparatus, methods and computer program products supporting automatic network identification for power supplies
CN114697339A (en) Load balancing method and device under centralized architecture
CN113993012A (en) Data transmission control method, system, device, electronic equipment and storage medium
CN109818703B (en) Time distribution method, device and system
CN112738053A (en) Video color ring playing method, system, server, network equipment and storage medium
CN113420275A (en) Data connection processing method, related device and computer program product
JP3777809B2 (en) Method for detecting line abnormality in duplex communication system
CN111866622B (en) Reducing power consumption of communication devices
CN113010363A (en) Container monitoring method under swarm cluster and shared service cloud platform
US11032010B1 (en) Methods and apparatus for reducing power consumption in optical devices
JP2002051105A (en) Communication system
JP2978623B2 (en) Network synchronization system

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