CN114384825A - Power supply device control method, device, electronic device and medium - Google Patents

Power supply device control method, device, electronic device and medium Download PDF

Info

Publication number
CN114384825A
CN114384825A CN202210037154.2A CN202210037154A CN114384825A CN 114384825 A CN114384825 A CN 114384825A CN 202210037154 A CN202210037154 A CN 202210037154A CN 114384825 A CN114384825 A CN 114384825A
Authority
CN
China
Prior art keywords
power supply
equipment
target
control
target power
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
CN202210037154.2A
Other languages
Chinese (zh)
Other versions
CN114384825B (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.)
Giga Force Electronics Co ltd
Original Assignee
Giga Force Electronics 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 Giga Force Electronics Co ltd filed Critical Giga Force Electronics Co ltd
Priority to CN202210037154.2A priority Critical patent/CN114384825B/en
Publication of CN114384825A publication Critical patent/CN114384825A/en
Application granted granted Critical
Publication of CN114384825B publication Critical patent/CN114384825B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02MAPPARATUS FOR CONVERSION BETWEEN AC AND AC, BETWEEN AC AND DC, OR BETWEEN DC AND DC, AND FOR USE WITH MAINS OR SIMILAR POWER SUPPLY SYSTEMS; CONVERSION OF DC OR AC INPUT POWER INTO SURGE OUTPUT POWER; CONTROL OR REGULATION THEREOF
    • H02M1/00Details of apparatus for conversion

Landscapes

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

Abstract

The application provides a control method and device of power supply equipment, electronic equipment and a medium. The method comprises the steps that in response to the selection operation of a user on each power supply equipment identifier displayed on a display screen in the power supply control equipment, after an equipment information inquiry instruction is sent to target power supply equipment corresponding to the selected power supply equipment identifier, equipment information of the target power supply equipment, which is sent by the target power supply equipment based on the equipment information inquiry instruction, is received; searching a control file corresponding to target equipment information matched with the received equipment information in a pre-configured equipment directory file; the device directory file comprises the corresponding relation between the device information of different power devices and the control file; and after receiving a standard control command of a user, obtaining a power supply programming instruction for controlling the target power supply equipment based on the control file so as to enable the target power supply equipment to change the working state. The method improves the working efficiency of the power supply equipment and the use experience of a user.

Description

Power supply device control method, device, electronic device and medium
Technical Field
The present disclosure relates to the field of power technologies, and in particular, to a method and an apparatus for controlling a power device, an electronic device, and a medium.
Background
The power supply device is one of the most commonly used devices, and at present, there are many power supply manufacturers and the models of the power supply devices produced by the corresponding manufacturers are also many.
Because the power supply devices of different manufacturers and even the programming interface commands of the power supply devices of different models of the same manufacturer are different, the power supply devices of different manufacturers or different models cannot be controlled by the unified command.
When a user controls the power supply equipment through an external program, the power supply equipment with the corresponding models needs to be researched one by one, and different control commands need to be selected for different power supply equipment, so that the working efficiency of the power supply equipment is seriously influenced, and the use experience of the user on the power supply equipment is reduced.
Disclosure of Invention
An object of the embodiments of the present application is to provide a method and an apparatus for controlling a power supply device, an electronic device, and a medium, so as to solve the above problems in the prior art, and improve the working efficiency of the power supply device and the user experience.
In a first aspect, a method for controlling a power supply device is provided, and the method is applied to the power supply control device and may include:
responding to the selection operation of a user on each power supply equipment identifier displayed on a display screen in the power supply control equipment, and sending an equipment information query instruction to target power supply equipment corresponding to the selected power supply equipment identifier;
receiving the device information of the target power supply device, which is sent by the target power supply device based on the device information inquiry instruction;
searching a control file corresponding to target equipment information matched with the received equipment information in a pre-configured equipment directory file; the equipment directory file comprises the corresponding relation between the equipment information of different power supply equipment and the control file;
after receiving the standard control command of the user, performing instruction conversion processing on the standard control command based on the control file to obtain a power supply programming instruction for controlling the target power supply equipment; the standard control instruction indicates that the working state of the power supply equipment is updated to be a target working state;
and sending the power supply programming instruction to the target power supply device to enable the target power supply device to change the working state.
In an optional implementation, the device information includes a manufacturer identifier and a device model to which the device belongs;
searching a control file corresponding to target equipment information matched with the received equipment information in a pre-configured equipment directory file, wherein the control file comprises the following steps:
matching the manufacturer identification belonging to the received equipment information with various manufacturer identifications in the equipment directory file;
if the matching is successful, acquiring a matched target manufacturer identifier, and searching a target equipment model matched with the equipment model in the received equipment information in the equipment model corresponding to the target manufacturer identifier in the equipment directory file;
and acquiring a control file corresponding to the target equipment model in the equipment directory file.
In an alternative implementation, the control file comprises a conversion text file of different standard control commands and corresponding power supply programming instructions;
based on the control file, performing instruction conversion processing on the standard control command to obtain a power supply programming instruction for controlling the target power supply device, including:
searching a conversion text file corresponding to the standard control command in the conversion text files of the different standard control commands and the corresponding power supply programming instructions;
and performing instruction conversion processing on the standard control command based on the searched conversion text file to obtain a power supply programming instruction for controlling the target power supply equipment.
In an optional implementation, the method further comprises:
acquiring configured power supply parameters of the target power supply equipment;
after sending the power programming instructions to the target power device, the method further comprises:
if the power supply programming instruction is an instruction for controlling the target power supply equipment to update the working state to the power supply state, acquiring the actual output parameters of the target power supply equipment read by analog-to-digital conversion equipment after the target power supply equipment is started;
and if the actual output parameter and the configured power supply parameter meet a preset alarm condition, generating alarm information.
In an alternative implementation, the actual output parameter includes an actual output voltage value and an actual output current value;
the configured power supply parameters comprise a target voltage value and a current limiting value;
if the actual output parameter and the configured power supply parameter meet a preset alarm condition, generating alarm information, including:
and if the actual output voltage value is not consistent with the target voltage value and/or the actual output current value exceeds the current limiting value, generating alarm information.
In an alternative implementation, the configured power supply parameters include a target power-on time and a target power-off time; the method further comprises the following steps:
acquiring actual power-on time and actual power-off time of the target power supply equipment;
and if the difference between the actual power-on time and the target power-on time is greater than a first time length threshold value, and/or the difference between the actual power-off time and the target power-off time is greater than a second time length threshold value, generating alarm information.
In an optional implementation, after generating the alarm information, the method further includes:
controlling the target power supply equipment to update the working state based on the alarm information; or,
and sending the alarm information to a terminal used by the user to indicate whether to control the target power supply equipment to update the working state.
In an optional implementation, obtaining configured power supply parameter criteria of the target power supply device includes:
acquiring power supply parameters configured on the power supply equipment by the user; or,
and acquiring power supply parameters configured by the user to the power supply control equipment through the display screen.
In an optional implementation, if the number of the target power supply devices is multiple, sending the power supply programming instruction to the target power supply device includes:
sending corresponding power supply programming instructions to a plurality of target power supply devices to simultaneously control the target power supply devices to update the working states; the target power supply devices are multiple power supply devices corresponding to the same manufacturer identifier or multiple power supply devices corresponding to various manufacturer identifiers.
In a second aspect, there is provided a control apparatus of a power supply device, which may include:
the sending unit is used for responding to the selection operation of a user on each power supply equipment identifier displayed on a display screen in the power supply control equipment and sending an equipment information query instruction to target power supply equipment corresponding to the selected power supply equipment identifier;
a receiving unit, configured to receive device information of the target power supply device, which is sent by the target power supply device based on the device information query instruction;
the searching unit is used for searching a control file corresponding to the target equipment information matched with the received equipment information in a pre-configured equipment directory file; the equipment directory file comprises the corresponding relation between the equipment information of different power supply equipment and the control file;
the acquisition unit is used for performing instruction conversion processing on the standard control command based on the control file after receiving the standard control command of the user to obtain a power supply programming instruction for controlling the target power supply equipment; the standard control instruction indicates that the working state of the power supply equipment is updated to be a target working state;
the sending unit is further configured to send the power programming instruction to the target power supply device, so that the target power supply device changes an operating state.
In an optional implementation, the device information includes a manufacturer identifier and a device model to which the device belongs; the search unit is specifically configured to:
matching the manufacturer identification belonging to the received equipment information with various manufacturer identifications in the equipment directory file;
if the matching is successful, acquiring a matched target manufacturer identifier, and searching a target equipment model matched with the equipment model in the received equipment information in the equipment model corresponding to the target manufacturer identifier in the equipment directory file;
and acquiring a control file corresponding to the target equipment model in the equipment directory file.
In an alternative implementation, the control file comprises a conversion text file of different standard control commands and corresponding power supply programming instructions; the obtaining unit is specifically configured to:
searching a conversion text file corresponding to the standard control command in the conversion text files of the different standard control commands and the corresponding power supply programming instructions;
and performing instruction conversion processing on the standard control command based on the searched conversion text file to obtain a power supply programming instruction for controlling the target power supply equipment.
In an optional implementation, the apparatus further comprises a generating unit;
the acquisition unit is further configured to acquire the configured power supply parameters of the target power supply device;
if the power supply programming instruction is an instruction for controlling the target power supply equipment to update the working state to the power supply state, acquiring the actual output parameters of the target power supply equipment read by the analog-to-digital conversion equipment after the target power supply equipment is started;
and the generating unit is used for generating alarm information if the actual output parameter and the configured power supply parameter meet a preset alarm condition.
In an alternative implementation, the actual output parameter includes an actual output voltage value and an actual output current value; the configured power supply parameters comprise a target voltage value and a current limiting value;
the generating unit is specifically configured to generate alarm information if the actual output voltage value is inconsistent with the target voltage value and/or the actual output current value exceeds the current limit value;
in an alternative implementation, the configured power supply parameters include a target power-on time and a target power-off time;
the acquiring unit is further configured to acquire an actual power-on time and an actual power-off time of the target power supply device;
the generating unit is further specifically configured to generate alarm information if a difference between the actual power-on time and the target power-on time is greater than a first duration threshold, and/or a difference between the actual power-off time and the target power-off time is greater than a second duration threshold.
In an alternative implementation, after generating the alarm information, the apparatus further comprises a control unit;
the control unit is used for controlling the target power supply equipment to update the working state based on the alarm information; or,
the sending unit is further configured to send the warning information to a terminal used by the user to indicate whether to control the target power supply device to update the working state.
In an optional implementation, the obtaining unit is further specifically configured to: acquiring power supply parameters configured on the power supply equipment by the user; or acquiring power supply parameters configured by the user to the power supply control equipment through the display screen.
In an optional implementation, if the number of the target power supply devices is multiple, the sending unit is specifically configured to send corresponding power supply programming instructions to the multiple target power supply devices, so as to control the multiple target power supply devices to update the operating states at the same time; the target power supply devices are multiple power supply devices corresponding to the same manufacturer identifier or multiple power supply devices corresponding to various manufacturer identifiers.
In a third aspect, an electronic device is provided that includes at least one memory for storing program instructions;
at least one processor, configured to call a program instruction stored in the memory, and implement the method steps of any one of the first aspect when executing a program stored in the memory according to the obtained program instruction.
In a fourth aspect, a computer-readable storage medium is provided, having stored therein a computer program which, when executed by a processor, carries out the method steps of any of the above-mentioned first aspects.
The control method of the power supply equipment responds to the selection operation of a user on each power supply equipment identifier displayed on a display screen in the power supply control equipment, and sends an equipment information query instruction to target power supply equipment corresponding to the selected power supply equipment identifier; receiving device information of the target power supply device, which is sent by the target power supply device based on the device information inquiry instruction; searching a control file corresponding to target equipment information matched with the received equipment information in a pre-configured equipment directory file; the device directory file comprises the corresponding relation between the device information of different power devices and the control file; after a standard control command of a user is received, performing instruction conversion processing on the standard control command based on a control file to obtain a power supply programming instruction of a control target power supply device; the standard control instruction indicates that the working state of the power supply equipment is updated to be a target working state; and sending the power supply programming instruction to the target power supply device to enable the target power supply device to change the working state. The method improves the working efficiency of the power supply equipment and the use experience of a user.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments of the present application will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and that those skilled in the art can also obtain other related drawings based on the drawings without inventive efforts.
Fig. 1 is a system architecture diagram of a control method applied to a power supply device according to an embodiment of the present application;
fig. 2 is a schematic flowchart of a control method of a power supply device according to an embodiment of the present disclosure;
fig. 3 is a schematic structural diagram of a control device of a power supply apparatus according to an embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present application without any creative effort belong to the protection scope of the present application.
The control method of the power supply device provided by the embodiment of the application can be applied to the system shown in fig. 1, and the system can comprise the power supply control device with the display screen and at least one power supply device. The power control device may be provided on a server or a terminal, and if provided on the server, the server may be connected to the terminal having the display screen.
The server can be an application server or a cloud server; the Terminal may be a User Equipment (UE) such as a Mobile phone, a smart phone, a laptop, a digital broadcast receiver, a Personal Digital Assistant (PDA), a tablet computer (PAD), a handheld device, a vehicle-mounted device, a wearable device, a computing device or other processing device connected to a wireless modem, a Mobile Station (MS), a Mobile Terminal (Mobile Terminal), etc.
The power supply control equipment is provided with a display screen and is used for displaying each power supply equipment mark; the method comprises the steps of receiving selection operation of a user on each displayed power supply device identification, sending a device information query instruction to a target power supply device corresponding to the selected power supply device identification, searching a control file corresponding to target device information in a pre-configured device directory file after obtaining the device information of the target power supply device, generating a power supply programming instruction for controlling the target power supply device based on the control file after receiving a standard control command of the user, and sending the power supply programming instruction to the target power supply device.
The power supply equipment is used for sending equipment information of the target power supply equipment based on the equipment information inquiry instruction; and changing the working state of the power supply based on the power supply programming instruction.
The power device may include different device models under various manufacturer identifications (or "brands"), for example, the manufacturer identification and the corresponding device model of the power device may be as shown in table 1.
TABLE 1
Figure BDA0003468384500000081
Furthermore, when the output voltage on the output interface is inconsistent with the set target voltage, a subsequent circuit error is easily caused, however, in some cases, in the existing control method of the power supply device, an engineer cannot directly judge whether the output voltage on the output interface is consistent with the set target voltage, so that the existing control method of the power supply device has potential safety hazards.
Thus, the system further comprises an analog-to-digital conversion device and an alarm device. The analog-to-digital conversion equipment is respectively connected with the power supply control equipment and at least one power supply equipment, and the alarm equipment is connected with the power supply control equipment.
The analog-to-digital conversion equipment is used for reading the actual output parameter of the target power supply equipment at the output port of the target power supply equipment and sending the actual output parameter to the power supply control equipment; the actual output parameters may include an actual output voltage value and an actual output current value.
The analog-to-digital conversion equipment obtains an actual output voltage value and an actual output current value through an analog-to-digital conversion algorithm on the output voltage analog signal and the output current analog signal read by the output port of the target power supply equipment.
The power supply control equipment is also used for verifying whether the received actual output parameters and the configured power supply parameters meet preset alarm conditions; and if not, generating alarm information and sending the alarm information to alarm equipment.
And the warning device is used for sending warning information to a terminal used by a user based on the received warning information so as to indicate whether to control the target power supply device to change the working state.
Or the power supply control equipment automatically controls the target power supply equipment to change the working state based on the generated alarm information, and simultaneously can display the alarm information on the display screen.
The preferred embodiments of the present application will be described below with reference to the accompanying drawings of the specification, it should be understood that the preferred embodiments described herein are merely for illustrating and explaining the present application, and are not intended to limit the present application, and that the embodiments and features of the embodiments in the present application may be combined with each other without conflict.
Fig. 2 is a schematic flowchart of a control method of a power supply device according to an embodiment of the present disclosure. As shown in fig. 2, the method may include:
step S210, the power control device responds to a selection operation of a user on each power device identifier displayed on a display screen in the power control device, and sends a device information query instruction to a target power device corresponding to the selected power device identifier.
Before executing the step, it is necessary to configure a device identifier for each power supply device, where the device identifier may be a control channel identifier of each power supply device, or a sequence number determined according to an addition sequence of the power supply devices, or a circuit identifier of a control circuit of each power supply device, and the application is not limited herein.
After each power supply equipment identifier displayed on the display screen of the power supply control equipment, a user can select the power supply equipment identifier through the display screen based on business requirements. Wherein the user may select at least one power device identification. If a plurality of power device identifiers are selected, the power devices corresponding to the plurality of power device identifiers may be a plurality of power devices corresponding to the same manufacturer identifier, or a plurality of power devices corresponding to various manufacturer identifiers, which is not limited herein.
The power supply control equipment acquires the selection operation of a user on the display screen and at least one selected power supply equipment identifier corresponding to the selection operation.
Then, the power control device sends a device information query instruction to the target power device corresponding to the selected power device identifier, where the device information query instruction may be a general standard query command "× IDN? ", or may be a query instruction in a list of instructions recognizable by a pre-configured device.
Step S220, the target power supply device queries the device information of itself based on the device information query instruction.
After receiving the device information query instruction, the target power supply device queries the device information of itself, namely, the manufacturer identifier, the device model and the like, and feeds back the device information to the power supply control device.
Step S230, the target power supply device transmits its own device information to the power supply control device.
Step S240, the power control device searches for a control file corresponding to the target device information matching the received device information in the pre-configured device directory file.
Before executing the step, the power control device acquires a pre-configured device directory file, which may include correspondence between device information of various power devices and the control file.
Further, since the device information may include manufacturer identifiers and device models, the device directory file includes a plurality of manufacturer identifiers, device models corresponding to the manufacturer identifiers, and control files corresponding to the device models.
Wherein the control file may comprise converted text files of different standard control commands and corresponding power programming instructions. The standard control command is a configured user-oriented control command and is used for indicating that the working state of the updated power supply equipment is a target working state, such as a power supply state and a power failure state; the power supply programming instruction is a configured control instruction facing the power supply equipment and used for instructing the power supply equipment to update the working state to be the target working state.
For example, if the standard control command is used to instruct the power supply device to update the operating state to the power supply state, the corresponding power supply programming instruction is used to instruct the power supply device to update the operating state to the power supply state.
In the specific implementation of the step, the power supply control equipment matches the manufacturer identification belonging to the received equipment information with various manufacturer identifications in an equipment directory file;
and if the matching is successful, acquiring the matched target manufacturer identification, searching the target equipment model matched with the equipment model in the received equipment information in the equipment model corresponding to the target manufacturer identification in the equipment directory file, and acquiring the control file corresponding to the target equipment model in the equipment directory file.
Step S250, after the power control device receives the standard control command of the user, the power control device performs instruction conversion processing on the standard control command based on the control file to obtain the power programming instruction of the control target power device.
In specific implementation, the power supply control equipment searches a conversion text file corresponding to a standard control command in different standard control commands and conversion text files of corresponding power supply programming instructions;
and performing instruction conversion processing on the standard control command based on the searched conversion text file to obtain a power supply programming instruction for controlling the target power supply equipment, namely obtaining the power supply programming instruction capable of enabling the target power supply equipment to operate.
Step S260, the power control device sends a power programming instruction to the target power device.
If the number of the target power supply devices is multiple, the power supply control device can simultaneously send corresponding power supply programming instructions to each target power supply device so as to achieve the purpose of simultaneously controlling the target power supply devices to update the working states.
Step S270, the target power supply device updates its operating state to the target operating state based on the power supply programming instruction.
For example, if the current working state of the target power supply device is the power supply state and the power programming instruction indicates that the current working state is updated to the power off state, the target power supply device updates the current working state from the power supply state to the power off state;
and if the current working state of the target power supply equipment is the power supply state and the power supply programming instruction indicates that the current working state is updated to be the power supply state, the target power supply equipment keeps the current power supply state.
Further, in order to improve the accuracy of power supply and avoid causing power supply failure of the circuit, the power supply control device may further obtain power supply parameters configured for the target power supply device. Specifically, the power control device may obtain a power supply parameter configured by the user directly to the power control device through the display screen. Or, obtaining the power supply parameters configured on the power supply device by the user, that is, reading back the power supply parameter configuration at the power supply device end.
The configured power supply parameters are parameters for ensuring power supply accuracy and power supply safety, and may include power supply parameters such as a target voltage value, a current limiting value, a target power-on time and a target power-off time.
It should be noted that this step may be obtained in the process before the target power supply apparatus is determined in step S210 to step S270.
Then, if the power supply programming instruction is an instruction for controlling the target power supply device to update the working state to the power supply state, acquiring the actual output parameters of the target power supply device read by the analog-to-digital conversion device after the target power supply device is started; and if the actual output parameters and the configured power supply parameters meet the preset alarm conditions, generating alarm information.
The condition that the power control device generates the alarm information at least may include:
in case one, since the actual output parameter may include an actual output voltage value and an actual output current value, the power supply control device may detect whether the actual output voltage value is inconsistent with the target voltage value and whether the actual output current value exceeds the configured current limit value;
and if the actual output voltage value is inconsistent with the target voltage value and/or the actual output current value exceeds the configured current limiting value, generating alarm information.
Specifically, the alarm information generated when the actual output current value exceeds the configured current limit value is determined as the overcurrent alarm information.
The alarm information generated by inconsistency between the actual output voltage value and the target voltage value can be divided into two cases:
(1) the alarm information generated when the actual output voltage value exceeds the target voltage value is determined as overvoltage alarm information;
(2) and determining the alarm information generated when the actual output voltage value does not exceed the target voltage value as the under-voltage alarm information.
In case two, the configured power supply parameters comprise target power-on time and target power-off time; therefore, the power control device can acquire the actual power-on time and the actual power-off time of the target power device;
detecting whether the difference between the actual power-on time and the target power-on time is greater than a first time difference threshold value or not, and whether the difference between the actual power-off time and the target power-off time is greater than a second time difference threshold value or not;
and if the difference between the actual power-on time and the target power-on time is greater than a first time difference threshold value, and/or the difference between the actual power-off time and the target power-off time is greater than a second time difference threshold value, generating alarm information.
Specifically, the alarm information generated when the difference between the actual power-on time and the target power-on time is greater than a first time threshold is determined as power-on delay alarm information;
and determining the alarm information generated when the difference between the actual power-off time and the target power-off time is greater than a second duration threshold value as power-off delay alarm information.
The first time length threshold is the preset maximum time length allowing delayed power-on, and the second time length threshold is the preset maximum time length allowing delayed power-off. The first duration threshold and the second duration threshold may be set according to actual requirements, and the present application is not limited herein.
In some embodiments, the power control device may control the target power device to change the operating state based on the alarm information, that is, to implement the update from the power supply state to the power off state; or sending alarm information to a terminal used by the user, for example, in the form of sending a mail or sending a short message, to indicate whether to control the target power supply device to update the working state, that is, to update the power supply state to the power off state.
Therefore, the above embodiment can avoid causing power supply failure of the circuit by monitoring the actual output parameter of the target power supply device.
The control method of the power supply equipment responds to the selection operation of a user on each power supply equipment identifier displayed on a display screen in the power supply control equipment, and sends an equipment information query instruction to target power supply equipment corresponding to the selected power supply equipment identifier; receiving device information of the target power supply device, which is sent by the target power supply device based on the device information inquiry instruction; searching a control file corresponding to target equipment information matched with the received equipment information in a pre-configured equipment directory file; the device directory file comprises the corresponding relation between the device information of different power devices and the control file; after a standard control command of a user is received, performing instruction conversion processing on the standard control command based on a control file to obtain a power supply programming instruction of a control target power supply device; the standard control instruction indicates that the working state of the power supply equipment is updated to be a target working state; and sending the power supply programming instruction to the target power supply device to enable the target power supply device to change the working state. The method improves the working efficiency of the power supply equipment and the use experience of a user.
Corresponding to the above method, an embodiment of the present application further provides a control device of a power supply apparatus, as shown in fig. 3, the control device of the power supply apparatus includes:
a sending unit 310, configured to send a device information query instruction to a target power device corresponding to a selected power device identifier in response to a user's selection operation on each power device identifier displayed on a display screen in the power control device;
a receiving unit 320, configured to receive device information of the target power supply device, which is sent by the target power supply device based on the device information query instruction;
the searching unit 330 is configured to search a control file corresponding to target device information matched with the received device information in a pre-configured device directory file; the equipment directory file comprises the corresponding relation between the equipment information of different power supply equipment and the control file;
an obtaining unit 340, configured to, after receiving a standard control command of the user, perform instruction conversion processing on the standard control command based on the control file, to obtain a power programming instruction for controlling the target power device; the standard control instruction indicates that the working state of the power supply equipment is updated to be a target working state;
the sending unit 310 is further configured to send the power programming instruction to the target power supply device, so as to cause the target power supply device to change an operating state.
In an optional implementation, the device information includes a manufacturer identifier and a device model to which the device belongs; the search unit 330 is specifically configured to:
matching the manufacturer identification belonging to the received equipment information with various manufacturer identifications in the equipment directory file;
if the matching is successful, acquiring a matched target manufacturer identifier, and searching a target equipment model matched with the equipment model in the received equipment information in the equipment model corresponding to the target manufacturer identifier in the equipment directory file;
and acquiring a control file corresponding to the target equipment model in the equipment directory file.
In an alternative implementation, the control file comprises a conversion text file of different standard control commands and corresponding power supply programming instructions; the obtaining unit 340 is specifically configured to:
searching a conversion text file corresponding to the standard control command in the conversion text files of the different standard control commands and the corresponding power supply programming instructions;
and performing instruction conversion processing on the standard control command based on the searched conversion text file to obtain a power supply programming instruction for controlling the target power supply equipment.
In an optional implementation, the apparatus further comprises a generating unit 350;
the obtaining unit 340 is further configured to obtain configured power supply parameters of the target power supply device;
if the power supply programming instruction is an instruction for controlling the target power supply equipment to update the working state to the power supply state, acquiring the actual output parameters of the target power supply equipment read by the analog-to-digital conversion equipment after the target power supply equipment is started;
a generating unit 350, configured to generate alarm information if the actual output parameter and the configured power supply parameter meet a preset alarm condition.
In an alternative implementation, the actual output parameter includes an actual output voltage value and an actual output current value; the configured power supply parameters comprise a target voltage value and a current limiting value;
the generating unit 350 is specifically configured to generate warning information if the actual output voltage value is not consistent with the target voltage value, and/or the actual output current value exceeds the current limiting value.
In an alternative implementation, the configured power supply parameters include a target power-on time and a target power-off time;
an obtaining unit 340, configured to obtain an actual power-on time and an actual power-off time of the target power supply device;
the generating unit 350 is further specifically configured to generate alarm information if a difference between the actual power-on time and the target power-on time is greater than a first duration threshold, and/or a difference between the actual power-off time and the target power-off time is greater than a second duration threshold.
In an alternative implementation, after generating the alarm information, the apparatus further includes a control unit 360;
the control unit 360 is configured to control the target power supply device to update the working state based on the alarm information; or,
the sending unit 310 is further configured to send the warning information to a terminal used by the user to indicate whether to control the target power supply device to update the operating state.
In an optional implementation, the obtaining unit 340 is further specifically configured to: acquiring power supply parameters configured on the power supply equipment by the user; or acquiring power supply parameters configured by the user to the power supply control equipment through the display screen.
In an optional implementation, if the number of the target power supply devices is multiple, the sending unit 310 is specifically configured to send corresponding power supply programming instructions to the multiple target power supply devices, so as to control the multiple target power supply devices to update the operating states at the same time; the target power supply devices are multiple power supply devices corresponding to the same manufacturer identifier or multiple power supply devices corresponding to various manufacturer identifiers.
The functions of the functional units of the control device of the power supply device provided in the foregoing embodiments of the present application may be implemented by the foregoing method steps, and therefore, detailed working processes and beneficial effects of the units in the control device of the power supply device provided in the embodiments of the present application are not repeated herein.
Based on the above embodiments, referring to fig. 4, a schematic structural diagram of an electronic device in an embodiment of the present application is shown.
An embodiment of the present application provides an electronic device, which may include a processor 410 (CPU), a memory 420, an input device 430, an output device 440, and the like, wherein the input device 430 may include a keyboard, a mouse, a touch screen, and the like, and the output device 440 may include a Display device, such as a Liquid Crystal Display (LCD), a Cathode Ray Tube (CRT), and the like.
Memory 420 may include Read Only Memory (ROM) and Random Access Memory (RAM), and provides processor 410 with program instructions and data stored in memory 420. In the embodiment of the present application, the memory 420 may be used to store a program of a control method of any one of the power supply apparatuses in the embodiment of the present application.
The processor 410 is used for executing the control method of any one of the power supply apparatuses in the embodiments of the present application according to the obtained program instructions by calling the program instructions stored in the memory 420.
Based on the above embodiments, in the embodiments of the present application, there is provided a computer-readable storage medium having stored thereon a computer program that, when executed by a processor, implements a control method of a power supply device in any of the above-described method embodiments.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present application without departing from the spirit and scope of the application. Thus, if such modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is intended to include such modifications and variations as well.

Claims (12)

1. A control method of a power supply device, which is applied to the power supply control device, the method comprises the following steps:
responding to the selection operation of a user on each power supply equipment identifier displayed on a display screen in the power supply control equipment, and sending an equipment information query instruction to target power supply equipment corresponding to the selected power supply equipment identifier;
receiving the device information of the target power supply device, which is sent by the target power supply device based on the device information inquiry instruction;
searching a control file corresponding to target equipment information matched with the received equipment information in a pre-configured equipment directory file; the equipment directory file comprises the corresponding relation between the equipment information of different power supply equipment and the control file;
after receiving the standard control command of the user, performing instruction conversion processing on the standard control command based on the control file to obtain a power supply programming instruction for controlling the target power supply equipment; the standard control instruction is used for indicating that the working state of the power supply equipment is updated to be a target working state;
and sending the power supply programming instruction to the target power supply equipment to enable the target power supply equipment to update the working state.
2. The method of claim 1, wherein the device information includes a vendor identification and a device model number;
searching a control file corresponding to target equipment information matched with the received equipment information in a pre-configured equipment directory file, wherein the control file comprises the following steps:
matching the manufacturer identification belonging to the received equipment information with various manufacturer identifications in the equipment directory file;
if the matching is successful, acquiring a matched target manufacturer identifier, and searching a target equipment model matched with the equipment model in the received equipment information in the equipment model corresponding to the target manufacturer identifier in the equipment directory file;
and acquiring a control file corresponding to the target equipment model in the equipment directory file.
3. The method of claim 1, wherein the control file comprises a conversion text file of different standard control commands and corresponding power programming instructions;
based on the control file, performing instruction conversion processing on the standard control command to obtain a power supply programming instruction for controlling the target power supply device, including:
searching a conversion text file corresponding to the standard control command in the conversion text files of the different standard control commands and the corresponding power supply programming instructions;
and performing instruction conversion processing on the standard control command based on the searched conversion text file to obtain a power supply programming instruction for controlling the target power supply equipment.
4. The method of claim 1, wherein the method further comprises:
acquiring configured power supply parameters of the target power supply equipment;
after sending the power programming instructions to the target power device, the method further comprises:
if the power supply programming instruction is an instruction for controlling the target power supply equipment to update the working state to the power supply state, acquiring the actual output parameters of the target power supply equipment read by analog-to-digital conversion equipment after the target power supply equipment is started;
and if the actual output parameter and the configured power supply parameter meet a preset alarm condition, generating alarm information.
5. The method of claim 4, wherein the actual output parameters include an actual output voltage value and an actual output current value; the configured power supply parameters comprise a target voltage value and a current limiting value;
if the actual output parameter and the configured power supply parameter meet a preset alarm condition, generating alarm information, including:
and if the actual output voltage value is not consistent with the target voltage value and/or the actual output current value exceeds the current limiting value, generating alarm information.
6. The method of claim 4, wherein the configured power supply parameters include a target power-up time and a target power-down time; the method further comprises the following steps:
acquiring actual power-on time and actual power-off time of the target power supply equipment;
and if the difference between the actual power-on time and the target power-on time is greater than a first time length threshold value, and/or the difference between the actual power-off time and the target power-off time is greater than a second time length threshold value, generating alarm information.
7. The method of any one of claims 4-6, wherein after generating the alert information, the method further comprises:
controlling the target power supply equipment to update the working state based on the alarm information; or,
and sending the alarm information to a terminal used by the user to indicate whether to control the target power supply equipment to update the working state.
8. The method of claim 4, wherein obtaining configured power supply parameter criteria for the target power supply device comprises:
acquiring power supply parameters configured on the power supply equipment by the user; or,
and acquiring power supply parameters configured by the user to the power supply control equipment through the display screen.
9. The method of claim 2, wherein if the number of target power devices is multiple, sending the power programming instructions to the target power devices comprises:
sending corresponding power supply programming instructions to a plurality of target power supply devices to simultaneously control the target power supply devices to update the working states; the target power supply devices are multiple power supply devices corresponding to the same manufacturer identifier or multiple power supply devices corresponding to various manufacturer identifiers.
10. A control apparatus of a power supply device, characterized in that the apparatus comprises:
the sending unit is used for responding to the selection operation of a user on each power supply equipment identifier displayed on a display screen in the power supply control equipment and sending an equipment information query instruction to target power supply equipment corresponding to the selected power supply equipment identifier;
a receiving unit, configured to receive device information of the target power supply device, which is sent by the target power supply device based on the device information query instruction;
the searching unit is used for searching a control file corresponding to the target equipment information matched with the received equipment information in a pre-configured equipment directory file; the equipment directory file comprises the corresponding relation between the equipment information of different power supply equipment and the control file;
the acquisition unit is used for performing instruction conversion processing on the standard control command based on the control file after receiving the standard control command of the user to obtain a power supply programming instruction for controlling the target power supply equipment; the standard control instruction indicates that the working state of the power supply equipment is updated to be a target working state;
the sending unit is further configured to send the power programming instruction to the target power supply device, so that the target power supply device changes an operating state.
11. An electronic device, comprising:
at least one memory for storing program instructions;
at least one processor for calling program instructions stored in said memory and for executing the steps of the method of any of the preceding claims 1 to 9 in accordance with the program instructions obtained.
12. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 9.
CN202210037154.2A 2022-01-13 2022-01-13 Control method and device of power supply equipment, electronic equipment and medium Active CN114384825B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210037154.2A CN114384825B (en) 2022-01-13 2022-01-13 Control method and device of power supply equipment, electronic equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210037154.2A CN114384825B (en) 2022-01-13 2022-01-13 Control method and device of power supply equipment, electronic equipment and medium

Publications (2)

Publication Number Publication Date
CN114384825A true CN114384825A (en) 2022-04-22
CN114384825B CN114384825B (en) 2024-01-26

Family

ID=81202116

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210037154.2A Active CN114384825B (en) 2022-01-13 2022-01-13 Control method and device of power supply equipment, electronic equipment and medium

Country Status (1)

Country Link
CN (1) CN114384825B (en)

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1898563A2 (en) * 2006-09-07 2008-03-12 France Telecom Method and system for remotely controlling domestic equipment
CA2728431A1 (en) * 2008-06-20 2009-12-23 Blue Pillar, Inc. Systems, methods, and devices for managing emergency power supply systems
CN106354023A (en) * 2015-07-15 2017-01-25 腾讯科技(深圳)有限公司 Method for controlling terminal device by mobile terminal, mobile terminal and system
US20170160319A1 (en) * 2015-12-07 2017-06-08 Google Inc. Monitoring power status
CN107633053A (en) * 2017-09-19 2018-01-26 联想(北京)有限公司 A kind of file management method, apparatus and system
CN109040336A (en) * 2018-07-17 2018-12-18 格力电器(武汉)有限公司 Method and device for searching tool
WO2019080741A1 (en) * 2017-10-25 2019-05-02 阿里巴巴集团控股有限公司 Data processing method, device, and system
CN109743390A (en) * 2019-01-04 2019-05-10 深圳壹账通智能科技有限公司 Method for scheduling task, device, computer equipment and storage medium
US20200073960A1 (en) * 2018-08-30 2020-03-05 International Business Machines Corporation Automatically Identifying Source Code Relevant to a Task
CN111813283A (en) * 2020-06-12 2020-10-23 北京字节跳动网络技术有限公司 Application file identifier searching method, device, medium and electronic equipment
CN112579877A (en) * 2019-09-30 2021-03-30 北京国双科技有限公司 Information source system control method, device, storage medium and equipment
KR20210036878A (en) * 2020-09-15 2021-04-05 베이징 바이두 넷컴 사이언스 앤 테크놀로지 코., 엘티디. Method and apparatus for pushing information, device and storage medium
CN113127432A (en) * 2021-03-23 2021-07-16 维沃移动通信有限公司 Operation execution method, device, electronic equipment and medium
WO2021238234A1 (en) * 2020-05-29 2021-12-02 苏州浪潮智能科技有限公司 Control method and system for power source, and device and medium

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1898563A2 (en) * 2006-09-07 2008-03-12 France Telecom Method and system for remotely controlling domestic equipment
CA2728431A1 (en) * 2008-06-20 2009-12-23 Blue Pillar, Inc. Systems, methods, and devices for managing emergency power supply systems
CN106354023A (en) * 2015-07-15 2017-01-25 腾讯科技(深圳)有限公司 Method for controlling terminal device by mobile terminal, mobile terminal and system
US20170160319A1 (en) * 2015-12-07 2017-06-08 Google Inc. Monitoring power status
CN107633053A (en) * 2017-09-19 2018-01-26 联想(北京)有限公司 A kind of file management method, apparatus and system
WO2019080741A1 (en) * 2017-10-25 2019-05-02 阿里巴巴集团控股有限公司 Data processing method, device, and system
CN109040336A (en) * 2018-07-17 2018-12-18 格力电器(武汉)有限公司 Method and device for searching tool
US20200073960A1 (en) * 2018-08-30 2020-03-05 International Business Machines Corporation Automatically Identifying Source Code Relevant to a Task
CN109743390A (en) * 2019-01-04 2019-05-10 深圳壹账通智能科技有限公司 Method for scheduling task, device, computer equipment and storage medium
CN112579877A (en) * 2019-09-30 2021-03-30 北京国双科技有限公司 Information source system control method, device, storage medium and equipment
WO2021238234A1 (en) * 2020-05-29 2021-12-02 苏州浪潮智能科技有限公司 Control method and system for power source, and device and medium
CN111813283A (en) * 2020-06-12 2020-10-23 北京字节跳动网络技术有限公司 Application file identifier searching method, device, medium and electronic equipment
KR20210036878A (en) * 2020-09-15 2021-04-05 베이징 바이두 넷컴 사이언스 앤 테크놀로지 코., 엘티디. Method and apparatus for pushing information, device and storage medium
CN113127432A (en) * 2021-03-23 2021-07-16 维沃移动通信有限公司 Operation execution method, device, electronic equipment and medium

Also Published As

Publication number Publication date
CN114384825B (en) 2024-01-26

Similar Documents

Publication Publication Date Title
CN111045901B (en) Container monitoring method and device, storage medium and electronic equipment
CN108388451B (en) Mobile terminal starting method and device and mobile terminal
CN103455330A (en) Application program management method, terminal, equipment and system
CN102647515B (en) Terminal state displaying control method and device
CN105517081A (en) Business processing method and device under hybrid network standard and mobile terminal
CN112579264B (en) Application program jumping method, terminal and computer storage medium
CN113489630A (en) Network distribution method, device, storage medium and electronic terminal
CN110830127B (en) Radio frequency parameter processing method and device, mobile terminal and storage medium
CN109688611B (en) Frequency band parameter configuration method, device, terminal and storage medium
CN111273955A (en) Thermal restoration plug-in optimization method and device, storage medium and electronic equipment
CN110688339B (en) Data transmission method and device, mobile terminal and storage medium
CN114384825B (en) Control method and device of power supply equipment, electronic equipment and medium
CN105577712A (en) File uploading method, file uploading device, and file uploading system
CN111885591A (en) Network connection method, device, storage medium and terminal
CN109348425B (en) Positioning information updating method, device, equipment and storage medium
CN104954231B (en) Method and device for sending and displaying recommendation information
CN114297322A (en) Data processing method, device, terminal and storage medium
CN106506624B (en) Data transmission method and device
CN106294025B (en) Method and device for downloading terminal software
CN111093173B (en) Method and device for limiting starting of STK application
CN109410555A (en) Terminal control method, device, terminal and storage medium
CN105278967B (en) System updating method, device and system of mobile terminal
CN112468952B (en) Positioning method, positioning device, storage medium and electronic equipment
CN111954193B (en) Bluetooth equipment connection detection method and device and mobile terminal
CN111638897B (en) System updating method, device, terminal equipment and storage medium

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
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 200100 Room 101, building 2, No. 258-288, Youdong Road, Minhang District, Shanghai

Applicant after: GIGA FORCE ELECTRONICS CO.,LTD.

Address before: 201203 No. 55, Lane 1505, Zuchongzhi Road, Pudong New Area, Shanghai

Applicant before: GIGA FORCE ELECTRONICS CO.,LTD.

GR01 Patent grant
GR01 Patent grant